feat: Intel/AMD AVX & MSR sensors, Gigabit PCIe NICs, AHCI SATA, FAT32, and ogit in Ring 3

This commit is contained in:
RarDog
2026-09-03 11:32:20 +03:00
parent 6d88c802b6
commit 65cb849918
22 changed files with 1847 additions and 55 deletions
+13
View File
@@ -9,6 +9,8 @@
#include "abi/syscalls.h"
#include "abi/ipc.h"
#include "abi/vfs.h"
#include "ahci.h"
#include "fat32.h"
#define MAX_VFS_NODES 64
@@ -52,6 +54,17 @@ static void vfs_init() {
vfs_add_dir("/proc");
vfs_add_dir("/dev");
vfs_add_dir("/tmp");
vfs_add_dir("/disk");
vfs_add_file("/disk/readme.txt",
"This directory is mounted on the physical AHCI SATA / USB disk!\n"
"Files saved here are permanently written to FAT32 sectors.\n");
if (ahci_detect_and_init() == 0) {
if (fat32_mount() == 0) {
puts("[VFS-SERVER] AHCI SATA Disk successfully mounted at /disk (FAT32 filesystem)");
}
}
vfs_add_file("/etc/os-release",
"NAME=\"opencoreC\"\n"