aboutsummaryrefslogtreecommitdiff
path: root/usr
Commit message (Collapse)AuthorAgeFilesLines
* Initial parsing of the provided initrd fileMiquel Sabaté Solà2024-11-212-0/+26
| | | | | | | | | | | | We expect a CPIO archive with the 'newc' format for the initrd. Parse this archive from the given initrd address and fetch the address for each ELF executable while also pairing which task correspond to which ELF. This commit leaves to do the actual parsing of the ELF file for each task, while also leaving some string utilities to be refined. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* usr: Bootstrap the initramfs for the kernelMiquel Sabaté Solà2024-11-181-0/+13
Introduce a sample `foo` program which already calls the `write_and_block` system call which is yet to be implemented by this kernel. Moreover, the same CPIO format is used for the initramfs as with Linux, so we can pass it with QEMU without worries. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>