Questions tagged [efi]

Extensible Firmware Interface is a specification that defines a software interface between an operating system and platform firmware

30 questions
15
votes
6 answers

What sort of things are UEFI "applications" actually used for?

I'm interested in PC firmware programming, and am just studying the UEFI spec. To my surprise, it seems like a spec for an entire OS which is embedded in firmware. You can even write UEFI "applications", which run directly using the UEFI boot…
Alex D
  • 29,755
  • 7
  • 80
  • 126
8
votes
2 answers

UEFI runtime service next to OS

I had the idea of running a small service next to the OS but I'm not sure if it is possible. I tried to figure it out by reading some docs but didn't get far, so here comes my question. I read about the UEFI runtime services. Would it be possible to…
maufl
  • 369
  • 1
  • 5
  • 14
8
votes
6 answers

How do I detect if WinPE(4) has booted from a UEFI or BIOS?

I am looking for a way to reliably detect when I boot into WinPE 4 (powershell) (or WinPE 3 (vbs) as an alternative), have I booted from a UEFI or BIOS System? (without running a third party exe as I am in a restricted environment) This…
RogerWilco
  • 81
  • 1
  • 2
6
votes
2 answers

Running an EFI application automatically on boot

I can build and manually execute an EFI application in a UEFI environment. But, I'd like to have my application executed automatically at boot time. Is there a way to tell the bootloader to do this or do I need to turn my application in to a driver…
PaulH
  • 7,759
  • 8
  • 66
  • 143
6
votes
2 answers

Does booting in EFI mode mean that I shall not have access to BIOS interrupts?

I am attempting to develop a simple OS. I have done some assembly programs before and have had to use INT 10h to display characters to the screen. I understand that UEFI has support for legacy BIOS and may still be able to use INT 10h services.…
Lord Loh.
  • 2,437
  • 7
  • 39
  • 64
5
votes
2 answers

How to access command line arguments in UEFI?

What part of the specification details how command line arguments can be obtained?
user773099
  • 61
  • 1
  • 3
4
votes
1 answer

Building UEFI driver using Visual Studio

I'm looking for advice on how to build UEFI drivers with the EDK2 SDK using a Visual Studio 2012 project. I'm trying to statically link UefiLib.lib but failing miserably. I've added the lib to the additional dependencies under linker. #include …
user3110990
  • 41
  • 1
  • 3
3
votes
2 answers

How to detect if EFI partition is already mounted in Windows via batch script?

I'm trying to write a batch script to detect if an EFI partition is already mounted in Windows. Ultimately, my goal is to use mountvol /S (mount EFI system partition) only if the EFI partition is not already mounted. The diskpart utility with the…
user1128144
  • 125
  • 1
  • 2
  • 6
3
votes
0 answers

Can't Build Tianocore on OS X Yosemite

I am trying to build the EFI Development Kit (EDK2) on OS X Yosemite. I have the latest development tools. I followed the instructions exactly as described here, up to building UnixPkg. I then tried to build the EmulatorPkg as recommended by the…
SevenBits
  • 2,836
  • 1
  • 20
  • 33
3
votes
3 answers

Bullseye coverage for embedded systems - not a small footprint data file

I'm fighting for few weeks with Bullseye run for EFI (EDK II) system. I finally linked everything, compiled the code and everything seems to work (I used Bullseye tutorial for embedded system and this topic: Bullseye for EDK Based Application). I…
mlody3k
  • 73
  • 7
3
votes
1 answer

Reading/Writing EFI variables on Linux in kernel mode

I am working on Linux UEFI .I want to access the efi variables through my driver code. Currently I'm looking linux/efi.h API like efi.get_variable(). but I'm not getting how to call those APIs with from my driver code. struct efi …
aksh
  • 41
  • 1
  • 3
3
votes
2 answers

Adding my own UEFI application\driver to the UEFI (VMware)

I have a virtual machine (Windows7x64) that loads from uefi. Can I add a UEFI application\driver that I've created to the UEFI, in order for it to load it on boot time? Also, can I change the order which DXE\UEFI driver's are loaded?
GalDude33
  • 7,071
  • 1
  • 28
  • 38
3
votes
1 answer

Converting EFI memory Map to E820 map

I am new to Linux and learing about how Linux comes to know about the avaible Physical Mmeory .I came to know there are some BIOS system call int 0x15 which willl gives you E20 memory Map. Now I find a piece of code where its says its defination for…
Amit Singh Tomar
  • 8,380
  • 27
  • 120
  • 199
2
votes
1 answer

EFI or BIOS in intel atom??.

I have an intel atom with fedora on it.I see efi config file in /boot/efi/EFI/redhat ,but efi config file specifies that it is a dos/windows application. I used dmidecode cmd and found out that that system still uses BIOS.Here s the output Handle…
Deepthought
  • 2,815
  • 2
  • 28
  • 39
2
votes
2 answers

Passing kernel parametes to EFI-Stub in Apple's EFI env

Good day, everybody. I'm trying to shorten the boot process of an iMac dual-booting OS-X and Ubuntu as much as possible. So far i managed to boot grub (and Ubuntu afterwards) directly by Apple's EFI boot manager. I've accomplished this by…
user4096537
1
2