arch/mips/include/asm/sn/sn0/hubmd.h
Source file repositories/reference/linux-study-clean/arch/mips/include/asm/sn/sn0/hubmd.h
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/include/asm/sn/sn0/hubmd.h- Extension
.h- Size
- 26673 bytes
- Lines
- 790
- Domain
- Architecture Layer
- Bucket
- arch/mips
- Inferred role
- Architecture Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
struct dir_error_regstruct mem_error_regstruct proto_error_regstruct md_sdir_high_fmtstruct md_sdir_low_shared_fmtstruct md_sdir_low_exclusive_fmtstruct md_pdir_high_fmtstruct md_pdir_low_shared_fmtstruct md_pdir_low_exclusive_fmt
Annotated Snippet
struct dir_error_reg {
u64 uce_vld: 1, /* 63: valid directory uce */
ae_vld: 1, /* 62: valid dir prot ecc error */
ce_vld: 1, /* 61: valid correctable ECC err*/
rsvd1: 19, /* 60-42: reserved */
bad_prot: 3, /* 41-39: encoding, bad access rights*/
bad_syn: 7, /* 38-32: bad dir syndrome */
rsvd2: 2, /* 31-30: reserved */
hspec_addr:27, /* 29-03: bddir space bad entry */
uce_ovr: 1, /* 2: multiple dir uce's */
ae_ovr: 1, /* 1: multiple prot ecc errs*/
ce_ovr: 1; /* 0: multiple correctable errs */
};
typedef union md_dir_error {
u64 derr_reg; /* the entire register */
struct dir_error_reg derr_fmt; /* the register format */
} md_dir_error_t;
struct mem_error_reg {
u64 uce_vld: 1, /* 63: valid memory uce */
ce_vld: 1, /* 62: valid correctable ECC err*/
rsvd1: 22, /* 61-40: reserved */
bad_syn: 8, /* 39-32: bad mem ecc syndrome */
address: 29, /* 31-03: bad entry pointer */
rsvd2: 1, /* 2: reserved */
uce_ovr: 1, /* 1: multiple mem uce's */
ce_ovr: 1; /* 0: multiple correctable errs */
};
typedef union md_mem_error {
u64 merr_reg; /* the entire register */
struct mem_error_reg merr_fmt; /* format of the mem_error reg */
} md_mem_error_t;
struct proto_error_reg {
u64 valid: 1, /* 63: valid protocol error */
rsvd1: 2, /* 62-61: reserved */
initiator:11, /* 60-50: id of request initiator*/
backoff: 2, /* 49-48: backoff control */
msg_type: 8, /* 47-40: type of request */
access: 2, /* 39-38: access rights of initiator*/
priority: 1, /* 37: priority level of requestor*/
dir_state: 4, /* 36-33: state of directory */
pointer_me:1, /* 32: initiator same as dir ptr */
address: 29, /* 31-03: request address */
rsvd2: 2, /* 02-01: reserved */
overrun: 1; /* 0: multiple protocol errs */
};
typedef union md_proto_error {
u64 perr_reg; /* the entire register */
struct proto_error_reg perr_fmt; /* format of the register */
} md_proto_error_t;
struct md_sdir_high_fmt {
unsigned short sd_hi_bvec : 11,
sd_hi_ecc : 5;
};
typedef union md_sdir_high {
/* The 16 bits of standard directory, upper word */
unsigned short sd_hi_val;
struct md_sdir_high_fmt sd_hi_fmt;
}md_sdir_high_t;
struct md_sdir_low_shared_fmt {
/* The meaning of lower directory, shared */
unsigned short sds_lo_bvec : 5,
sds_lo_unused: 1,
sds_lo_state : 3,
sds_lo_prio : 1,
sds_lo_ax : 1,
sds_lo_ecc : 5;
};
struct md_sdir_low_exclusive_fmt {
/* The meaning of lower directory, exclusive */
unsigned short sde_lo_ptr : 6,
sde_lo_state : 3,
sde_lo_prio : 1,
sde_lo_ax : 1,
sde_lo_ecc : 5;
};
Annotation
- Detected declarations: `struct dir_error_reg`, `struct mem_error_reg`, `struct proto_error_reg`, `struct md_sdir_high_fmt`, `struct md_sdir_low_shared_fmt`, `struct md_sdir_low_exclusive_fmt`, `struct md_pdir_high_fmt`, `struct md_pdir_low_shared_fmt`, `struct md_pdir_low_exclusive_fmt`.
- Atlas domain: Architecture Layer / arch/mips.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.