[LinuxBIOS] [PATCH] [ADLO] Booting Windows XP and Windows 2000
Tom Sylla
tsylla at gmail.com
Sun Aug 5 21:59:51 CEST 2007
Has anyone actually installed and/or booted WinXP on real hardware with
these changes?
Augusto Pedroza wrote:
> My fault, I forgot to attach it, Sorry guys!!
> Signed-off-by: Augusto Pedroza <augusto.pedroza at gmail.com>
>
> Index: util/ADLO/loader.s
> ===================================================================
> --- util/ADLO/loader.s (revision 2739)
> +++ util/ADLO/loader.s (working copy)
> @@ -177,10 +177,10 @@
> ; 0x02 - hdd
> ; In future there will be 'fd failover'option in bochs.
>
> -mov al, #0x3d ;; cmos_reg
> -out 0x70, al
> -mov al, #0x02 ;; val (hdd)
> -out 0x71, al
> +;mov al, #0x3d ;; cmos_reg
> +;out 0x70, al
> +;mov al, #0x02 ;; val (hdd)
> +;out 0x71, al
>
> ;-----------------------------------------------------
> ; IV) tell BOCHS' BIOS length of our mem block @ 1mb.
> Index: util/ADLO/bochs/bios/rombios.c
> ===================================================================
> --- util/ADLO/bochs/bios/rombios.c (revision 2739)
> +++ util/ADLO/bochs/bios/rombios.c (working copy)
> @@ -147,7 +147,7 @@
> #define LINUXBIOS 1
>
> #define BX_USE_ATADRV 1
> -//#define BX_ELTORITO_BOOT 1
> +#define BX_ELTORITO_BOOT 1
>
> #define BX_MAX_ATA_INTERFACES 4
> #define BX_MAX_ATA_DEVICES (BX_MAX_ATA_INTERFACES*2)
>
More information about the coreboot
mailing list