Page 1 of 1
How to connect uefi driver and operating system driver.
Posted: Fri Jul 27, 2018 8:53 am
by kota
I want to write a uefi driver which will send the numbers to the dxe driver.
How can this be realized?
Re: How to connect uefi driver and operating system driver.
Posted: Fri Jul 27, 2018 10:04 am
by Brendan
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