Hi,
Are ES:EDI registers being replaced by
EFI_PLATFORM_TO_DRIVER_CONFIGURATION_PROTOCOL?
Thanks,
Pankaj
From: Andrew Fish [mailto:[email protected]]
Sent: Monday, April 14, 2014 8:50 PM
To: [email protected]
Subject: Re: [edk2] CLP Strings
On Apr 14, 2014, at 12:02 AM, Nagrale, Pankaj
<[email protected]<mailto:[email protected]>> wrote:
Hi,
We are implementing CLP string support through
EFI_PLATFORM_TO_DRIVER_CONFIGURATION_PROTOCOL in our UEFI driver.
We would like to know if the UEFI driver space can access the below registers.
For IA32 and X64 processor bindings it is possible to access the segment and
general purpose registers. This is not possible for ARM and Itanium processors.
[ES:EDI] Pointer to NULL-terminated SM CLP Command Line string buffer
[DS:ESI] Pointer to SM CLP Command Response string buffer
But the interfaces you ask about don't just require register access they
required a legacy BIOS present and this is not a safe assumption to make.
Nothing in EFI requires the legacy BIOS to be present. It may happen to be
present on your test system, but not present on other systems you need to run
on.
On ab X64 (or IA32) system you will have to thunk into big-real (16-bit) mode
to make the call. But again assuming a legacy BIOS exists is not a good
assumption in EFI.
Can the fields, CHAR8 * CLPCommand, CHAR8 * CLPReturnString of
EFI_CONFIGURE_CLP_PARAMETER_BLK structure be used for accessing these registers.
Thanks,
Pankaj
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech_______________________________________________
edk2-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel