i am confused about the function cpu_register_physical_memory_offset().
       in this function, cpu register a segment of GPA to RAM or to a device.  
Now, i want to write two new function ,one is 
cpu_register_physical_memory_offset_to_RAM()  and the other is 
cpu_register_physical_memory_offset_to_device(),in the first function, i divide 
the memory  into pages,and creat a description for each page.Hower, i am 
confuse about the 2nd function.
  
     maybe, we i should think about the subpage init and subpage register.
  
     would you give me some advice?

Reply via email to