OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Aug 21, 2018 10:17 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to connect uefi driver and operating system driver.
PostPosted: Fri Jul 27, 2018 8:53 am 
Offline

Joined: Fri Jul 27, 2018 8:51 am
Posts: 1
I want to write a uefi driver which will send the numbers to the dxe driver.

How can this be realized?


Top
 Profile  
 
 Post subject: Re: How to connect uefi driver and operating system driver.
PostPosted: Fri Jul 27, 2018 10:04 am 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8453
Location: At his keyboard!
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group