How to connect uefi driver and operating system driver.

Programming, for all ages and all languages.
Post Reply
kota
Posts: 1
Joined: Fri Jul 27, 2018 8:51 am

How to connect uefi driver and operating system driver.

Post by kota »

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

How can this be realized?
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: How to connect uefi driver and operating system driver.

Post 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
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.
Post Reply