Fix a bug that caused overwritting a value read from CR8 with a default value
Some checks failed
Builds / ExectOS (amd64) (push) Successful in 28s
Builds / ExectOS (i686) (push) Failing after 16s

This commit is contained in:
Rafal Kupiec 2023-11-26 00:33:46 +01:00
parent bed49fa0ac
commit ba6e68e1b5
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -324,6 +324,7 @@ ArReadControlRegister(IN USHORT ControlRegister)
: "=r" (Value)
:
: "memory");
break;
default:
/* Invalid control register set */
Value = 0;