Load TAR archive + run raw user program
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* @author xamidev <xamidev@riseup.net>
|
||||
* @brief PS/2 Keyboard driver
|
||||
* @license GPL-3.0-only
|
||||
*/
|
||||
|
||||
#ifndef INITFS_H
|
||||
#define INITFS_H
|
||||
|
||||
#include <limine.h>
|
||||
|
||||
int initfs_init(struct limine_file* tar_file);
|
||||
|
||||
#endif
|
||||
+2
-1
@@ -10,7 +10,8 @@
|
||||
#include "limine.h"
|
||||
enum ErrorCodes {
|
||||
ENOMEM,
|
||||
EIO
|
||||
EIO,
|
||||
ENOENT
|
||||
};
|
||||
|
||||
#define CLEAR_INTERRUPTS __asm__ volatile("cli")
|
||||
|
||||
@@ -39,5 +39,6 @@ void process_exit(void);
|
||||
void process_display_list(struct process* processes_list);
|
||||
|
||||
void process_create_user(struct limine_file* file, char* name);
|
||||
void process_create_user_raw(char* file, int size, char* name);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -13,5 +13,6 @@ char *strcpy(char *dest, const char *src);
|
||||
char *strcat(char *dest, const char *src);
|
||||
void strncpy(char* dst, const char* src, size_t n);
|
||||
int strncmp(const char* s1, const char* s2, size_t n);
|
||||
size_t strlen(const char* str);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user