CS350 COS
COS
Loading...
Searching...
No Matches
loader.h
Go to the documentation of this file.
1
2#ifndef __SYS_LOADER_H__
3#define __SYS_LOADER_H__
4
5#include <sys/elf64.h>
6
7bool Loader_CheckHeader(const Elf64_Ehdr *ehdr);
8bool Loader_Load(Thread *thr, VNode *vn, void *buf, uint64_t len);
9
10#endif /* __SYS_LOADER_H__ */
11
static char buf[4096]
Definition: ethdump.c:10
bool Loader_Load(Thread *thr, VNode *vn, void *buf, uint64_t len)
Definition: loader.c:131
bool Loader_CheckHeader(const Elf64_Ehdr *ehdr)
Definition: loader.c:34
uint64_t len
Definition: multiboot.h:2
Definition: thread.h:31
unsigned long uint64_t
Definition: types.h:13
Definition: vfs.h:24