Unix/Linux Go Back    

BSD 2.11 - man page for ucall (bsd section 2)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

UCALL(2)										 UCALL(2)

       ucall - call a kernel subroutine from user mode (2BSD)

       #include <pdp/psl.h>
       #include <sys/types.h>

       ucall(priority, function, arg0, arg1)
       int priority, arg0, arg1;
       caddr_t function;

       Ucall  causes  the processor priority to be set to priority and the specified kernel func-
       tion to be called with arguments arg0 and arg1.	Priority is one of PSL_BR0, ..., PSL_BR7.
       Processor priority is reset to PSL_BR0 when function returns.

       Ucall  is  allowed only if the user is the superuser.  It is obviously extremely dangerous
       if misused.  It's only current use is at system boot time to configure system  devices  by
       calling device drivers ...

       [EPERM]	      The caller is not the super-user.


       No address validations are attempted.

       Ucall is unique to the PDP-11 and 2BSD; its use is discouraged.

3rd Berkeley Distribution		 January 22, 1987				 UCALL(2)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 11:40 AM.