Challenge of handmade OS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
355 B

#include <Protocol/SimpleFileSystem.h>
typedef struct {
int Start;
int Size;
char name[256];
typedef struct {
FILE_DESC descriptor[256];
char data[];
void ramfsinit(EFI_SYSTEM_TABLE *SystemTable);
void getfilesize(char *filename, UINTN *size);
void readfile(char *filename, UINTN buffersize, void *buffer);