|
State of the `edk2-libc` project
Hello!
What is the state of the `edk2-libc` project?
The last commit is dated Apr 29, 2019. I've tried to compile
`edk2-libc` with the master `edk2` and have come to some build issues.
For example
Hello!
What is the state of the `edk2-libc` project?
The last commit is dated Apr 29, 2019. I've tried to compile
`edk2-libc` with the master `edk2` and have come to some build issues.
For example
|
By
Konstantin Aladyshev
·
#794
·
|
|
Re: Should we keep 'EFI_KEY_DATA' argument after 'RegisterKeyNotify()' function call?
I’d say it needs to be valid until you EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.UnregisterKeyNotify() and unhook your function.
Thanks,
Andrew Fish
I’d say it needs to be valid until you EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.UnregisterKeyNotify() and unhook your function.
Thanks,
Andrew Fish
|
By
Andrew Fish
·
#793
·
|
|
gcc compile warning
After updating edk2 from 201903 to 202011, when using gcc to compile our platform(aarch64) code, we meet a warning
warning: '-x c' after last input file has no effect
We compare the code and find the
After updating edk2 from 201903 to 202011, when using gcc to compile our platform(aarch64) code, we meet a warning
warning: '-x c' after last input file has no effect
We compare the code and find the
|
By
wenyi,xie
·
#792
·
|
|
Should we keep 'EFI_KEY_DATA' argument after 'RegisterKeyNotify()' function call?
Hello!
According to the UEFI specification
`EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.RegisterKeyNotify()` function
registers a notification function for a particular keystroke for the
input device.
Its
Hello!
According to the UEFI specification
`EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.RegisterKeyNotify()` function
registers a notification function for a particular keystroke for the
input device.
Its
|
By
Konstantin Aladyshev
·
#791
·
|
|
Re: edk2toolext based build workspace question
Jeff,
All the stuart tools (edk2toolext) require a configuration file. For edk2 the file is
https://github.com/tianocore/edk2/blob/master/.pytool/CISettings.py
In this file you can see the
Jeff,
All the stuart tools (edk2toolext) require a configuration file. For edk2 the file is
https://github.com/tianocore/edk2/blob/master/.pytool/CISettings.py
In this file you can see the
|
By
Sean
·
#790
·
|
|
Re: edk2toolext based build workspace question
Basically, the workspace directory that is used in the scripts seem to assume that there are files under there already, as opposed to just an out directory as we use it and use packages path to search
Basically, the workspace directory that is used in the scripts seem to assume that there are files under there already, as opposed to just an out directory as we use it and use packages path to search
|
By
Jeff Brasen
·
#789
·
|
|
Re: How to read UTF8 files?
Konstantin,
You need to deserialize the UTF-8 to Unicode and then serialize that to UCS-2 (CHAR16).
The Terminal driver has support for UTF-8 terminals so you can probably leverage some of that code
Konstantin,
You need to deserialize the UTF-8 to Unicode and then serialize that to UCS-2 (CHAR16).
The Terminal driver has support for UTF-8 terminals so you can probably leverage some of that code
|
By
Andrew Fish
·
#788
·
|
|
Re: Loading EFI module from disk and handing over execution
I don't think you can enforce this restriction for UEFI boot options
with just standard UEFI APIs.
Thanks
Laszlo
I don't think you can enforce this restriction for UEFI boot options
with just standard UEFI APIs.
Thanks
Laszlo
|
By
Laszlo Ersek
·
#787
·
|
|
Re: Loading EFI module from disk and handing over execution
Hi Laszlo,
I’ve been poking around in MdeModulePkg/Core/Dxe/Image/Image.c to see what is going on with the loading of the file and have got to the CoreLoadPeImage() function.
The memory that is
Hi Laszlo,
I’ve been poking around in MdeModulePkg/Core/Dxe/Image/Image.c to see what is going on with the loading of the file and have got to the CoreLoadPeImage() function.
The memory that is
|
By
Andy Pont <andy.pont@...>
·
#786
·
|
|
How to read UTF8 files?
Hello!
What is the best way to handle files encoded in UTF8?
I'm looking for ways to read strings from such files, print these
strings or compare them to my own CHAR16* strings.
For example if I have
Hello!
What is the best way to handle files encoded in UTF8?
I'm looking for ways to read strings from such files, print these
strings or compare them to my own CHAR16* strings.
For example if I have
|
By
Konstantin Aladyshev
·
#785
·
|
|
Re: edk2toolext based build workspace question
Can you elaborate more on what you have tried. What files are causing problems? The build output should be handled the same as any edk2 build
Thanks
Sean
________________________________
Sent:
Can you elaborate more on what you have tried. What files are causing problems? The build output should be handled the same as any edk2 build
Thanks
Sean
________________________________
Sent:
|
By
Sean
·
#784
·
|
|
How many kinds of autotest framework does EDK2 have
Hello everyone,
May I ask how many kinds of autotest framework does EDK2 have.
As I see, EDK2 has CI test which include Host Unit Test Compilation and Run Test, uefi-sct in edk2-test(does it work
Hello everyone,
May I ask how many kinds of autotest framework does EDK2 have.
As I see, EDK2 has CI test which include Host Unit Test Compilation and Run Test, uefi-sct in edk2-test(does it work
|
By
wenyi,xie
·
#783
·
|
|
Re: EFI Network drivers being disabled when booting with Grub via PXE
Hi Laszlo,
That was just for testing purposes, the real scenario is another
application that runs on UEFI and sends some files to a tftp server.
That was exactly the problem.
GRUB opens network
Hi Laszlo,
That was just for testing purposes, the real scenario is another
application that runs on UEFI and sends some files to a tftp server.
That was exactly the problem.
GRUB opens network
|
By
Gustavo Henrique
·
#782
·
|
|
edk2toolext based build workspace question
I am looking at converting our build from using a bunch of custom scripts/makefiles around the UEFI build process to the edk2toolext based python builder and am running into an Issue. Our overall
I am looking at converting our build from using a bunch of custom scripts/makefiles around the UEFI build process to the edk2toolext based python builder and am running into an Issue. Our overall
|
By
Jeff Brasen
·
#781
·
|
|
Re: Loading EFI module from disk and handing over execution
I expected the UefiPayloadPkg owners to comment on this.
The inner half of your call chain is probably EfiBootManagerBoot()
[MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c]. You'll
I expected the UefiPayloadPkg owners to comment on this.
The inner half of your call chain is probably EfiBootManagerBoot()
[MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c]. You'll
|
By
Laszlo Ersek
·
#780
·
|
|
Re: Stack unwinding in SMM
Hi Andrew,
Thank you for your reply :). I should have been more specific, I have instrumented an SMM driver and want to retrieve stack traces at arbitrary points in program execution from within the
Hi Andrew,
Thank you for your reply :). I should have been more specific, I have instrumented an SMM driver and want to retrieve stack traces at arbitrary points in program execution from within the
|
By
mick21@...
·
#779
·
|
|
Loading EFI module from disk and handing over execution
I am currently working on a project using tianocore as a payload for coreboot and have having some problems booting Qubes.
When trying to boot the Qubes ISO image from a USB memory stick it gives the
I am currently working on a project using tianocore as a payload for coreboot and have having some problems booting Qubes.
When trying to boot the Qubes ISO image from a USB memory stick it gives the
|
By
Andy Pont <andy.pont@...>
·
#778
·
|
|
Re: QEMU failed to emulate MMIO Access when -accel whpx
At the moment, OvmfPkg has platforms (DSC files) that target Bhyve,
QEMU/KVM, QEMU/TCG, Xen/HVM, and Xen/PVH.
Thanks
Laszlo
At the moment, OvmfPkg has platforms (DSC files) that target Bhyve,
QEMU/KVM, QEMU/TCG, Xen/HVM, and Xen/PVH.
Thanks
Laszlo
|
By
Laszlo Ersek
·
#777
·
|
|
Re: Stack unwinding in SMM
Mick,
It might be possible to turn on frame pointers via: -fno-omit-frame-pointer
The Xcode flavor of clang defaults to emitting the frame pointer so __builtin_return_address() works as expected for
Mick,
It might be possible to turn on frame pointers via: -fno-omit-frame-pointer
The Xcode flavor of clang defaults to emitting the frame pointer so __builtin_return_address() works as expected for
|
By
Andrew Fish
·
#776
·
|
|
QEMU failed to emulate MMIO Access when -accel whpx
I have built a OVMF based on EDK2, but when tried to run with QEMU -accel whpx, it gave the error of
qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus:
I have built a OVMF based on EDK2, but when tried to run with QEMU -accel whpx, it gave the error of
qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus:
|
By
tbtbfaker@...
·
#775
·
|