]>
Commit | Line | Data |
---|---|---|
3c4e084d JP |
1 | /* packet.h |
2 | * OS-to-NetWatch communication packet interface | |
3 | * NetWatch system management mode administration console | |
4 | * | |
5 | * Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved. | |
6 | * This program is free software; you can redistribute and/or modify it under | |
7 | * the terms found in the file LICENSE in the root of this source tree. | |
8 | * | |
9 | */ | |
10 | ||
05c5b136 JP |
11 | #ifndef _PAGETABLE_H |
12 | #define _PAGETABLE_H | |
13 | ||
14 | #include <stdint.h> | |
15 | ||
16 | void * l2p(void * addr); | |
17 | ||
18 | typedef struct { | |
19 | uint32_t signature; | |
20 | uint32_t type; | |
21 | uint8_t data[]; | |
22 | } packet_t; | |
23 | ||
24 | packet_t * check_packet(uint32_t logical_addr); | |
25 | ||
26 | #endif /* _PAGETABLE_H */ |