Rev 534 | Rev 741 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 534 | Rev 727 | ||
|---|---|---|---|
| Line 28... | Line 28... | ||
| 28 | 28 | ||
| 29 | #ifndef __mips32_ASID_H__ |
29 | #ifndef __mips32_ASID_H__ |
| 30 | #define __mips32_ASID_H__ |
30 | #define __mips32_ASID_H__ |
| 31 | 31 | ||
| 32 | #include <arch/types.h> |
32 | #include <arch/types.h> |
| 33 | #include <typedefs.h> |
- | |
| 34 | 33 | ||
| 35 | #define ASIDS 256 |
- | |
| 36 | #define ASID_INVALID 0 |
- | |
| 37 | #define ASID_START 1 |
34 | #define ASID_MAX_ARCH 255 |
| 38 | 35 | ||
| 39 | typedef __u8 asid_t; |
36 | typedef __u8 asid_t; |
| 40 | 37 | ||
| 41 | extern asid_t asid_get(void); |
- | |
| 42 | extern void asid_put(asid_t asid); |
- | |
| 43 | extern bool asid_has_conflicts(asid_t asid); |
- | |
| 44 | - | ||
| 45 | #endif |
38 | #endif |