This is an old revision of the document!
====== 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. [[soc/2010/peper/notes/implementation_details|Implementation details]] ==== Tasks ==== Already done: * Add a ''linux'' ''PLATFORM'' * Link against hacked ''stdlib'' * Add linker scripts for ''i386'' and ''x86_64'' with tables support Current: * Add the necessary subsystems for a tap network driver [Needs cleanup] * ''CONSOLE_LINUX'' * ''TIMER_LINUX'' * ''UACCESS_LINUX'' * ''UMALLOC_LINUX'' * ''NAP_LINUX'' * Add a tap network driver [Needs cleanup] * Add command-line arguments allowing configuration of the tap driver Planned for near future: * Implement syscall interface directly (i.e. don't use ''stdlib'') Planned for later: * Research how to map gPXE's driver API to hardware via kernel