diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-06-06 13:49:33 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-06-06 13:49:33 -0400 |
commit | 43197a2aec677333797aebdfb5f5429875ba6901 (patch) | |
tree | daa25068263ec0dd68653299140eb49f0a90b949 /src/boot.c | |
parent | 5438c8f55a4be8500ea8b7f218c97857f8a98e19 (diff) | |
download | seabios-43197a2aec677333797aebdfb5f5429875ba6901.tar.gz |
Abstract reset call (and possible 16bit mode switch) into reset() function.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/boot.c')
-rw-r--r-- | src/boot.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -689,10 +689,7 @@ boot_fail(void) yield_toirq(); } printf("Rebooting.\n"); - struct bregs br; - memset(&br, 0, sizeof(br)); - br.code = SEGOFF(SEG_BIOS, (u32)reset_vector); - farcall16big(&br); + reset(); } // Determine next boot method and attempt a boot using it. |