diff options
author | Michael Brown | 2015-04-20 18:04:45 +0200 |
---|---|---|
committer | Michael Brown | 2015-04-20 22:30:12 +0200 |
commit | 29edf9c4d25889feab1db4c5d5c84a3af976a58e (patch) | |
tree | d62dac4e7f37e7c2c167c2e4eb434539d5943aa3 | |
parent | [build] Allow sufficient stack space for memsize_e820() (diff) | |
download | memtest86-29edf9c4d25889feab1db4c5d5c84a3af976a58e.tar.gz memtest86-29edf9c4d25889feab1db4c5d5c84a3af976a58e.tar.xz memtest86-29edf9c4d25889feab1db4c5d5c84a3af976a58e.zip |
[setup] Revert unused SMP code
This code was added in the transition from memtest86+ 4.20 to 5.01.
The comment states that the code exists because "the APs also execute
this code", but this is incorrect; the APs start executing at the
trampoline code in head.S and do not ever reach any code in setup.S.
Remove this code, since it seems to serve no purpose and complicates
adding support for building the memtest.0 PXE NBP.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r-- | setup.S | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -22,16 +22,6 @@ start: outb %al, $0x70 # The system will move itself to its rightful place. -# reload the segment registers and the stack since the -# APs also execute this code -#ljmp $INITSEG, $(reload - start + 0x200) -reload: - movw $INITSEG, %ax - movw %ax, %ds - movw %ax, %es - movw %ax, %fs - movw %ax, %ss # reset the stack to INITSEG:0x4000-12. - movw %dx, %sp push %cs pop %ds lidt idt_48 - start # load idt with 0,0 |