aboutsummaryrefslogtreecommitdiff
path: root/src/boot.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-03-12 20:57:08 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-03-12 20:57:08 -0400
commit63ccc13b70190d0079f40b369e6c8ab81737f62b (patch)
treefadcf9d98788d3a2d9017c2d7d34d42c6deed27b /src/boot.c
parent74799df6e977ffb14a2569e40fd19d262e84b0bb (diff)
downloadseabios-hppa-63ccc13b70190d0079f40b369e6c8ab81737f62b.zip
seabios-hppa-63ccc13b70190d0079f40b369e6c8ab81737f62b.tar.gz
seabios-hppa-63ccc13b70190d0079f40b369e6c8ab81737f62b.tar.bz2
Move ata_detect call to 32bit code.
It's more natural to call the detect code from post. It does require some of the ATA support code be compiled in twice (once in 32bit mode and once in 16 bit), however that only leads to a small increase in total C code (~250 bytes).
Diffstat (limited to 'src/boot.c')
-rw-r--r--src/boot.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/boot.c b/src/boot.c
index c75bc1b..c1968a5 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -206,14 +206,3 @@ handle_19()
debug_enter(NULL);
do_boot(0);
}
-
-// Called from 32bit code - start boot process
-void VISIBLE16
-begin_boot()
-{
- if (CONFIG_ATA)
- ata_detect();
- struct bregs br;
- memset(&br, 0, sizeof(br));
- call16_int(0x19, &br);
-}