diff --git a/README.md b/README.md index 314881e..18eb1ca 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,10 @@ A minimalist RISC-V system emulator capable of running Linux the kernel and corr - UART: 8250/16550 - PLIC (platform-level interrupt controller): 32 interrupts, no priority - Standard SBI, with the timer extension -- VirtIO: virtio-blk acquires disk image from the host, and virtio-net is mapped as TAP interface +- VirtIO: + - virtio-net: Mapped with TAP interface to the host + - virtio-blk: Acquires disk image from the host to the guest + - virtio-gpu: Currently supports 2D rendering mode with SDL as front-end ## Prerequisites @@ -37,6 +40,22 @@ For macOS, use the following command: $ brew install e2fsprogs ``` +### SDL2 Installation + +``` +sudo apt install libsdl2-dev libsdl2-2.0-0 libsdl2-image-dev libsdl2-image-2.0-0 +``` + +### Pixman Installation + +``` +git clone https://github.com/libpixman/pixman.git +cd pixman/ +./autogen.sh +make -j$(nproc) +sudo make install +``` + ## Build and Run Build the emulator: