For Programmers: Free Programming Magazines  


Home > Archive > Shareware Programming > March 2008 > How to detect EFI and get the EFI memory map?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to detect EFI and get the EFI memory map?
whodunit

2008-03-22, 3:56 am

From a pre-OS environment, meaning immediately after BIOS POST, what is the
method to detect an EFI enabled BIOS, and to get the EFI memory map as
opposed to the BIOS E820 memory map? The problem I am running into is that
the E820 map lists some portions of memory as user accessible, but as soon
as I write to them I get protection errors. My suspicion is that EFI has
data storage in these particular areas and that EFI would have told me these
areas are reserved. How would I go about accessing the EFI routines to get
an EFI map, before any OS loader?

Thanks,


Varghese Mathew

2008-03-22, 6:56 pm

whodunit wrote:
> From a pre-OS environment, meaning immediately after BIOS POST, what is the
> method to detect an EFI enabled BIOS, and to get the EFI memory map as
> opposed to the BIOS E820 memory map? The problem I am running into is that
> the E820 map lists some portions of memory as user accessible, but as soon
> as I write to them I get protection errors. My suspicion is that EFI has
> data storage in these particular areas and that EFI would have told me these
> areas are reserved. How would I go about accessing the EFI routines to get
> an EFI map, before any OS loader?
>
> Thanks,
>
>

you might get better help from alt.os.development
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com