x86: Misc cleanups

Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
master
Graeme Russ 13 years ago
parent 1cfcf03701
commit 2f0e0cd246
  1. 5
      arch/x86/cpu/start.S

@ -48,7 +48,7 @@ _x86boot_start:
cli cli
cld cld
/* Turn of cache (this might require a 486-class CPU) */ /* Turn off cache (this might require a 486-class CPU) */
movl %cr0, %eax movl %cr0, %eax
orl $(X86_CR0_NW | X86_CR0_CD), %eax orl $(X86_CR0_NW | X86_CR0_CD), %eax
movl %eax, %cr0 movl %eax, %cr0
@ -122,7 +122,8 @@ relocate_code:
/* Jump to in-RAM copy of board_init_r() */ /* Jump to in-RAM copy of board_init_r() */
call *%ebp call *%ebp
die: hlt die:
hlt
jmp die jmp die
hlt hlt

Loading…
Cancel
Save