Changeset fc1e4f6 in mainline for arch/ia32/src
- Timestamp:
- 2006-01-31T00:44:08Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ef67bab
- Parents:
- 6a3c9a7
- Location:
- arch/ia32/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/drivers/ega.c
r6a3c9a7 rfc1e4f6 30 30 #include <putchar.h> 31 31 #include <mm/page.h> 32 #include <mm/as id.h>32 #include <mm/as.h> 33 33 #include <arch/mm/page.h> 34 34 #include <synch/spinlock.h> … … 60 60 __u8 hi, lo; 61 61 62 page_mapping_insert( PA2KA(VIDEORAM), ASID_KERNEL, VIDEORAM, PAGE_NOT_CACHEABLE, 0);62 page_mapping_insert(AS_KERNEL, PA2KA(VIDEORAM), VIDEORAM, PAGE_NOT_CACHEABLE, 0); 63 63 outb(0x3d4,0xe); 64 64 hi = inb(0x3d5); -
arch/ia32/src/mm/page.c
r6a3c9a7 rfc1e4f6 32 32 #include <mm/frame.h> 33 33 #include <mm/page.h> 34 #include <mm/as id.h>34 #include <mm/as.h> 35 35 #include <arch/types.h> 36 36 #include <config.h> … … 62 62 */ 63 63 for (cur = 0; cur < last_frame; cur += FRAME_SIZE) 64 page_mapping_insert( PA2KA(cur), ASID_KERNEL, cur, PAGE_CACHEABLE, KA2PA(dba));64 page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, PAGE_CACHEABLE, KA2PA(dba)); 65 65 66 66 exc_register(14, "page_fault", page_fault); -
arch/ia32/src/smp/smp.c
r6a3c9a7 rfc1e4f6 45 45 #include <mm/page.h> 46 46 #include <mm/heap.h> 47 #include <mm/as id.h>47 #include <mm/as.h> 48 48 #include <print.h> 49 49 #include <memstr.h> … … 66 66 67 67 if (config.cpu_count > 1) { 68 page_mapping_insert( (__address)l_apic, ASID_KERNEL, (__address)l_apic,68 page_mapping_insert(AS_KERNEL, (__address) l_apic, (__address) l_apic, 69 69 PAGE_NOT_CACHEABLE, 0); 70 page_mapping_insert((__address) io_apic, ASID_KERNEL, 71 (__address) io_apic, 70 page_mapping_insert(AS_KERNEL, (__address) io_apic, (__address) io_apic, 72 71 PAGE_NOT_CACHEABLE, 0); 73 72 }
Note:
See TracChangeset
for help on using the changeset viewer.
