Changeset 20d50a1 in mainline for arch/amd64
- Timestamp:
- 2006-01-13T13:02:45Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f9425006
- Parents:
- 0369911
- Location:
- arch/amd64
- Files:
-
- 2 edited
- 1 moved
-
include/mm/as.h (moved) (moved from arch/amd64/include/mm/vm.h ) (2 diffs)
-
src/interrupt.c (modified) (2 diffs)
-
src/userspace.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/include/mm/as.h
r0369911 r20d50a1 27 27 */ 28 28 29 #ifndef __amd64_ VM_H__30 #define __amd64_ VM_H__29 #ifndef __amd64_AS_H__ 30 #define __amd64_AS_H__ 31 31 32 32 #include <arch/types.h> … … 41 41 #define UDATA_ADDRESS_ARCH 0x21000000 42 42 43 #define vm_install_arch(vm)43 #define as_install_arch(as) 44 44 45 45 #endif -
arch/amd64/src/interrupt.c
r0369911 r20d50a1 36 36 #include <arch/asm.h> 37 37 #include <mm/tlb.h> 38 #include <mm/as.h> 38 39 #include <arch.h> 39 40 #include <symtab.h> … … 125 126 } 126 127 127 128 129 128 void page_fault(int n, void *stack) 130 129 { 131 print_info_errcode(n,stack); 132 printf("Page fault address: %Q\n", read_cr2()); 133 panic("page fault\n"); 130 __address page; 131 132 page = read_cr2(); 133 if (!as_page_fault(page)) { 134 print_info_errcode(n,stack); 135 printf("Page fault address: %Q\n", page); 136 panic("page fault\n"); 137 } 134 138 } 135 139 -
arch/amd64/src/userspace.c
r0369911 r20d50a1 32 32 #include <arch.h> 33 33 #include <proc/thread.h> 34 #include <mm/ vm.h>34 #include <mm/as.h> 35 35 36 36
Note:
See TracChangeset
for help on using the changeset viewer.
