mirror of
https://git.nju.edu.cn/oslab2023/oslab.git
synced 2024-06-13 04:44:31 +08:00
12 lines
324 B
C
12 lines
324 B
C
#ifndef __LOADER_H__
|
|
#define __LOADER_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
uint32_t load_elf(struct PageDirectory *pgdir, const char *name);
|
|
uint32_t load_arg(struct PageDirectory *pgdir, char *const argv[]);
|
|
int load_user(struct PageDirectory *pgdir, struct Context *ctx,
|
|
const char *name, char *const argv[]);
|
|
|
|
#endif
|