mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:17:46 +00:00
Kernel: Implement a naive version of virtconsole by memcpying to physical page
This patch allocates a physical page for each of the virtqueues and memcpys to it when receiving a buffer to get a physical, aligned contiguous buffer as required by the virtio specification. Co-authored-by: Sahan <sahan.h.fernando@gmail.com>
This commit is contained in:
parent
42b1eb5af1
commit
ecfa7cb824
8 changed files with 35 additions and 18 deletions
|
@ -53,7 +53,10 @@ $SERENITY_EXTRA_QEMU_ARGS
|
|||
-drive file=${SERENITY_DISK_IMAGE},format=raw,index=0,media=disk
|
||||
-device ich9-ahci
|
||||
-usb
|
||||
-debugcon stdio
|
||||
-device virtio-serial
|
||||
-chardev stdio,id=stdout,mux=on
|
||||
-device virtconsole,chardev=stdout
|
||||
-device isa-debugcon,chardev=stdout
|
||||
-soundhw pcspk
|
||||
-device sb16
|
||||
"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue