mirror of
1
0
Fork 0
Linux system call emulation within the UEFI environment
Go to file
niansa b5f785836d Initial commit 2023-09-15 01:16:18 +02:00
include Initial commit 2023-09-15 01:16:18 +02:00
nolibc Initial commit 2023-09-15 01:16:18 +02:00
src Initial commit 2023-09-15 01:16:18 +02:00
.gitignore Initial commit 2023-09-15 01:16:18 +02:00
LICENSE Initial commit 2023-09-15 01:16:18 +02:00
Makefile Initial commit 2023-09-15 01:16:18 +02:00
Makefile_cst Initial commit 2023-09-15 01:16:18 +02:00
README.md Initial commit 2023-09-15 01:16:18 +02:00
prep.sh Initial commit 2023-09-15 01:16:18 +02:00

README.md

UEFI Linux

No, this projects aim is not booting Linux from UEFI (which is already possible), but instead to emulate basic Linux system calls within the UEFI environment.

Why???

For fun. Nothing else. It this project would, in theory, eventually allow you to use any Linux C library in the UEFI environment.

Status

Implemented:

  • Console I/O
  • File I/O
  • Directory I/O
  • Basic memory management (mmap/munmap)
  • Time keeping (gettimeofday/select)
  • Exit/Reboot/Poweroff
  • Basic signals (getpid() returns a PID that can be kill()ed)
  • System call emulation through function call

Planned:

  • Networking

Won't happen:

  • Multhreading
  • syscall instruction emulation

Misc

This is purely a showcase, not a library meant for production use. I will give no support of any kind, but I'm happy to answer any development related questions you may have.