You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
240 B
17 lines
240 B
20 years ago
|
#ifndef __ARM_MMU_H
|
||
|
#define __ARM_MMU_H
|
||
|
|
||
|
typedef struct {
|
||
|
#if __LINUX_ARM_ARCH__ >= 6
|
||
|
unsigned int id;
|
||
|
#endif
|
||
|
} mm_context_t;
|
||
|
|
||
|
#if __LINUX_ARM_ARCH__ >= 6
|
||
|
#define ASID(mm) ((mm)->context.id & 255)
|
||
|
#else
|
||
|
#define ASID(mm) (0)
|
||
|
#endif
|
||
|
|
||
|
#endif
|