commit b1d20f135d39e92d85d230b821eccbb712f816f5
parent 0de63223ec2734806ab51587f5981666cbd69223
Author: Matsuda Kenji <info@mtkn.jp>
Date: Mon, 6 May 2024 14:06:51 +0900
update ERDP
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/src/kernel/main.c b/sys/src/kernel/main.c
@@ -204,7 +204,7 @@ kernel_main(EFI_GRAPHICS_OUTPUT_PROTOCOL *gop)
cons_printf(&con0, "parameter:\t%x\nstatus:\t%x\ncontrol:\t%x\n",
ERDP->parameter, ERDP->status, ERDP->control);
}
- xhc.runtime->IR[0].ERDP = (uint64) ERDP;
+ xhc.runtime->IR[0].ERDP = (uint64) ERDP|(xhc.runtime->IR[0].ERDP&0xf);
cons_printf(&con0, "processed event ring\n");
halt: