From 6a85c6ede66f723e1415552482e1c6640653efa2 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 1 Aug 2022 16:33:44 +0200 Subject: amd64: /video/b device, provided by grub --- src/kernel/arch/amd64/driver/fsroot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/kernel/arch/amd64/driver/fsroot.c') diff --git a/src/kernel/arch/amd64/driver/fsroot.c b/src/kernel/arch/amd64/driver/fsroot.c index 2feaf67..e0f5e77 100644 --- a/src/kernel/arch/amd64/driver/fsroot.c +++ b/src/kernel/arch/amd64/driver/fsroot.c @@ -58,11 +58,13 @@ static int handle(struct vfs_request *req) { switch (id) { case HANDLE_ROOT: { // TODO document directory read format + // TODO don't hardcode const char src[] = "vga\0" "com1\0" "ps2\0" - "ata/"; + "ata/\0" + "video/"; return req_readcopy(req, src, sizeof src); } case HANDLE_VGA: -- cgit v1.2.3