33 lines
695 B
C
33 lines
695 B
C
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
#include <fs/vfs.h>
|
|
|
|
|
|
typedef struct vfs_file_header {
|
|
char* filename; /* The filename, not the path. */
|
|
|
|
int32_t fd;
|
|
|
|
uint8_t type_info; /* Bits 0 - 3 -> File type, Bits 4 - 7 FS type */
|
|
|
|
uint16_t* fs_header;
|
|
|
|
struct vfs_file_header* next; /* Linked list */
|
|
} vfs_file_header_t;
|
|
|
|
|
|
vfs_file_header_t* root;
|
|
|
|
|
|
/*
|
|
This is being written as a test.
|
|
This has no affect on aaand my CPU is at 87 degrees Celsius and /usr/bin/gnome-shell is at 115% CPU utilization.
|
|
Just by writing that.
|
|
wow.
|
|
and now my CPU fan is going nuts.
|
|
|
|
--update: now it works. I had to go back to nouveau instead of the proprietary nVidia drivers..
|
|
*/
|