I want to write a uefi driver which will send the numbers to the dxe driver.
How can this be realized?
How to connect uefi driver and operating system driver.
Re: How to connect uefi driver and operating system driver.
Hi,
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
I don't think these questions make sense.kota wrote:I want to write a uefi driver which will send the numbers to the dxe driver.
How can this be realized?
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
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.