added some useless shell commands
This commit is contained in:
@@ -79,13 +79,15 @@ void vga_putchar(char c) {
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t vga_write(vfs_node_t* node, uint32_t offset, uint32_t size, uint8_t* buf) {
|
||||
uint32_t vga_seek(vfs_node_t* node, uint32_t offset, int whence) {
|
||||
terminal_row = offset / VGA_WIDTH;
|
||||
terminal_column = offset % VGA_WIDTH;
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint32_t vga_write(vfs_node_t* node, uint32_t offset, uint32_t size, uint8_t* buf) {
|
||||
for (uint32_t i = 0; i < size; i++) {
|
||||
vga_putchar((char)buf[i]);
|
||||
}
|
||||
|
||||
return size;
|
||||
}
|
||||
Reference in New Issue
Block a user