diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2010-10-07 20:03:21 +1100 |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2010-10-07 20:03:21 +1100 |
commit | 8ffb2e8f3365d9b80e8f7e5b7c0130b875e3b899 (patch) | |
tree | e30b526bd603e0b608ee3feadcf83e7d8049e2ab /arch/i386/cpu/start16.S | |
parent | 59c6d0ef9af5fe0daf1b95992d061a10b33e23d4 (diff) | |
download | bootable_bootloader_goldelico_gta04-8ffb2e8f3365d9b80e8f7e5b7c0130b875e3b899.zip bootable_bootloader_goldelico_gta04-8ffb2e8f3365d9b80e8f7e5b7c0130b875e3b899.tar.gz bootable_bootloader_goldelico_gta04-8ffb2e8f3365d9b80e8f7e5b7c0130b875e3b899.tar.bz2 |
x86: Coding Style Cleanup
Perform some basic code cleanups of the x86 files
Diffstat (limited to 'arch/i386/cpu/start16.S')
-rw-r--r-- | arch/i386/cpu/start16.S | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/i386/cpu/start16.S b/arch/i386/cpu/start16.S index ebe5835..2a5cca9 100644 --- a/arch/i386/cpu/start16.S +++ b/arch/i386/cpu/start16.S @@ -31,7 +31,8 @@ .code16 .globl start16 start16: - /* First we let the BSP do some early initialization + /* + * First we let the BSP do some early initialization * this code have to map the flash to its final position */ mov $board_init16_ret, %bp @@ -40,7 +41,7 @@ board_init16_ret: /* Turn of cache (this might require a 486-class CPU) */ movl %cr0, %eax - orl $0x60000000,%eax + orl $0x60000000, %eax movl %eax, %cr0 wbinvd @@ -50,7 +51,7 @@ o32 cs lgdt gdt_ptr /* Now, we enter protected mode */ movl %cr0, %eax - orl $1,%eax + orl $1, %eax movl %eax, %cr0 /* Flush the prefetch queue */ @@ -61,7 +62,7 @@ ff: /* Finally jump to the 32bit initialization code */ movw $code32start, %ax - movw %ax,%bp + movw %ax, %bp o32 cs ljmp *(%bp) /* 48-bit far pointer */ |