ups... forgot to "Reply to all..." forwarding to list
---------- Forwarded message ---------- From: Pattrick Hueper phueper@hueper.net Date: Wed, Dec 17, 2008 at 11:33 AM Subject: Re: [coreboot] SeaBIOS and boot of SATA raid card To: Kevin O'Connor kevin@koconnor.net
On Wed, Dec 17, 2008 at 6:30 AM, Kevin O'Connor kevin@koconnor.net wrote:
Hi Ruik!
The simple way to do this (reload the ebda_seg from the bda) on every access is going to lead to terrible code generation. It may be simpler to implement the Post Memory Manager (PMM) interface - in theory, an option rom shouldn't relocate the ebda if it can allocate memory via PMM. Another possibility would be to assign a segment to the current ebda location (eg, fs/gs) at every entry to the C code.
for YABEL i have done PMM handling while working for IBM, however, that code was not open sourced.. if it helps, i can try to come up with the code for YABEL again, maybe it is portable to SEABIOS?
Patty