Re: user access to kernel stuff

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 8 Dec 1998 02:45:07 +0000 (GMT)


> - access the HW bypassing the drivers using libraries
> (naively, i guess i map from the kernel and send the mapped address to
> userland? ?)

You can mmap device space into user programs and also on the x86 I/O space.
You can't grab irqs that way

> - allocate a contigious memory and read/write from userland.
> (more genuinely, can i use kernel functions through some???? wrappers?)

No

> if you think that the question is completely crazy, i assure you it is
> not. this is to kick the other oses from embedded systems market.

Two questions

1. Why do you need to bash hardware from user space for this

2. For small embedded systems wouldnt a small rtos be a better choice anyway

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/