UEFI driver, win8, talking?

Hi,

Learning UEFI, got a basic helloworld EBC BIOS driver working, can load into uefi shell, invoke it’s published protocol interface via an efi application (before booting windows). One of the calls simply return a calls counter (dword).

There is no memory, i/o or IRQ resources allocated to driver and so does not talk to real hardware. Normally I understand that I’d use these mapped resources to communicate or the old real mode s/w interrrupts, INT10,12,13, 21 etc.

How do I query my UEFI protocol interface from Windows 8 and invoke it? It is EBC code not X86. Do I have to write a WDF driver to support this UEFI bios driver? If so can it be UMDF?

Anything to get me going would be much appreciated.

Regards,

dc

You get to write a completely separate driver for your operating system. Your DXE driver is long gone after OS handoff.

If you need OS-BIOS communication your options are limited and circumstantial. Don’t approach SMI as a solution for a path of regular communication.

UEFI only allows UNDI network drivers to keep running once the OS has loaded (http://www.intel.com/content/dam/doc/guide/uefi-driver-network-boot-devices-guide.pdf). Otherwise, you’re limited to just getting and setting variables from within the OS.


Bruce

On Jul 25, 2014, at 2:35 AM, xxxxx@hotmail.com wrote:

Hi,

Learning UEFI, got a basic helloworld EBC BIOS driver working, can load into uefi shell, invoke it’s published protocol interface via an efi application (before booting windows). One of the calls simply return a calls counter (dword).

There is no memory, i/o or IRQ resources allocated to driver and so does not talk to real hardware. Normally I understand that I’d use these mapped resources to communicate or the old real mode s/w interrrupts, INT10,12,13, 21 etc.

How do I query my UEFI protocol interface from Windows 8 and invoke it? It is EBC code not X86. Do I have to write a WDF driver to support this UEFI bios driver? If so can it be UMDF?

Anything to get me going would be much appreciated.

Regards,

dc


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer