Kernel Loader: Difference between revisions

Line 294: Line 294:
</pre>
</pre>


== KInitialPageTable::Initialize ==
== KInitialPageTable::KInitialPageTable ==


NOTE: This function is inferred (as it sets presumably private members).
NOTE: This constructor is inferred (as it sets presumably private members).


<pre>
<pre>
void KInitialPageTable::Initialize(KInitialPageAllocator *allocator) {
KInitialPageTable::KInitialPageTable (KInitialPageAllocator *allocator) {
     this->l1_table_ptr = allocator->Allocate();
     this->l1_table_ptr = allocator->Allocate();
     memset(this->l1_table_ptr, 0, 0x1000);
     memset(this->l1_table_ptr, 0, 0x1000);