[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GRUB 0.97 stage2/asm.S/prot_to_real undoes Big Real/Flat/Unreal Mode?
From: |
Roger C. Pao (Enmotus) |
Subject: |
GRUB 0.97 stage2/asm.S/prot_to_real undoes Big Real/Flat/Unreal Mode? |
Date: |
Tue, 08 May 2012 15:05:48 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
I'm writing an INT 13h Option ROM for an AHCI-like PCIe adapter. I've
noticed that after prot_to_real is called, My INT 13h no longer has
access to addresses like es=0:edi=00067BB4.
How do I regain access to the AHCI BAR (ABAR), located above the 1 MB
line, now that GRUB put the CPU into 20-bit/1-MB real mode? There are
no I/O ports on this card.
PCI Firmware 3.0 states the CPU will be in Big Real Mode and A20 will be
gated. It was until GRUB changed the CPU mode.
--
rcpao.enmotus
- GRUB 0.97 stage2/asm.S/prot_to_real undoes Big Real/Flat/Unreal Mode?,
Roger C. Pao (Enmotus) <=