Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/arm64/gic_v3_reg.h
| Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
| /* | /* | ||||
| * Registers (v2/v3) | * Registers (v2/v3) | ||||
| */ | */ | ||||
| /* GICD_CTLR */ | /* GICD_CTLR */ | ||||
| #define GICD_CTLR_G1 (1 << 0) | #define GICD_CTLR_G1 (1 << 0) | ||||
| #define GICD_CTLR_G1A (1 << 1) | #define GICD_CTLR_G1A (1 << 1) | ||||
| #define GICD_CTLR_ARE_NS (1 << 4) | #define GICD_CTLR_ARE_NS (1 << 4) | ||||
| #define GICD_CTLR_RWP (1 << 31) | #define GICD_CTLR_RWP (1U << 31) | ||||
| /* GICD_TYPER */ | /* GICD_TYPER */ | ||||
| #define GICD_TYPER_IDBITS(n) ((((n) >> 19) & 0x1F) + 1) | #define GICD_TYPER_IDBITS(n) ((((n) >> 19) & 0x1F) + 1) | ||||
| /* | /* | ||||
| * Registers (v3) | * Registers (v3) | ||||
| */ | */ | ||||
| #define GICD_IROUTER(n) (0x6000 + ((n) * 8)) | #define GICD_IROUTER(n) (0x6000 + ((n) * 8)) | ||||
| ▲ Show 20 Lines • Show All 353 Lines • Show Last 20 Lines | |||||