ref: 178a9d12c6ead437a85490764e9a5d92e1016d5d
parent: 99696c414ac1011a59aa4aeb03976c45b1d70856
author: cinap_lenrek <[email protected]>
date: Sat Dec 5 11:59:30 EST 2020
pc, pc64: allocate dma bounce buffer right after xinit()
--- a/sys/src/9/pc/main.c
+++ b/sys/src/9/pc/main.c
@@ -39,10 +39,10 @@
ramdiskinit();
confinit();
xinit();
- pcicfginit();
- bootscreeninit();
if(i8237alloc != nil)
i8237alloc();
+ pcicfginit();
+ bootscreeninit();
trapinit();
printinit();
cpuidprint();
--- a/sys/src/9/pc64/main.c
+++ b/sys/src/9/pc64/main.c
@@ -191,10 +191,10 @@
ramdiskinit();
confinit();
xinit();
- pcicfginit();
- bootscreeninit();
if(i8237alloc != nil)
i8237alloc();
+ pcicfginit();
+ bootscreeninit();
trapinit();
printinit();
cpuidprint();