feat: basic elf32 loader (only LOAD segment is supported)
authorMinep <zelong56@gmail.com>
Sat, 31 Dec 2022 01:26:10 +0000 (01:26 +0000)
committerMinep <zelong56@gmail.com>
Sat, 31 Dec 2022 01:28:59 +0000 (01:28 +0000)
commit74926d2db1d9f3228acdfca03013a8ba0ac1d8c0
tree5292e8918f088d6ce9912541320f1b9f7765adbf
parent9b8e0c494de6b447b44454112748f702dffec90d
feat: basic elf32 loader (only LOAD segment is supported)
feat: execve(2)
feat: MAP_FIXED, MAP_FIXED_NOREPLACE
refactor: mem_map: improved arguments passing
refactor: mm_region: custom page init policy and managed region_release()
refactor: use mem_map to create user stack
chore: update READMEs
25 files changed:
README.md
docs/README_en.md
lunaix-os/includes/lunaix/common.h
lunaix-os/includes/lunaix/elf.h [new file with mode: 0644]
lunaix-os/includes/lunaix/fs.h
lunaix-os/includes/lunaix/ld.h [new file with mode: 0644]
lunaix-os/includes/lunaix/mm/mm.h
lunaix-os/includes/lunaix/mm/mmap.h
lunaix-os/includes/lunaix/mm/region.h
lunaix-os/includes/lunaix/spike.h
lunaix-os/includes/lunaix/status.h
lunaix-os/includes/lunaix/syscall.h
lunaix-os/includes/usr/sys/mann_flags.h
lunaix-os/includes/usr/unistd.h
lunaix-os/kernel/asm/x86/pfault.c
lunaix-os/kernel/asm/x86/syscall.S
lunaix-os/kernel/fs/vfs.c
lunaix-os/kernel/loader/elf.c [new file with mode: 0644]
lunaix-os/kernel/loader/exec.c [new file with mode: 0644]
lunaix-os/kernel/loader/ld.c [new file with mode: 0644]
lunaix-os/kernel/mm/mmap.c
lunaix-os/kernel/mm/region.c
lunaix-os/kernel/process/process.c
lunaix-os/kernel/process/sched.c
lunaix-os/usr/api/unistd.c