diff options
Diffstat (limited to 'arch/x86_64/boot/setup.S')
-rw-r--r-- | arch/x86_64/boot/setup.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/boot/setup.S b/arch/x86_64/boot/setup.S index 3e838be9dbe7..75d4d2ad93b3 100644 --- a/arch/x86_64/boot/setup.S +++ b/arch/x86_64/boot/setup.S | |||
@@ -160,7 +160,7 @@ ramdisk_max: .long 0xffffffff | |||
160 | trampoline: call start_of_setup | 160 | trampoline: call start_of_setup |
161 | .align 16 | 161 | .align 16 |
162 | # The offset at this point is 0x240 | 162 | # The offset at this point is 0x240 |
163 | .space (0x7ff-0x240+1) # E820 & EDD space (ending at 0x7ff) | 163 | .space (0xeff-0x240+1) # E820 & EDD space (ending at 0xeff) |
164 | # End of setup header ##################################################### | 164 | # End of setup header ##################################################### |
165 | 165 | ||
166 | start_of_setup: | 166 | start_of_setup: |
@@ -412,9 +412,9 @@ jmpe820: | |||
412 | # sizeof(e820rec). | 412 | # sizeof(e820rec). |
413 | # | 413 | # |
414 | good820: | 414 | good820: |
415 | movb (E820NR), %al # up to 32 entries | 415 | movb (E820NR), %al # up to 128 entries |
416 | cmpb $E820MAX, %al | 416 | cmpb $E820MAX, %al |
417 | jnl bail820 | 417 | jae bail820 |
418 | 418 | ||
419 | incb (E820NR) | 419 | incb (E820NR) |
420 | movw %di, %ax | 420 | movw %di, %ax |