Is there any way to reserve a certain physical address space (say 0x2000 – 0x1000) in linux
i need to reserve it so linux doesn’t use it in any way. it is used by some unrelated co-processor and so must be left unused.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You will have to write a kernel module for that. See Chapter 15 “Memory Mapping and DMA” of “Linux Device Drivers, Third Edition“
[EDIT] You can use the Linux kernel parameter
memmapfor this:Kudos go to Basile Starynkevitch (see comment above)