Biesheuvel wrote:
>
> On Mon, 11 Sept 2023 at 04:47, Zhenyu Zhang wrote:
> >
> > From: "Zhenyu Zhang"
> >
> > We observed that EDK2 hits an ASSERT (Out of Resources) when
> > booting with a full variable store. The message provided in
> > thi
From: "Zhenyu Zhang"
We observed that EDK2 hits an ASSERT (Out of Resources) when
booting with a full variable store. The message provided in
this case is not helpful for non-experts.
Add debug information to help users understand what caused
the assertion.
Actual results:
RecordVa
variable store.
>
> > Why not return ERROR?
> >
>
> This is in VOID PlatformRegisterFvBootOption (), returning ERROR is not
> possible.
>
> Thanks,
> Oliver
>
> >
> > > -Original Message-
> > > From: devel@edk2.groups.io On Behalf Of Zhenyu
From: "Zhenyu Zhang"
When the variable store is full, edk2 will directly assert.
Add debug information to help users understand what caused
the assertion.
Actual results:
RecordVarErrorFlag (0xEF) 9A144FE2A47E:937FE521-95AE-4D1A-8929-
48BCD90AD31A - 0x0003 - 0x7E
CommonVar
From: "Zhenyu Zhang"
When the variable store is full, edk2 will directly assert.
Add debug information to help users understand what caused
the assertion.
Actual results:
RecordVarErrorFlag (0xEF) 9A144FE2A47E:937FE521-95AE-4D1A-8929-
48BCD90AD31A - 0x0003 - 0x7E
CommonVar
From: "Zhenyu Zhang"
When the variable store is full, edk2 will directly assert.
Add debug information to help users understand what caused
the assertion.
Actual results:
RecordVarErrorFlag (0xEF) 9A144FE2A47E:937FE521-95AE-4D1A-8929-
48BCD90AD31A - 0x0003 - 0x7E
CommonVar
/ArmPkg/
Library/DefaultExceptionHandlerLib/AArch64/
DefaultExceptionHandler.c(333): ((BOOLEAN) (0==1))
Cc: Oliver Steffen
Cc: Gerd Hoffmann
Cc: Gavin Shan
Cc: Shaoqin Huang
Signed-off-by: Zhenyu Zhang
---
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 1 +
1 file changed, 1