[EMAIL PROTECTED] writes:
> I am porting a device driver from vxWorks to Lionux, and it has some
> specific memory needs.  In particular, it needs to use memory from 0x600
> to 0x700, and 0x1000 to 0x1fff.  It's not clear to me yet if Linux is
> using anything in this area that will conflict with the driver's needs.
> It looks like the kernels page tables are at 0x4000.  Will this cause
> problems if I try and reserve the memory ranges above for my driver?

There is nothing special with those memory locations.  Use get_free_page
to be returned the address of a page to use instead of 0x1000, and
kmalloc to allocate the other 256 bytes, which will also return the
address of some memory.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       [EMAIL PROTECTED]      --- ---
  | | | |  http://www.arm.linux.org.uk/~rmk/armlinux.html    /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to