Changeset 18e0a6c in mainline for arch/ia32/src/mm/page.c
- Timestamp:
- 2005-06-09T23:43:45Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 74df77d
- Parents:
- d896525
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/mm/page.c
rd896525 r18e0a6c 70 70 71 71 trap_register(14, page_fault); 72 cpu_write_dba(KA2PA(dba));72 write_cr3(KA2PA(dba)); 73 73 } 74 74 else { … … 82 82 dba = frame_alloc(FRAME_KA | FRAME_PANIC); 83 83 memcopy(bootstrap_dba, dba, PAGE_SIZE); 84 cpu_write_dba(KA2PA(dba));84 write_cr3(KA2PA(dba)); 85 85 } 86 86 … … 108 108 109 109 if (root) dba = root; 110 else dba = cpu_read_dba();110 else dba = read_cr3(); 111 111 112 112 pde = page >> 22; /* page directory entry */
Note:
See TracChangeset
for help on using the changeset viewer.