|
Re: failure in building unit test locally
Hi, everyone
I have found the root cause of failure, it's because the language in my windows is Chinese, and the software not support Unicode will use gbk as the coding format.
After I change the
Hi, everyone
I have found the root cause of failure, it's because the language in my windows is Chinese, and the software not support Unicode will use gbk as the coding format.
After I change the
|
By
wenyi,xie
·
#812
·
|
|
how to use assert
Hi everyone
May I ask in what situation we can use assert, is there any rule.
thanks
Wenyi
Hi everyone
May I ask in what situation we can use assert, is there any rule.
thanks
Wenyi
|
By
wenyi,xie
·
#811
·
|
|
Change GOP mode runtime
Hello!
I have written an UEFI shell application that can set a mode for GOP.
And I try to use this app to increase the resolution of a display on
OVMF under QEMU.
I connect to the QEMU via VNC.
By
Hello!
I have written an UEFI shell application that can set a mode for GOP.
And I try to use this app to increase the resolution of a display on
OVMF under QEMU.
I connect to the QEMU via VNC.
By
|
By
Konstantin Aladyshev
·
#810
·
|
|
Re: Functions for coversion strings to intergers
What I meant is there is no difference in the result between the "0"
string, and "hhh" string. Both would get translated to the number
zero.
And something like "16dfgdf" would get translated to
What I meant is there is no difference in the result between the "0"
string, and "hhh" string. Both would get translated to the number
zero.
And something like "16dfgdf" would get translated to
|
By
Konstantin Aladyshev
·
#809
·
|
|
Re: Functions for coversion strings to intergers
What is your definition of successful?
Most of the library functions evolved from code duplication in the firmware. Thus we only pick functions that commonly got used.
Thanks,
Andrew Fish
What is your definition of successful?
Most of the library functions evolved from code duplication in the firmware. Thus we only pick functions that commonly got used.
Thanks,
Andrew Fish
|
By
Andrew Fish
·
#808
·
|
|
Functions for coversion strings to intergers
Are there any library functions that can convert a string with a
decimal number to a number, and tell if the conversion was successful?
I've found StrDecimalToUintnS and StrDecimalToUint64S functions
Are there any library functions that can convert a string with a
decimal number to a number, and tell if the conversion was successful?
I've found StrDecimalToUintnS and StrDecimalToUint64S functions
|
By
Konstantin Aladyshev
·
#807
·
|
|
How to build edk2/ovmf with secure boot enabled as done in Fedora with "*CODE.secboot.fd" and "*VARS.secboot.fd" files?
My env:
-centos8
-qemu 6.0.0
I'm trying to install windows 10 from .iso installation disk in QEMU 6.0.0 with secure boot enabled in UEFI.
If I pass edk2/ovmf files provided by Fedora, I can find the
My env:
-centos8
-qemu 6.0.0
I'm trying to install windows 10 from .iso installation disk in QEMU 6.0.0 with secure boot enabled in UEFI.
If I pass edk2/ovmf files provided by Fedora, I can find the
|
By
Ks89
·
#806
·
|
|
Re: failure in building unit test locally
Hi,Sean
I have upload the log to github, link is like below.
https://github.com/leadsama/ShowLog/blob/main/README.md
Thanks
Wenyi
Hi,Sean
I have upload the log to github, link is like below.
https://github.com/leadsama/ShowLog/blob/main/README.md
Thanks
Wenyi
|
By
wenyi,xie
·
#805
·
|
|
Re: failure in building unit test locally
In the workspace/build folder there should be some logs .
Can you look at those and/or send the CI Log?
Thanks
Sean
In the workspace/build folder there should be some logs .
Can you look at those and/or send the CI Log?
Thanks
Sean
|
By
Sean
·
#804
·
|
|
Re: How to get page break functionality in UEFI applications
I've managed to get the aforementioned functionality by using `EnablePageBreak` function from the EFI_SHELL_PROTOCOL:
```
EFI_SHELL_PROTOCOL* ShellProtocol;
Status = gBS->LocateProtocol(
I've managed to get the aforementioned functionality by using `EnablePageBreak` function from the EFI_SHELL_PROTOCOL:
```
EFI_SHELL_PROTOCOL* ShellProtocol;
Status = gBS->LocateProtocol(
|
By
Konstantin Aladyshev
·
#803
·
|
|
failure in building unit test locally
Hello, everyone
I want to build unit test locally, my environment is win10, python 3.9.6, VS2019.
I excute the command according to steps in the ReadMe.
1. stuart_setup -c ./.pytool/CISettings.py
Hello, everyone
I want to build unit test locally, my environment is win10, python 3.9.6, VS2019.
I excute the command according to steps in the ReadMe.
1. stuart_setup -c ./.pytool/CISettings.py
|
By
wenyi,xie
·
#802
·
|
|
How to get page break functionality in UEFI applications
All UEFI shell commands have page break functionality.
If the command is called with the "-b" argument and the output is too
long, output would be splitted to pages with this message after
All UEFI shell commands have page break functionality.
If the command is called with the "-b" argument and the output is too
long, output would be splitted to pages with this message after
|
By
Konstantin Aladyshev
·
#801
·
|
|
Re: EFI_PIXEL_BITMASK
Thanks for the explanation!
Here are my investigations to complete this conversation.
https://github.com/tianocore/edk2/blob/master/OvmfPkg/OvmfPkgX64.dsc
```
DEFINE SOURCE_DEBUG_ENABLE =
Thanks for the explanation!
Here are my investigations to complete this conversation.
https://github.com/tianocore/edk2/blob/master/OvmfPkg/OvmfPkgX64.dsc
```
DEFINE SOURCE_DEBUG_ENABLE =
|
By
Konstantin Aladyshev
·
#800
·
|
|
Re: EFI_PIXEL_BITMASK
Vincent added the 0xAF convention back in the early Itanium days so it goes back to the original Intel EFI code base, so way back… Before edk2, and before the original EDK. Ha Ha so it is actually
Vincent added the 0xAF convention back in the early Itanium days so it goes back to the original Intel EFI code base, so way back… Before edk2, and before the original EDK. Ha Ha so it is actually
|
By
Andrew Fish
·
#799
·
|
|
Re: EFI_PIXEL_BITMASK
Thanks Andrew!
I've missed that part in the spec.
In my case:
```
Pixel format: 1
```
So according to the
https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Protocol/GraphicsOutput.h
my
Thanks Andrew!
I've missed that part in the spec.
In my case:
```
Pixel format: 1
```
So according to the
https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Protocol/GraphicsOutput.h
my
|
By
Konstantin Aladyshev
·
#798
·
|
|
Re: EFI_PIXEL_BITMASK
Konstantin,
If you look more closely at the UEFI Spec you will see that EFI_PIXEL_BITMASK (PixelInformation) is only valid if PixelFormat == PixelBlitMask. PixelRedGreenBlueReserved8BitPerColor and
Konstantin,
If you look more closely at the UEFI Spec you will see that EFI_PIXEL_BITMASK (PixelInformation) is only valid if PixelFormat == PixelBlitMask. PixelRedGreenBlueReserved8BitPerColor and
|
By
Andrew Fish
·
#797
·
|
|
EFI_PIXEL_BITMASK
I've written an UEFI_APPLICATION that shows the current GOP mode information.
This is example output from it, when it is run in the UEFI shell of
OVMF under QEMU:
```
FS0:\> GOPInfo.efi
Framebuffer
I've written an UEFI_APPLICATION that shows the current GOP mode information.
This is example output from it, when it is run in the UEFI shell of
OVMF under QEMU:
```
FS0:\> GOPInfo.efi
Framebuffer
|
By
Konstantin Aladyshev
·
#796
·
|
|
Re: State of the `edk2-libc` project
I submitted a patch to fix it several weeks ago, but it never got committed.
Rebecca Cran
I submitted a patch to fix it several weeks ago, but it never got committed.
Rebecca Cran
|
By
Rebecca Cran
·
#795
·
|
|
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
·
|