OSDev.org
https://forum.osdev.org/

How to connect uefi driver and operating system driver.
https://forum.osdev.org/viewtopic.php?f=13&t=33085
Page 1 of 1

Author:  kota [ Fri Jul 27, 2018 8:53 am ]
Post subject:  How to connect uefi driver and operating system driver.

I want to write a uefi driver which will send the numbers to the dxe driver.

How can this be realized?

Author:  Brendan [ Fri Jul 27, 2018 10:04 am ]
Post subject:  Re: How to connect uefi driver and operating system driver.

Hi,

kota wrote:
I want to write a uefi driver which will send the numbers to the dxe driver.

How can this be realized?


I don't think these questions make sense.

You never want a UEFI driver to connect to an operating system driver. UEFI starts "limited functionality, zero performance" drivers that mostly only exist to provide the absolute minimum needed to get an OS started; then an OS calls "exit boot services" to tell UEFI to get all its drivers out of the way, and (after the UEFI drivers have all been terminated and can't interfere and ruin everything) the OS starts proper "full functionality" drivers that don't suck. UEFI drivers and OS drivers don't exist at the same time, so it doesn't make any sense to connect them.

A "DXE driver" has nothing to do with the OS - it's like a low level blob of code that provides the core functionality for UEFI (and to be honest, I'm not even sure if it's required for all implementations of UEFI, or if it's just what the Tianocore people felt like doing for their implementation of UEFI).


Cheers,

Brendan

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/