arch/mips/include/asm/mach-cobalt/cobalt.h

Source file repositories/reference/linux-study-clean/arch/mips/include/asm/mach-cobalt/cobalt.h

File Facts

System
Linux kernel
Corpus path
arch/mips/include/asm/mach-cobalt/cobalt.h
Extension
.h
Size
691 bytes
Lines
26
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.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __ASM_COBALT_H
#define __ASM_COBALT_H

extern int cobalt_board_id;

#define COBALT_BRD_ID_QUBE1    0x3
#define COBALT_BRD_ID_RAQ1     0x4
#define COBALT_BRD_ID_QUBE2    0x5
#define COBALT_BRD_ID_RAQ2     0x6

void cobalt_machine_halt(void);
void cobalt_machine_restart(char *command);

#endif /* __ASM_COBALT_H */

Annotation

Implementation Notes