diff options
-rw-r--r-- | OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c index 52406add24..85af7f1250 100644 --- a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -45,7 +45,8 @@ ResetCold ( VOID
)
{
- IoWrite8 (0x64, 0xfe);
+ IoWrite8 (0xCF9, BIT2 | BIT1); // 1st choice: PIIX3 RCR, RCPU|SRST
+ IoWrite8 (0x64, 0xfe); // 2nd choice: keyboard controller
}
/**
|