Changeset 51029384 in mainline
- Timestamp:
- 2005-07-20T13:56:18Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b5eb1ee
- Parents:
- 121dab5
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/include/mm/page.h
r121dab5 r51029384 106 106 p->page_cache_disable = !(flags & PAGE_CACHEABLE); 107 107 p->present = !(flags & PAGE_NOT_PRESENT); 108 p->uaccessible = flags & PAGE_USER;109 p->writeable = flags & PAGE_WRITE;108 p->uaccessible = (flags & PAGE_USER) != 0; 109 p->writeable = (flags & PAGE_WRITE) != 0; 110 110 } 111 111 -
arch/mips/include/mm/page.h
r121dab5 r51029384 102 102 pte_t *p = &pt[i]; 103 103 104 p->c = (flags & PAGE_CACHEABLE) ? PAGE_CACHEABLE_EXC_WRITE : PAGE_UNCACHED;104 p->c = (flags & PAGE_CACHEABLE) != 0 ? PAGE_CACHEABLE_EXC_WRITE : PAGE_UNCACHED; 105 105 p->v = !(flags & PAGE_NOT_PRESENT); 106 p->d = flags & PAGE_WRITE;106 p->d = (flags & PAGE_WRITE) != 0; 107 107 } 108 108 -
src/Makefile.config
r121dab5 r51029384 18 18 19 19 # Uncomment if you want to compile in userspace support 20 #USERSPACE=__USERSPACE__20 USERSPACE=__USERSPACE__ 21 21 22 22 # Uncomment if you want to run in the test mode -
src/main/kinit.c
r121dab5 r51029384 131 131 a = vm_area_create(m, VMA_TEXT, 1, UTEXT_ADDRESS); 132 132 if (!a) panic("vm_area_create: vm_text"); 133 memcopy((__address) utext, PA2KA(a->mapping[0]), utext_size < PAGE_SIZE ? utext_size : PAGE_SIZE); 133 memcopy((__address) utext, PA2KA(a->mapping[0]), utext_size < PAGE_SIZE ? utext_size : PAGE_SIZE); 134 134 135 135 /*
Note:
See TracChangeset
for help on using the changeset viewer.