|
@@ -386,13 +386,6 @@ init_size: .long INIT_SIZE # kernel initialization size
|
|
|
|
|
|
.section ".entrytext", "ax"
|
|
.section ".entrytext", "ax"
|
|
start_of_setup:
|
|
start_of_setup:
|
|
-#ifdef SAFE_RESET_DISK_CONTROLLER
|
|
|
|
-# Reset the disk controller.
|
|
|
|
- movw $0x0000, %ax # Reset disk controller
|
|
|
|
- movb $0x80, %dl # All disks
|
|
|
|
- int $0x13
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
# Force %es = %ds
|
|
# Force %es = %ds
|
|
movw %ds, %ax
|
|
movw %ds, %ax
|
|
movw %ax, %es
|
|
movw %ax, %es
|