Rev 3071 | Rev 3837 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3071 | Rev 3830 | ||
|---|---|---|---|
| Line 37... | Line 37... | ||
| 37 | 37 | ||
| 38 | #include <arch/interrupt.h> |
38 | #include <arch/interrupt.h> |
| 39 | #include <arch/types.h> |
39 | #include <arch/types.h> |
| 40 | #include <typedefs.h> |
40 | #include <typedefs.h> |
| 41 | 41 | ||
| - | 42 | #define WIMG_GUARDED 0x01 |
|
| - | 43 | #define WIMG_COHERENT 0x02 |
|
| - | 44 | #define WIMG_NO_CACHE 0x04 |
|
| - | 45 | #define WIMG_WRITETHRU 0x08 |
|
| - | 46 | ||
| 42 | typedef struct { |
47 | typedef struct { |
| 43 | unsigned v : 1; /**< Valid */ |
48 | unsigned v : 1; /**< Valid */ |
| 44 | unsigned vsid : 24; /**< Virtual Segment ID */ |
49 | unsigned vsid : 24; /**< Virtual Segment ID */ |
| 45 | unsigned h : 1; /**< Primary/secondary hash */ |
50 | unsigned h : 1; /**< Primary/secondary hash */ |
| 46 | unsigned api : 6; /**< Abbreviated Page Index */ |
51 | unsigned api : 6; /**< Abbreviated Page Index */ |