Start RISC-V kernel example

This commit is contained in:
Alex Kotov 2022-01-13 11:38:45 +05:00
parent 99adbd0478
commit 61afab81ba
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
all: run
CCPREFIX = ../../vendor/cross/bin/riscv64-elf-
AS = $(CCPREFIX)as
CC = $(CCPREFIX)gcc
QEMU = qemu-system-riscv64
run:
$(QEMU) -machine virt -serial stdio