Changeset 9d5e23c in mainline for arch/ia32/src/mm/page.c
- Timestamp:
- 2005-12-07T23:52:25Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ac0cb2a
- Parents:
- f62355a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/mm/page.c
rf62355a r9d5e23c 41 41 #include <print.h> 42 42 43 __address bootstrap_dba;43 static __address bootstrap_dba; 44 44 45 45 void page_arch_init(void) … … 64 64 } 65 65 else { 66 /* 67 * Application processors need to create their own view of the 68 * virtual address space. Because of that, each AP copies 69 * already-initialized paging information from the bootstrap 70 * processor and adjusts it to fulfill its needs. 71 */ 72 73 dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME); 74 memcpy((void *)dba, (void *)bootstrap_dba , PAGE_SIZE); 75 write_cr3(KA2PA(dba)); 66 write_cr3(KA2PA(bootstrap_dba)); 76 67 } 77 68
Note:
See TracChangeset
for help on using the changeset viewer.