|
EFI Group Event Callback Order
Hi edk2,
As UEFI event group mechanism, we can register callbacks under event group. For example, register two event callbacks and will be signal in ReadyToBoot.
Status = gBS->CreateEventEx (
Hi edk2,
As UEFI event group mechanism, we can register callbacks under event group. For example, register two event callbacks and will be signal in ReadyToBoot.
Status = gBS->CreateEventEx (
|
By
Li, Walon <walon.li@...>
·
#112
·
|
|
Re: Analogous to Print() but for keyboard input?
I don't really understand your question.
If you are looking for functions that parse string representations of
integers into integer variables, "MdePkg/Include/Library/BaseLib.h" has:
I don't really understand your question.
If you are looking for functions that parse string representations of
integers into integer variables, "MdePkg/Include/Library/BaseLib.h" has:
|
By
Laszlo Ersek
·
#111
·
|
|
Re: Is possible to obtain assembly output from modules?
The way I generally do this (for OVMF) is as follows:
- run a complete NOOPT build
- run a command like:
objdump -S
The way I generally do this (for OVMF) is as follows:
- run a complete NOOPT build
- run a command like:
objdump -S
|
By
Laszlo Ersek
·
#110
·
|
|
Is possible to obtain assembly output from modules?
Hi
I want to check some .efi and call format stuff. However I don't know exactly how to produce assembly output from edk2 gcc. I was trying to tweak .dsc. The problem is that the last file is compile
Hi
I want to check some .efi and call format stuff. However I don't know exactly how to produce assembly output from edk2 gcc. I was trying to tweak .dsc. The problem is that the last file is compile
|
By
alejandro.estay@...
·
#109
·
|
|
Analogous to Print() but for keyboard input?
HI
Is there some library like UefiLib, with some function working like scanf()? For example, print() shares some things with printf(), but I can't find any related to input working that way.
Really
HI
Is there some library like UefiLib, with some function working like scanf()? For example, print() shares some things with printf(), but I can't find any related to input working that way.
Really
|
By
alejandro.estay@...
·
#108
·
|
|
Re: Lock BootOrder variable
Just because I mentioned RuntimeServicesSupported, I guess it makes
sense to reference this spec ticket too:
https://mantis.uefi.org/mantis/view.php?id=2049
Thanks
Laszlo
Just because I mentioned RuntimeServicesSupported, I guess it makes
sense to reference this spec ticket too:
https://mantis.uefi.org/mantis/view.php?id=2049
Thanks
Laszlo
|
By
Laszlo Ersek
·
#107
·
|
|
Re: Lock BootOrder variable
Locking the boot order by way of causing SetVariable to fail for the OS
seems wrong to me.
BDS is platform policy. A platform BDS implementation can simply
re-generate all Boot#### variables, and the
Locking the boot order by way of causing SetVariable to fail for the OS
seems wrong to me.
BDS is platform policy. A platform BDS implementation can simply
re-generate all Boot#### variables, and the
|
By
Laszlo Ersek
·
#106
·
|
|
Re: Examples opening and reading/writing a file with EDK2
Thank you very much Laszlo, and Happy New Year.
There's still some problems. Apparently the optimizer is stripping out the fixed array that I'm using to save and print the text file. I know that this
Thank you very much Laszlo, and Happy New Year.
There's still some problems. Apparently the optimizer is stripping out the fixed array that I'm using to save and print the text file. I know that this
|
By
alejandro.estay@...
·
#105
·
|
|
Re: Examples opening and reading/writing a file with EDK2
(Side comment: please always check the returns status.)
This call looks invalid (undefined behavior), likely due to a copy/paste
error. It should be:
text_file->Read (text_file, ...)
^^^^^^^^^
(Side comment: please always check the returns status.)
This call looks invalid (undefined behavior), likely due to a copy/paste
error. It should be:
text_file->Read (text_file, ...)
^^^^^^^^^
|
By
Laszlo Ersek
·
#104
·
|
|
Re: Examples opening and reading/writing a file with EDK2
Hi I've wrote another little program trying to focus on this (it was added into
Hi I've wrote another little program trying to focus on this (it was added into
|
By
alejandro.estay@...
·
#103
·
|
|
UEFI Development Kit Debugger Tool with USB 3.0
Hi,
I am new to UEFI development and trying to set up physical machine
debugging environment using UEFI Development Kit Debugger Tool (UDK) but
unsuccessful so far. Can someone assist me to figure
Hi,
I am new to UEFI development and trying to set up physical machine
debugging environment using UEFI Development Kit Debugger Tool (UDK) but
unsuccessful so far. Can someone assist me to figure
|
By
Satoshi Tanda
·
#102
·
|
|
Re: Lock BootOrder variable
No problem. Thanks for looking into this, Tim. :)
No problem. Thanks for looking into this, Tim. :)
|
By
Wang, Sunny (HPS SW)
·
#101
·
|
|
Re: Does EmulatorPkg support source-level debug?
I have found out how to debug on the VS.
https://docs.microsoft.com/zh-tw/visualstudio/debugger/how-to-debug-an-executable-not-part-of-a-visual-studio-solution?view=vs-2019
Thank you.
I have found out how to debug on the VS.
https://docs.microsoft.com/zh-tw/visualstudio/debugger/how-to-debug-an-executable-not-part-of-a-visual-studio-solution?view=vs-2019
Thank you.
|
By
Yeh
·
#100
·
|
|
Re: Lock BootOrder variable
Sunny --
Thanks for the clarification.
Tim
Sunny --
Thanks for the clarification.
Tim
|
By
Tim Lewis
·
#99
·
|
|
Re: Does EmulatorPkg support source-level debug?
I build and run Emulator with below command.
edksetup.bat Rebuild
build -p EmulatorPkg\EmulatorPkg.dsc -t VS2017 -a IA32
cd Build\EmulatorIA32\DEBUG_VS2017\IA32
type WinHost.exe
Thanks
Liming
I build and run Emulator with below command.
edksetup.bat Rebuild
build -p EmulatorPkg\EmulatorPkg.dsc -t VS2017 -a IA32
cd Build\EmulatorIA32\DEBUG_VS2017\IA32
type WinHost.exe
Thanks
Liming
|
By
Liming Gao
·
#98
·
|
|
Re: Lock BootOrder variable
Hi Sean,
Thanks for checking this further and bringing this to the Microsoft OS team.
Yeah, your guess is part of the solution that I'm working on. I'm making a spec'd way to fix this and will
Hi Sean,
Thanks for checking this further and bringing this to the Microsoft OS team.
Yeah, your guess is part of the solution that I'm working on. I'm making a spec'd way to fix this and will
|
By
Wang, Sunny (HPS SW)
·
#97
·
|
|
Re: Lock BootOrder variable
Hi Tim,
You can check the section 2.2.2.1 Critical Data. The Boot order is identified as critical data that should be protected.
Yes, we can see this case on server platforms (enterprise solution
Hi Tim,
You can check the section 2.2.2.1 Critical Data. The Boot order is identified as critical data that should be protected.
Yes, we can see this case on server platforms (enterprise solution
|
By
Wang, Sunny (HPS SW)
·
#96
·
|
|
Re: [edk2-devel] [PATCH] Support skipping automatic BM enumeration
Sunny,
Thanks for your comments.
Thanks,
Ray
Sunny,
Thanks for your comments.
Thanks,
Ray
|
By
Ni, Ray
·
#95
·
|
|
Re: [edk2-devel] [PATCH] Support skipping automatic BM enumeration
Sorry for the delay. Somehow I didn't catch the follow-up email. Thanks for checking my comments, Ray and Ashish.
Yeah, agree. 2.b is better. I will review the code change.
Regards,
Sunny Wang
Sorry for the delay. Somehow I didn't catch the follow-up email. Thanks for checking my comments, Ray and Ashish.
Yeah, agree. 2.b is better. I will review the code change.
Regards,
Sunny Wang
|
By
Wang, Sunny (HPS SW)
·
#94
·
|
|
Re: Does EmulatorPkg support source-level debug?
Hi Liming,
Thanks for the information.
But may I know how to do that in VS?
Is it possible to build the EDK2 by the VS?
Now I am building it by the Windows command line.
Hi Liming,
Thanks for the information.
But may I know how to do that in VS?
Is it possible to build the EDK2 by the VS?
Now I am building it by the Windows command line.
|
By
Yeh
·
#93
·
|