On Apr 14, 2014, at 12:02 AM, Nagrale, Pankaj <[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]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
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]
https://lists.sourceforge.net/lists/listinfo/edk2-devel