Changeset 4c8715d2 in mainline
- Timestamp:
- 2006-02-08T14:09:40Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bc78c75
- Parents:
- 5c3243e
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/src/mips32.c
r5c3243e r4c8715d2 97 97 arc_print_devices(); 98 98 /* Setup usermode...*/ 99 //config.init_addr = INIT_ADDRESS;100 //config.init_size = INIT_SIZE;99 config.init_addr = INIT_ADDRESS; 100 config.init_size = INIT_SIZE; 101 101 } 102 102 … … 127 127 cp0_status_um_bit | 128 128 cp0_status_ie_enabled_bit)); 129 130 129 cp0_epc_write(UTEXT_ADDRESS); 131 130 userspace_asm(USTACK_ADDRESS+PAGE_SIZE); -
generic/src/main/kinit.c
r5c3243e r4c8715d2 73 73 as_area_t *a; 74 74 __address frame; 75 count_t frames;75 pfn_t frames; 76 76 int i; 77 77 task_t *u; … … 166 166 frame = KA2PA(frame); 167 167 168 frames = config.init_size / FRAME_SIZE; 169 if (config.init_size % FRAME_SIZE > 0) 170 frames++; 168 frames = SIZE2PFN(config.init_size); 171 169 172 170 a = as_area_create(as, AS_AREA_TEXT, frames, UTEXT_ADDRESS);
Note:
See TracChangeset
for help on using the changeset viewer.