forked from xt-sys/exectos
Fix a bug that caused overwritting a value read from CR8 with a default value
This commit is contained in:
parent
bed49fa0ac
commit
ba6e68e1b5
@ -324,6 +324,7 @@ ArReadControlRegister(IN USHORT ControlRegister)
|
|||||||
: "=r" (Value)
|
: "=r" (Value)
|
||||||
:
|
:
|
||||||
: "memory");
|
: "memory");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
/* Invalid control register set */
|
/* Invalid control register set */
|
||||||
Value = 0;
|
Value = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user