On 05/19/2011 07:32 PM, Anthony Liguori wrote:
Think of how a window manager folds windows with priorities onto a flat
framebuffer.

You do a depth-first walk of the tree. For each child list, you iterate
it from the lowest to highest priority, allowing later subregions
override earlier subregions.



Okay, but this doesn't explain how you'll let RAM override the VGA mapping since RAM is not represented in the same child list as VGA (RAM is a child of the PMC whereas VGA is a child of ISA/PCI, both of which are at least one level removed from the PMC).

VGA will override RAM.

Memory controller
 |
 +-- RAM container (prio 0)
 |
 +-- PCI container (prio 1)
      |
      +--- vga window


--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


Reply via email to