- small bug fixes to the elf bootloader - factor the elf bootloader into focused smal subroutines that are easier to comprehend and maintain - Implement support for PT_NOTE headers and parsing ELF notes if we need special functionality An ELF Image should never need an ELF loader to interpret an ELF to work correctly, making interpretation of all ELF notes optional. - Implement support for notes giving PROGRAM_NAME, PROGRAM_VERSION, and PROGRAM_CHECKSUM
7 lines
234 B
C
7 lines
234 B
C
#ifndef IP_CHECKSUM_H
|
|
#define IP_CHECKSUM_H
|
|
|
|
unsigned long compute_ip_checksum(void *addr, unsigned long length);
|
|
unsigned long add_ip_checksums(unsigned long offset, unsigned long sum, unsigned long new);
|
|
|
|
#endif /* IP_CHECKSUM_H */
|