Rev 878 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 878 | Rev 880 | ||
|---|---|---|---|
| Line 46... | Line 46... | ||
| 46 | #define ASID_START 2 |
46 | #define ASID_START 2 |
| 47 | #define ASID_MAX ASID_MAX_ARCH |
47 | #define ASID_MAX ASID_MAX_ARCH |
| 48 | 48 | ||
| 49 | #ifndef __ASM__ |
49 | #ifndef __ASM__ |
| 50 | 50 | ||
| 51 | - | ||
| 52 | #define ASIDS_ALLOCABLE ((ASID_MAX+1)-ASID_START) |
51 | #define ASIDS_ALLOCABLE ((ASID_MAX+1)-ASID_START) |
| 53 | 52 | ||
| 54 | extern spinlock_t asidlock; |
53 | extern spinlock_t asidlock; |
| 55 | extern link_t as_with_asid_head; |
54 | extern link_t as_with_asid_head; |
| 56 | 55 | ||
| - | 56 | #ifndef asid_get |
|
| 57 | extern asid_t asid_get(void); /*This is in collision with ia32 macro*/ |
57 | extern asid_t asid_get(void); |
| - | 58 | #endif /* !def asid_get */ |
|
| - | 59 | ||
| - | 60 | #ifndef asid_put |
|
| 58 | extern void asid_put(asid_t asid); |
61 | extern void asid_put(asid_t asid); |
| - | 62 | #endif /* !def asid_put */ |
|
| 59 | 63 | ||
| 60 | #ifndef asid_install |
64 | #ifndef asid_install |
| 61 | extern void asid_install(as_t *as); |
65 | extern void asid_install(as_t *as); |
| 62 | #endif /* !def asid_install */ |
66 | #endif /* !def asid_install */ |
| 63 | 67 | ||