Rev 2131 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2131 | Rev 2175 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | #ifndef KERN_arm32_ASID_H_ |
35 | #ifndef KERN_arm32_ASID_H_ |
36 | #define KERN_arm32_ASID_H_ |
36 | #define KERN_arm32_ASID_H_ |
37 | 37 | ||
38 | #include <arch/types.h> |
38 | #include <arch/types.h> |
39 | 39 | ||
40 | #define ASID_MAX_ARCH 3 /* TODO */ |
40 | #define ASID_MAX_ARCH 3 /* minimal required number */ |
41 | 41 | ||
42 | typedef uint8_t asid_t; |
42 | typedef uint8_t asid_t; |
43 | 43 | ||
- | 44 | ||
- | 45 | #define asid_get() ( ASID_START + 1 ) |
|
- | 46 | /* this works due to that this file is never included alone but only throught |
|
- | 47 | "generic/include/mm/asid.h" where ASID_START is defined |
|
- | 48 | */ |
|
- | 49 | #define asid_put(asid) |
|
- | 50 | ||
44 | #endif |
51 | #endif |
45 | 52 | ||
46 | /** @} |
53 | /** @} |
47 | */ |
54 | */ |