lkml.org 
[lkml]   [1998]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectChange mode to kernel?
Is it possible for user code to change to kernel mode and back?  Or is
that something that only VMS can do? :)

I want to write a simple device driver that doesn't require IRQs or DMAs,
and I'd rather not do the dirty part as a kernel module. Certain I/O
operations need to be atomic to avoid races with other code tweaking the
same hardware. I understand (possibly incorrectly) that it isn't safe
(or possible) to disable IRQs in userland...

What's the best approach?

Thanks in advance,

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:1.009 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site