]>
Commit | Line | Data |
---|---|---|
1 | #ifndef _PAGETABLE_H | |
2 | #define _PAGETABLE_H | |
3 | ||
4 | #include <stdint.h> | |
5 | ||
6 | void * l2p(void * addr); | |
7 | ||
8 | typedef struct { | |
9 | uint32_t signature; | |
10 | uint32_t type; | |
11 | uint8_t data[]; | |
12 | } packet_t; | |
13 | ||
14 | packet_t * check_packet(uint32_t logical_addr); | |
15 | ||
16 | #endif /* _PAGETABLE_H */ |