This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== 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. [[..:notes/implementation_details|Implementation details]] [[..:notes/usermode_explained|How usermode under Linux is done]] ==== Tasks ==== === Already done === * Add a ''linux'' ''PLATFORM'' * Link against hacked ''stdlib'' * Add linker scripts for ''i386'' and ''x86_64'' with tables support * Add the necessary subsystems for a tap network driver * ''CONSOLE_LINUX'' * ''TIMER_LINUX'' * ''UACCESS_LINUX'' * ''UMALLOC_LINUX'' * ''NAP_LINUX'' * ''SMBIOS_LINUX'' (empty) * Add a tap network driver * Add command-line arguments allowing configuration of the tap driver === Current === * Drop the stdlib dep * Implement ''syscall()'' and ''linux_*'' 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 === Planned for near future === * Running under valgrind === Planned for later === * Research how to map gPXE's driver API to hardware via kernel


QR Code
QR Code soc:2010:peper:project_plan:start (generated for current page)