mirror of
https://github.com/tailix/kernel.git
synced 2025-07-31 22:00:58 -04:00
Add types for ELF relocation table
This commit is contained in:
parent
8e3260cbf1
commit
d9aeead3b6
1 changed files with 8 additions and 0 deletions
|
@ -58,10 +58,18 @@ struct KernelMQ_ELF_SectionEntry {
|
||||||
}
|
}
|
||||||
__attribute__((packed));
|
__attribute__((packed));
|
||||||
|
|
||||||
|
struct KernelMQ_ELF_RelocationEntry {
|
||||||
|
unsigned long virt_addr : 32;
|
||||||
|
unsigned long info : 32;
|
||||||
|
}
|
||||||
|
__attribute__((packed));
|
||||||
|
|
||||||
typedef struct KernelMQ_ELF_ProgramEntry KernelMQ_ELF_ProgramTable[];
|
typedef struct KernelMQ_ELF_ProgramEntry KernelMQ_ELF_ProgramTable[];
|
||||||
|
|
||||||
typedef struct KernelMQ_ELF_SectionEntry KernelMQ_ELF_SectionTable[];
|
typedef struct KernelMQ_ELF_SectionEntry KernelMQ_ELF_SectionTable[];
|
||||||
|
|
||||||
|
typedef struct KernelMQ_ELF_RelocationEntry KernelMQ_ELF_RelocationTable[];
|
||||||
|
|
||||||
inline static unsigned char KernelMQ_ELF_Header_is_valid(
|
inline static unsigned char KernelMQ_ELF_Header_is_valid(
|
||||||
const struct KernelMQ_ELF_Header *header
|
const struct KernelMQ_ELF_Header *header
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue