From d67d692ee2ceb1358b00564acb1b30f15c2d35b0 Mon Sep 17 00:00:00 2001 From: CoolStar Date: Sun, 4 Dec 2016 11:52:19 -0800 Subject: [PATCH] CorebootModulePkg: Don't mask off legacy 8259 sources. With the legacy sources masked, closing laptop lid results in hard shutdown vs graceful transition to S3/suspend (per coolstar) --- CorebootModulePkg/CbSupportPei/CbSupportPei.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CorebootModulePkg/CbSupportPei/CbSupportPei.c b/CorebootModulePkg/CbSupportPei/CbSupportPei.c index 831de89b21..262e6b9d7d 100755 --- a/CorebootModulePkg/CbSupportPei/CbSupportPei.c +++ b/CorebootModulePkg/CbSupportPei/CbSupportPei.c @@ -435,12 +435,6 @@ CbPeiEntryPoint ( return Status; } - // - // Mask off all legacy 8259 interrupt sources - // - IoWrite8 (LEGACY_8259_MASK_REGISTER_MASTER, 0xFF); - IoWrite8 (LEGACY_8259_MASK_REGISTER_SLAVE, 0xFF); - return EFI_SUCCESS; }