Fix typo and rename macro KDB_SYS_FLAG to KBD_SYS_FLAG.
Reviewed by: tychon
This commit is contained in:
parent
f7d6790884
commit
79aad80d3c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267611
@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
|
||||
#define KBD_DATA_PORT 0x60
|
||||
|
||||
#define KBD_STS_CTL_PORT 0x64
|
||||
#define KDB_SYS_FLAG 0x4
|
||||
#define KBD_SYS_FLAG 0x4
|
||||
|
||||
#define KBDC_RESET 0xfe
|
||||
|
||||
@ -66,7 +66,7 @@ atkbdc_sts_ctl_handler(struct vmctx *ctx, int vcpu, int in, int port,
|
||||
|
||||
retval = INOUT_OK;
|
||||
if (in) {
|
||||
*eax = KDB_SYS_FLAG; /* system passed POST */
|
||||
*eax = KBD_SYS_FLAG; /* system passed POST */
|
||||
} else {
|
||||
switch (*eax) {
|
||||
case KBDC_RESET: /* Pulse "reset" line. */
|
||||
|
Loading…
Reference in New Issue
Block a user