mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-22 16:08:07 +01:00
Silence a forgotten warning.
This commit is contained in:
parent
95be95c531
commit
f17a05f1da
@ -150,7 +150,7 @@ LegacyBiosInt86 (
|
|||||||
IN IA32_REGISTER_SET *Regs
|
IN IA32_REGISTER_SET *Regs
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
UINTN Status;
|
// UINTN Status;
|
||||||
UINTN Eflags;
|
UINTN Eflags;
|
||||||
IA32_REGISTER_SET ThunkRegSet;
|
IA32_REGISTER_SET ThunkRegSet;
|
||||||
BOOLEAN Ret;
|
BOOLEAN Ret;
|
||||||
@ -188,7 +188,7 @@ LegacyBiosInt86 (
|
|||||||
//
|
//
|
||||||
// Set Legacy16 state. 0x08, 0x70 is legacy 8259 vector bases.
|
// Set Legacy16 state. 0x08, 0x70 is legacy 8259 vector bases.
|
||||||
//
|
//
|
||||||
Status = BiosDev->Legacy8259->SetMode (BiosDev->Legacy8259, Efi8259LegacyMode, NULL, NULL);
|
/*Status =*/ BiosDev->Legacy8259->SetMode (BiosDev->Legacy8259, Efi8259LegacyMode, NULL, NULL);
|
||||||
// ASSERT_EFI_ERROR(Status);
|
// ASSERT_EFI_ERROR(Status);
|
||||||
|
|
||||||
Stack16 = (UINT16 *)((UINT8 *) BiosDev->ThunkContext->RealModeBuffer + BiosDev->ThunkContext->RealModeBufferSize - sizeof (UINT16));
|
Stack16 = (UINT16 *)((UINT8 *) BiosDev->ThunkContext->RealModeBuffer + BiosDev->ThunkContext->RealModeBufferSize - sizeof (UINT16));
|
||||||
@ -204,7 +204,7 @@ LegacyBiosInt86 (
|
|||||||
//
|
//
|
||||||
// Restore protected mode interrupt state
|
// Restore protected mode interrupt state
|
||||||
//
|
//
|
||||||
Status = BiosDev->Legacy8259->SetMode (BiosDev->Legacy8259, Efi8259ProtectedMode, NULL, NULL);
|
/*Status =*/ BiosDev->Legacy8259->SetMode (BiosDev->Legacy8259, Efi8259ProtectedMode, NULL, NULL);
|
||||||
// ASSERT_EFI_ERROR(Status);
|
// ASSERT_EFI_ERROR(Status);
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user