refining vfs

This commit is contained in:
2026-07-10 07:46:46 -05:00
parent 4d98d73f5e
commit 032a35206a
13 changed files with 304 additions and 277 deletions

View File

@@ -3,6 +3,8 @@
#include <lib/stream.h>
#include "vga.h"
#define VGA_WIDTH 80
#define VGA_HEIGHT 25
#define VGA_MEMORY (0xB8000 + 0xC0000000)

View File

@@ -1,7 +1,11 @@
#ifndef DVGA_H
#define DVGA_H
#include <vfs.h>
void vga_init();
void vga_putchar(char c);
uint32_t vga_write(vfs_node_t* node, uint32_t offset, uint32_t size, uint8_t* buf);
#endif