mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:07:43 +00:00
Implement loading of linked ELF executables.
This took me a couple hours. :^) The ELF loading code now allocates a single region for the entire file and creates virtual memory mappings for the sections as needed. Very nice!
This commit is contained in:
parent
99ee6acd69
commit
9a71c7759a
16 changed files with 258 additions and 57 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
#define ALWAYS_INLINE __attribute__ ((always_inline))
|
||||
|
||||
static const char h[] = { '0','1','2','3','4','5','6','7', '8','9','a','b','c','d','e','f' };
|
||||
static constexpr const char* h = "0123456789abcdef";
|
||||
|
||||
template<typename PutChFunc>
|
||||
ALWAYS_INLINE int printHex(PutChFunc putch, char*& bufptr, dword number, byte fields)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue