|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/init.h>#include <linux/string.h>#include <linux/console.h>#include <asm/addrspace.h>#include <asm/sni.h>#include <asm/mipsprom.h>#include <asm/mipsregs.h>#include <asm/bootinfo.h>Go to the source code of this file.
Macros | |
| #define | PROM_GET_MEMCONF 58 |
| #define | PROM_GET_HWCONF 61 |
| #define | PROM_VEC (u64 *)CKSEG1ADDR(0x1fc00000) |
| #define | PROM_ENTRY(x) (PROM_VEC + (x)) |
| #define | ___prom_putchar ((int *(*)(int))PROM_ENTRY(PROM_PUTCHAR)) |
| #define | ___prom_getenv ((char *(*)(char *))PROM_ENTRY(PROM_GETENV)) |
| #define | ___prom_get_memconf ((void (*)(void *))PROM_ENTRY(PROM_GET_MEMCONF)) |
| #define | ___prom_get_hwconf ((u32 (*)(void))PROM_ENTRY(PROM_GET_HWCONF)) |
| #define | _prom_putchar(x) ___prom_putchar(x) |
| #define | _prom_getenv(x) ___prom_getenv(x) |
| #define | _prom_get_memconf(x) ___prom_get_memconf(x) |
| #define | _prom_get_hwconf(x) ___prom_get_hwconf(x) |
Functions | |
| void | prom_putchar (char c) |
| char * | prom_getenv (char *s) |
| void * | prom_get_hwconf (void) |
| void __init | prom_free_prom_memory (void) |
| const char * | get_system_type (void) |
| void __init | prom_init (void) |
Variables | |
| char * | system_type = "Unknown" |
| #define ___prom_get_hwconf ((u32 (*)(void))PROM_ENTRY(PROM_GET_HWCONF)) |
| #define ___prom_get_memconf ((void (*)(void *))PROM_ENTRY(PROM_GET_MEMCONF)) |
| #define ___prom_getenv ((char *(*)(char *))PROM_ENTRY(PROM_GETENV)) |
| #define ___prom_putchar ((int *(*)(int))PROM_ENTRY(PROM_PUTCHAR)) |
| #define _prom_get_hwconf | ( | x | ) | ___prom_get_hwconf(x) |
| #define _prom_get_memconf | ( | x | ) | ___prom_get_memconf(x) |
| #define _prom_getenv | ( | x | ) | ___prom_getenv(x) |
| #define _prom_putchar | ( | x | ) | ___prom_putchar(x) |
| #define PROM_VEC (u64 *)CKSEG1ADDR(0x1fc00000) |
1.8.2