Difference between revisions of "KHeapChunkHeader"

From 3dbrew
Jump to navigation Jump to search
(Undo revision 13380 by Neobrain (talk) Stop vandalising the wiki please)
m (Clean up redundant wiki pages -- there's already another one with the same content. If you're unhappy, at least fixup things properly.)
Line 1: Line 1:
[[Category:Kernel objects]]
 
{{stub}}
 
memchunkhdr = a data structure describing chunks of memory allocated by the ARM11 kernel.
 
  
Here is some code describing the layout of a memory chunk header.
 
 
    struct MemoryChunkHeader {
 
        int num_pages; // size of this chunk in terms of small pages
 
        void* next;
 
        void* prev;
 
        int unk1;
 
        int unk2;
 
    };
 
 
The "next" and "prev" members are used to implement a linked-list. In fact, chances are this is actually a kernel object inherited from [[KLinkedList]].
 

Revision as of 13:12, 27 September 2015