Changeset 4512d7e in mainline for generic/include/mm/asid.h
- Timestamp:
- 2006-01-19T22:17:47Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6461d67c
- Parents:
- 64c44e8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/mm/asid.h
r64c44e8 r4512d7e 27 27 */ 28 28 29 /* 30 * This is generic interface for managing 31 * Address Space IDentifiers (ASIDs). 32 */ 33 29 34 #ifndef __ASID_H__ 30 35 #define __ASID_H__ 31 36 37 #include <arch/mm/asid.h> 38 #include <typedefs.h> 39 32 40 #define ASID_KERNEL 0 41 #define ASID_INVALID 1 42 #define ASID_START 2 43 #define ASID_MAX ASID_MAX_ARCH 44 45 #define ASIDS_ALLOCABLE ((ASID_MAX+1)-ASID_START) 46 47 extern spinlock_t asidlock; 48 extern link_t as_with_asid_head; 49 50 extern asid_t asid_get(void); 51 extern void asid_put(asid_t asid); 52 53 #ifndef asid_install 54 extern void asid_install(as_t *as); 55 #endif /* !def asid_install */ 56 57 #define asid_find_free() ASID_START 58 #define asid_put_arch(x) 33 59 34 60 #endif
Note:
See TracChangeset
for help on using the changeset viewer.