Khorev Sergey's patch allowing FreeBSD to boot

This commit is contained in:
instinc 2002-04-04 03:50:11 +00:00
parent 767ac9b2dc
commit c2fcfad89b

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: rombios.c,v 1.42 2002-03-28 07:10:18 bdenney Exp $
// $Id: rombios.c,v 1.43 2002-04-04 03:50:11 instinc Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -1043,10 +1043,10 @@ Bit16u cdrom_boot();
#endif // BX_ELTORITO_BOOT
static char bios_cvs_version_string[] = "$Revision: 1.42 $";
static char bios_date_string[] = "$Date: 2002-03-28 07:10:18 $";
static char bios_cvs_version_string[] = "$Revision: 1.43 $";
static char bios_date_string[] = "$Date: 2002-04-04 03:50:11 $";
static char CVSID[] = "$Id: rombios.c,v 1.42 2002-03-28 07:10:18 bdenney Exp $";
static char CVSID[] = "$Id: rombios.c,v 1.43 2002-04-04 03:50:11 instinc Exp $";
/* Offset to skip the CVS $Id: prefix */
#define bios_version_string (CVSID + 4)
@ -9257,9 +9257,9 @@ int19_handler:
je int19_fail
mov dl, bl ;; set drive so guest os find it
mov 4[bp], ax ;; set cs
mov 2[bp], ax ;; set cs
xor ax, ax
mov 2[bp], ax ;; set ip
mov 4[bp], ax ;; set ip
mov [bp], ax ;; set bp
mov ax, #0xaa55 ;; set ok flag