Table of Contents
Piotr Jaroszyński: Usermode debugging under Linux
Project Plan
Summary
Allow gPXE to run as a usermode application under Linux on both i386 and x86_64. Hence opening new debugging possibilities and shortening the development cycle considerably.
Tasks
Already done
- Add a
linuxPLATFORM- Link against hacked
stdlib - Add linker scripts for
i386andx86_64with tables support
- Add the necessary subsystems for a tap network driver
CONSOLE_LINUXTIMER_LINUXUACCESS_LINUXUMALLOC_LINUXNAP_LINUXSMBIOS_LINUX(empty)
- Add a tap network driver
- Add command-line arguments allowing configuration of the tap driver
- Drop the stdlib dep
- Implement
syscall()andlinux_*on top of it where possible - Implement
linux_realloc - Implement
_start - Make it not too hard to switch to linking to stdlib for debugging purposes
Current
- Making gPXE valgrindable
Planned for near future
- Research how to map gPXE's driver API to hardware via kernel