Rev 1703 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1703 | Rev 1780 | ||
|---|---|---|---|
| Line 45... | Line 45... | ||
| 45 | #define TRAP_TABLE_ENTRY_SIZE 32 |
45 | #define TRAP_TABLE_ENTRY_SIZE 32 |
| 46 | #define TRAP_TABLE_SIZE (TRAP_TABLE_ENTRY_COUNT*TRAP_TABLE_ENTRY_SIZE) |
46 | #define TRAP_TABLE_SIZE (TRAP_TABLE_ENTRY_COUNT*TRAP_TABLE_ENTRY_SIZE) |
| 47 | 47 | ||
| 48 | #ifndef __ASM__ |
48 | #ifndef __ASM__ |
| 49 | struct trap_table_entry { |
49 | struct trap_table_entry { |
| 50 | __u8 octets[TRAP_TABLE_ENTRY_SIZE]; |
50 | uint8_t octets[TRAP_TABLE_ENTRY_SIZE]; |
| 51 | } __attribute__ ((packed)); |
51 | } __attribute__ ((packed)); |
| 52 | 52 | ||
| 53 | typedef struct trap_table_entry trap_table_entry_t; |
53 | typedef struct trap_table_entry trap_table_entry_t; |
| 54 | 54 | ||
| 55 | extern trap_table_entry_t trap_table[TRAP_TABLE_ENTRY_COUNT]; |
55 | extern trap_table_entry_t trap_table[TRAP_TABLE_ENTRY_COUNT]; |