outb() and ddi_put8() functions from user context

dear all, the man pages for both outb() and ddi_put8() say:"These functions may be called from user or interrupt context"Question: If I want to call them from user context: which library doI have to link with my executable ?cheers,julien
[286 byte] By [julien] at [2007-11-26 10:57:37]
# 1

Hello.

I think "user context" does not mean calling from an executable file.

"User context" means that the functions can be called when the driver is called from a system call (e.g. ioctl) in contrast to interrupt service routines which are called by the OS.

Sparc machines do not allow something like iopl() in Linux while x86 would allow that when writing a special driver for that.

Martin

Martin_Rosenau at 2007-7-7 3:10:58 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...