|
USB: reducing/removing EHCI and XHCI logging when bulk transfer requests timeout
If they happen a lot maybe they should be DEBUG_VERBOSE? Thanks, Andrew Fish
If they happen a lot maybe they should be DEBUG_VERBOSE? Thanks, Andrew Fish
|
By
Andrew Fish
· #96715
·
|
|
USB: reducing/removing EHCI and XHCI logging when bulk transfer requests timeout
Are those DEBUG prints or report status code? Thanks, Andrew Fish
Are those DEBUG prints or report status code? Thanks, Andrew Fish
|
By
Andrew Fish
· #96712
·
|
|
On RPi4 and Juno, gBS->Stall(1) takes 10us and 100us respectively
Rebecca, gBS->Stall() is built on top [1] of the Metronome Architectural Protocol [2]. You should look at how the platform implements the Metronome Architectural Protocol. It looks like most platform
Rebecca, gBS->Stall() is built on top [1] of the Metronome Architectural Protocol [2]. You should look at how the platform implements the Metronome Architectural Protocol. It looks like most platform
|
By
Andrew Fish
· #96657
·
|
|
Access 64bit address space in 32bit mode
Vincent, Thanks! I’d forgotten about that path. The other answer is defer the work to a DXE driver that runs 64-bit x86. Thanks, Andrew Fish
Vincent, Thanks! I’d forgotten about that path. The other answer is defer the work to a DXE driver that runs 64-bit x86. Thanks, Andrew Fish
|
By
Andrew Fish
· #96170
·
|
|
How to add a DXE driver to an OVMF image?
The BDS is what runs after all the discovered drivers have been dispatched. The BDS processes all those UEFI NVRAM variables I references, and sets platform defaults. That seems very Rube Goldberg. Th
The BDS is what runs after all the discovered drivers have been dispatched. The BDS processes all those UEFI NVRAM variables I references, and sets platform defaults. That seems very Rube Goldberg. Th
|
By
Andrew Fish
· #96169
·
|
|
How to add a DXE driver to an OVMF image?
The UEFI Shell drivers command is managing UEFI Driver Model Drivers [1]. A UEFI Driver Model Driver has no depex and publishes an EFI Driver Binding protocol [2]. The idea is the BDS (platform) can n
The UEFI Shell drivers command is managing UEFI Driver Model Drivers [1]. A UEFI Driver Model Driver has no depex and publishes an EFI Driver Binding protocol [2]. The idea is the BDS (platform) can n
|
By
Andrew Fish
· #96162
·
|
|
Access 64bit address space in 32bit mode
I assume you are talking about x86? This is more complex than just instruction prefix. You need the CPU to be setup in big real mode via the GDT, so you basically have a 32-bit environment setup via G
I assume you are talking about x86? This is more complex than just instruction prefix. You need the CPU to be setup in big real mode via the GDT, so you basically have a 32-bit environment setup via G
|
By
Andrew Fish
· #96144
·
|
|
How to add a DXE driver to an OVMF image?
Do you need to run it from FLASH? Or do you just want to run it? What I usually do with QEMU is pass -hda fat:rw:Build/OvmfX64/DEBUG_XCODE5/X64 to mount a directory on my system in QEMU. This should s
Do you need to run it from FLASH? Or do you just want to run it? What I usually do with QEMU is pass -hda fat:rw:Build/OvmfX64/DEBUG_XCODE5/X64 to mount a directory on my system in QEMU. This should s
|
By
Andrew Fish
· #95905
·
|
|
How to add a DXE driver to an OVMF image?
If you are building with the firmware use the DebugLib in the INF and DEBUG(); macros. DEBUG((DEBUG_ERROR, “It works ”)); Also by setting your Depex to TRUE you are basically asking to run before the
If you are building with the firmware use the DebugLib in the INF and DEBUG(); macros. DEBUG((DEBUG_ERROR, “It works ”)); Also by setting your Depex to TRUE you are basically asking to run before the
|
By
Andrew Fish
· #95875
·
|
|
TPM2 EventLog EFI vs. ACPI
I understand, but I think there are other cases when you can query for more specific information. For example you can get info on how to write an EFI PCI Root Bridge drive, and the ACPI methods also i
I understand, but I think there are other cases when you can query for more specific information. For example you can get info on how to write an EFI PCI Root Bridge drive, and the ACPI methods also i
|
By
Andrew Fish
· #93917
·
|
|
TPM2 EventLog EFI vs. ACPI
Is it possible to query the address from fw_cfg? Thanks, Andrew Fish
Is it possible to query the address from fw_cfg? Thanks, Andrew Fish
|
By
Andrew Fish
· #93914
·
|
|
[PATCH] Maintainers.txt: Update email address
Reviewed-by: Andrew Fish <afish@...>
Reviewed-by: Andrew Fish <afish@...>
|
By
Andrew Fish
· #93854
·
|
|
Error building MdeModulePkg.dsc with CLANG38 (clang 11.0.1)
That is a missing EFIAPI.
That is a missing EFIAPI.
|
By
Andrew Fish
· #93312
·
|
|
[PATCH 1/1] MdePkg: Use ANSI colors to indicate debug message severity
Rebecca, I think this feature flag is going to control the output of edk2 DEBUG. In an abstract sense DEBUG is not Terminal or ConOut. It could be mapped to the same device, but it does not have to be
Rebecca, I think this feature flag is going to control the output of edk2 DEBUG. In an abstract sense DEBUG is not Terminal or ConOut. It could be mapped to the same device, but it does not have to be
|
By
Andrew Fish
· #93069
·
|
|
How to restrict HTTPS boot to a single address
Rafael, I’m not sure this matches exactly what you are looking for, but the OVMF (Virtual Machine) has some configuration options around HTTPS boot [1]. That might be a good place to start. [1] https:
Rafael, I’m not sure this matches exactly what you are looking for, but the OVMF (Virtual Machine) has some configuration options around HTTPS boot [1]. That might be a good place to start. [1] https:
|
By
Andrew Fish
· #92869
·
|
|
BaseTools no longer builds on macOS: "error: unknown warning option '-Werror=stringop-overflow'"
Maybe having the check last would be cleaner. diff --git a/BaseTools/Source/C/DevicePath/GNUmakefile b/BaseTools/Source/C/DevicePath/GNUmakefile index c217674345b1..17f213879e82 100644 --- a/BaseTools
Maybe having the check last would be cleaner. diff --git a/BaseTools/Source/C/DevicePath/GNUmakefile b/BaseTools/Source/C/DevicePath/GNUmakefile index c217674345b1..17f213879e82 100644 --- a/BaseTools
|
By
Andrew Fish
· #92821
·
|
|
BaseTools no longer builds on macOS: "error: unknown warning option '-Werror=stringop-overflow'"
Rebecca, FYI /usr/bin/gcc has been a redirector into clang for a lot of years. The build picks different default sets of complier flags based on build type. There is already code that assumes gcc == c
Rebecca, FYI /usr/bin/gcc has been a redirector into clang for a lot of years. The build picks different default sets of complier flags based on build type. There is already code that assumes gcc == c
|
By
Andrew Fish
· #92820
·
|
|
[PATCH 1/2] Mde Pkg: Support for MPAM ACPI Table
Rohit, FYI I seem to remember when we added the bitfield verbiage to the UEFI Spec it was because there was lots of platform code that was using it. We did not really want to encourage its use it in p
Rohit, FYI I seem to remember when we added the bitfield verbiage to the UEFI Spec it was because there was lots of platform code that was using it. We did not really want to encourage its use it in p
|
By
Andrew Fish
· #92730
·
|
|
[PATCH 1/2] Mde Pkg: Support for MPAM ACPI Table
Probably better NOT to use bitfields in APIs that are produced and consumed by different worlds. While the the UEFI does speak to the bit order of or a bitfield the rules around packing of bitfields i
Probably better NOT to use bitfields in APIs that are produced and consumed by different worlds. While the the UEFI does speak to the bit order of or a bitfield the rules around packing of bitfields i
|
By
Andrew Fish
· #92728
·
|
|
Building C static Library for UEFI
Did you figure this out? The per compiler flags come from BaseTools/Conf/tools_def.template. When you do the edksetup.sh it gets copied to Conf/tools_def.ttxt and that is what the build uses. The rule
Did you figure this out? The per compiler flags come from BaseTools/Conf/tools_def.template. When you do the edksetup.sh it gets copied to Conf/tools_def.ttxt and that is what the build uses. The rule
|
By
Andrew Fish
· #92256
·
|