Changeset 9d5e23c in mainline for arch/amd64/src/mm/page.c
- Timestamp:
- 2005-12-07T23:52:25Z (19 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/amd64/src/mm/page.c
rf62355a r9d5e23c 36 36 #include <memstr.h> 37 37 38 __address bootstrap_dba;38 static __address bootstrap_dba; 39 39 40 40 void page_arch_init(void) … … 60 60 } 61 61 else { 62 /* 63 * Application processors need to create their own view of the 64 * virtual address space. Because of that, each AP copies 65 * already-initialized paging information from the bootstrap 66 * processor and adjusts it to fulfill its needs. 67 */ 68 69 dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME); 70 memcpy((void *)dba, (void *)bootstrap_dba , PAGE_SIZE); 71 write_cr3(KA2PA(dba)); 62 write_cr3(KA2PA(bootstrap_dba)); 72 63 } 73 64 }
Note:
See TracChangeset
for help on using the changeset viewer.