Changeset d764ddc in mainline
- Timestamp:
- 2006-03-16T12:12:58Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2ba7810
- Parents:
- b6b576c
- Location:
- arch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/src/boot/boot.S
rb6b576c rd764ddc 152 152 movl %ecx, e801memorysize 153 153 154 bt $3, %eax # mbi->flags[3] (mods_count, mods_addr valid) 154 bt $3, %eax # mbi->flags[3] (mods_count, mods_addr valid) 155 155 jc mods_valid 156 156 157 157 xorl %ecx, %ecx 158 xorl %edx, %edx159 jmp mods_ invalid158 movl %ecx, init 159 jmp mods_end 160 160 161 161 mods_valid: 162 163 xorq %rcx, %rcx 162 164 movl 20(%ebx), %ecx # mbi->mods_count 165 movl %ecx, init 166 163 167 cmpl $0, %ecx 164 je mods_invalid 165 166 xorq %rdx, %rdx 167 movq %rdx, %rcx 168 je mods_end 169 168 170 movl 24(%ebx), %esi # mbi->mods_addr 169 movl 0(%esi), %edx # mods->mod_start 170 movl 4(%esi), %ecx # mods->mod_end 171 subl %edx, %ecx 172 addq $0xffffffff80000000, %rdx 173 174 mods_invalid: 175 # movq %rcx, init_size 176 # movq %rdx, init_addr 171 movq $init, %rdi 172 173 mods_loop: 174 175 xorq %rdx, %rdx 176 movl 0(%esi), %edx # mods->mod_start 177 addq $0xffffffff80000000, %rdx 178 movq %rdx, 4(%rdi) 179 180 xorq %rdx, %rdx 181 movl 4(%esi), %edx 182 subl 0(%esi), %edx # mods->mod_end - mods->mod_start 183 movq %rdx, 12(%rdi) 184 185 addl $16, %esi 186 addq $16, %rdi 187 188 loop mods_loop 189 190 mods_end: 177 191 178 192 bt $6, %eax # mbi->flags[6] (mmap_length, mmap_addr valid) -
arch/ia64/src/ia64.c
rb6b576c rd764ddc 51 51 ski_init_console(); 52 52 it_init(); 53 config.init_addr = INIT_ADDRESS; 54 config.init_size = INIT_SIZE; 53 54 /* Setup usermode */ 55 init.cnt = 1; 56 init.tasks[0].addr = INIT_ADDRESS; 57 init.tasks[0].size = INIT_SIZE; 55 58 } 56 59
Note:
See TracChangeset
for help on using the changeset viewer.