first app load

This commit is contained in:
2026-02-17 11:36:26 +01:00
parent f0bda5f466
commit 6412d8f104
4 changed files with 18 additions and 24 deletions

View File

@@ -58,7 +58,7 @@ extern "C" int main() {
memset(&paging_tree, 0, sizeof(four_lvl_paging_t));
create_basic_page_table(&paging_tree);
load_cr3((void*)&paging_tree.l4);
//load_cr3((void*)&paging_tree.l4);
tout.reset();
tout.setPos(33, 0);
@@ -87,6 +87,7 @@ extern "C" int main() {
// g.vault().scheduler.ready(new Thread(false, p));
//}
g.vault().scheduler.ready(new Thread(false, (void*)0x4001000));
load_cr3((void*)&paging_tree.l4);
//for (uint32_t i = 0; i < NUM_APPS; ++i) {
// g.vault().scheduler.ready(&(apps[i]));