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
7
bool
Loader_CheckHeader
(
const
Elf64_Ehdr
*ehdr);
8
bool
Loader_Load
(
Thread
*thr,
VNode
*vn,
void
*
buf
,
uint64_t
len
);
9
10
#endif
/* __SYS_LOADER_H__ */
11
Elf64_Ehdr
Definition:
elf64.h:64
buf
static char buf[4096]
Definition:
ethdump.c:10
Loader_Load
bool Loader_Load(Thread *thr, VNode *vn, void *buf, uint64_t len)
Definition:
loader.c:131
Loader_CheckHeader
bool Loader_CheckHeader(const Elf64_Ehdr *ehdr)
Definition:
loader.c:34
len
uint64_t len
Definition:
multiboot.h:2
Thread
Definition:
thread.h:31
uint64_t
unsigned long uint64_t
Definition:
types.h:13
VNode
Definition:
vfs.h:24
sys
include
loader.h
Generated by
1.9.6