arch/mips/include/asm/mipsprom.h
Source file repositories/reference/linux-study-clean/arch/mips/include/asm/mipsprom.h
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/include/asm/mipsprom.h- Extension
.h- Size
- 2146 bytes
- Lines
- 78
- 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.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __ASM_MIPSPROM_H
#define __ASM_MIPSPROM_H
#define PROM_RESET 0
#define PROM_EXEC 1
#define PROM_RESTART 2
#define PROM_REINIT 3
#define PROM_REBOOT 4
#define PROM_AUTOBOOT 5
#define PROM_OPEN 6
#define PROM_READ 7
#define PROM_WRITE 8
#define PROM_IOCTL 9
#define PROM_CLOSE 10
#define PROM_GETCHAR 11
#define PROM_PUTCHAR 12
#define PROM_SHOWCHAR 13 /* XXX */
#define PROM_GETS 14 /* XXX */
#define PROM_PUTS 15 /* XXX */
#define PROM_PRINTF 16 /* XXX */
/* What are these for? */
#define PROM_INITPROTO 17 /* XXX */
#define PROM_PROTOENABLE 18 /* XXX */
#define PROM_PROTODISABLE 19 /* XXX */
#define PROM_GETPKT 20 /* XXX */
#define PROM_PUTPKT 21 /* XXX */
/* More PROM shit. Probably has to do with VME RMW cycles??? */
#define PROM_ORW_RMW 22 /* XXX */
#define PROM_ORH_RMW 23 /* XXX */
#define PROM_ORB_RMW 24 /* XXX */
#define PROM_ANDW_RMW 25 /* XXX */
#define PROM_ANDH_RMW 26 /* XXX */
#define PROM_ANDB_RMW 27 /* XXX */
/* Cache handling stuff */
#define PROM_FLUSHCACHE 28 /* XXX */
#define PROM_CLEARCACHE 29 /* XXX */
/* Libc alike stuff */
#define PROM_SETJMP 30 /* XXX */
#define PROM_LONGJMP 31 /* XXX */
#define PROM_BEVUTLB 32 /* XXX */
#define PROM_GETENV 33 /* XXX */
#define PROM_SETENV 34 /* XXX */
#define PROM_ATOB 35 /* XXX */
#define PROM_STRCMP 36 /* XXX */
#define PROM_STRLEN 37 /* XXX */
#define PROM_STRCPY 38 /* XXX */
#define PROM_STRCAT 39 /* XXX */
/* Misc stuff */
#define PROM_PARSER 40 /* XXX */
#define PROM_RANGE 41 /* XXX */
#define PROM_ARGVIZE 42 /* XXX */
#define PROM_HELP 43 /* XXX */
/* Entry points for some PROM commands */
#define PROM_DUMPCMD 44 /* XXX */
#define PROM_SETENVCMD 45 /* XXX */
#define PROM_UNSETENVCMD 46 /* XXX */
#define PROM_PRINTENVCMD 47 /* XXX */
#define PROM_BEVEXCEPT 48 /* XXX */
#define PROM_ENABLECMD 49 /* XXX */
#define PROM_DISABLECMD 50 /* XXX */
#define PROM_CLEARNOFAULT 51 /* XXX */
#define PROM_NOTIMPLEMENT 52 /* XXX */
#define PROM_NV_GET 53 /* XXX */
#define PROM_NV_SET 54 /* XXX */
extern char *prom_getenv(char *);
#endif /* __ASM_MIPSPROM_H */
Annotation
- 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.