Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
bootinfo.h File Reference
#include <linux/types.h>
#include <asm/setup.h>

Go to the source code of this file.

Data Structures

struct  boot_mem_map
 
struct  boot_mem_map::boot_mem_map_entry
 

Macros

#define MACH_UNKNOWN   0 /* whatever... */
 
#define MACH_DSUNKNOWN   0
 
#define MACH_DS23100   1 /* DECstation 2100 or 3100 */
 
#define MACH_DS5100   2 /* DECsystem 5100 */
 
#define MACH_DS5000_200   3 /* DECstation 5000/200 */
 
#define MACH_DS5000_1XX   4 /* DECstation 5000/120, 125, 133, 150 */
 
#define MACH_DS5000_XX   5 /* DECstation 5000/20, 25, 33, 50 */
 
#define MACH_DS5000_2X0   6 /* DECstation 5000/240, 260 */
 
#define MACH_DS5400   7 /* DECsystem 5400 */
 
#define MACH_DS5500   8 /* DECsystem 5500 */
 
#define MACH_DS5800   9 /* DECsystem 5800 */
 
#define MACH_DS5900   10 /* DECsystem 5900 */
 
#define MACH_MSP4200_EVAL   0 /* PMC-Sierra MSP4200 Evaluation */
 
#define MACH_MSP4200_GW   1 /* PMC-Sierra MSP4200 Gateway demo */
 
#define MACH_MSP4200_FPGA   2 /* PMC-Sierra MSP4200 Emulation */
 
#define MACH_MSP7120_EVAL   3 /* PMC-Sierra MSP7120 Evaluation */
 
#define MACH_MSP7120_GW   4 /* PMC-Sierra MSP7120 Residential GW */
 
#define MACH_MSP7120_FPGA   5 /* PMC-Sierra MSP7120 Emulation */
 
#define MACH_MSP_OTHER   255 /* PMC-Sierra unknown board type */
 
#define MACH_MIKROTIK_RB532   0 /* Mikrotik RouterBoard 532 */
 
#define MACH_MIKROTIK_RB532A   1 /* Mikrotik RouterBoard 532A */
 
#define MACH_LOONGSON_UNKNOWN   0
 
#define MACH_LEMOTE_FL2E   1
 
#define MACH_LEMOTE_FL2F   2
 
#define MACH_LEMOTE_ML2F7   3
 
#define MACH_LEMOTE_YL2F89   4
 
#define MACH_DEXXON_GDIUM2F10   5
 
#define MACH_LEMOTE_NAS   6
 
#define MACH_LEMOTE_LL2F   7
 
#define MACH_LOONGSON_END   8
 
#define MACH_INGENIC_JZ4730   0 /* JZ4730 SOC */
 
#define MACH_INGENIC_JZ4740   1 /* JZ4740 SOC */
 
#define BOOT_MEM_MAP_MAX   32
 
#define BOOT_MEM_RAM   1
 
#define BOOT_MEM_ROM_DATA   2
 
#define BOOT_MEM_RESERVED   3
 
#define BOOT_MEM_INIT_RAM   4
 

Functions

const charget_system_type (void)
 
void add_memory_region (phys_t start, phys_t size, long type)
 
void prom_init (void)
 
void prom_free_prom_memory (void)
 
void free_init_pages (const char *what, unsigned long begin, unsigned long end)
 
void plat_mem_setup (void)
 

Variables

charsystem_type
 
unsigned long mips_machtype
 
struct boot_mem_map boot_mem_map
 
char arcs_cmdline [COMMAND_LINE_SIZE]
 
unsigned long fw_arg0
 
unsigned long fw_arg1
 
unsigned long fw_arg2
 
unsigned long fw_arg3
 

Macro Definition Documentation

#define BOOT_MEM_INIT_RAM   4

Definition at line 89 of file bootinfo.h.

#define BOOT_MEM_MAP_MAX   32

Definition at line 85 of file bootinfo.h.

#define BOOT_MEM_RAM   1

Definition at line 86 of file bootinfo.h.

#define BOOT_MEM_RESERVED   3

Definition at line 88 of file bootinfo.h.

#define BOOT_MEM_ROM_DATA   2

Definition at line 87 of file bootinfo.h.

#define MACH_DEXXON_GDIUM2F10   5

Definition at line 69 of file bootinfo.h.

#define MACH_DS23100   1 /* DECstation 2100 or 3100 */

Definition at line 33 of file bootinfo.h.

#define MACH_DS5000_1XX   4 /* DECstation 5000/120, 125, 133, 150 */

Definition at line 36 of file bootinfo.h.

#define MACH_DS5000_200   3 /* DECstation 5000/200 */

Definition at line 35 of file bootinfo.h.

#define MACH_DS5000_2X0   6 /* DECstation 5000/240, 260 */

Definition at line 38 of file bootinfo.h.

#define MACH_DS5000_XX   5 /* DECstation 5000/20, 25, 33, 50 */

Definition at line 37 of file bootinfo.h.

#define MACH_DS5100   2 /* DECsystem 5100 */

Definition at line 34 of file bootinfo.h.

#define MACH_DS5400   7 /* DECsystem 5400 */

Definition at line 39 of file bootinfo.h.

#define MACH_DS5500   8 /* DECsystem 5500 */

Definition at line 40 of file bootinfo.h.

#define MACH_DS5800   9 /* DECsystem 5800 */

Definition at line 41 of file bootinfo.h.

#define MACH_DS5900   10 /* DECsystem 5900 */

Definition at line 42 of file bootinfo.h.

#define MACH_DSUNKNOWN   0

Definition at line 32 of file bootinfo.h.

#define MACH_INGENIC_JZ4730   0 /* JZ4730 SOC */

Definition at line 77 of file bootinfo.h.

#define MACH_INGENIC_JZ4740   1 /* JZ4740 SOC */

Definition at line 78 of file bootinfo.h.

#define MACH_LEMOTE_FL2E   1

Definition at line 65 of file bootinfo.h.

#define MACH_LEMOTE_FL2F   2

Definition at line 66 of file bootinfo.h.

#define MACH_LEMOTE_LL2F   7

Definition at line 71 of file bootinfo.h.

#define MACH_LEMOTE_ML2F7   3

Definition at line 67 of file bootinfo.h.

#define MACH_LEMOTE_NAS   6

Definition at line 70 of file bootinfo.h.

#define MACH_LEMOTE_YL2F89   4

Definition at line 68 of file bootinfo.h.

#define MACH_LOONGSON_END   8

Definition at line 72 of file bootinfo.h.

#define MACH_LOONGSON_UNKNOWN   0

Definition at line 64 of file bootinfo.h.

#define MACH_MIKROTIK_RB532   0 /* Mikrotik RouterBoard 532 */

Definition at line 58 of file bootinfo.h.

#define MACH_MIKROTIK_RB532A   1 /* Mikrotik RouterBoard 532A */

Definition at line 59 of file bootinfo.h.

#define MACH_MSP4200_EVAL   0 /* PMC-Sierra MSP4200 Evaluation */

Definition at line 47 of file bootinfo.h.

#define MACH_MSP4200_FPGA   2 /* PMC-Sierra MSP4200 Emulation */

Definition at line 49 of file bootinfo.h.

#define MACH_MSP4200_GW   1 /* PMC-Sierra MSP4200 Gateway demo */

Definition at line 48 of file bootinfo.h.

#define MACH_MSP7120_EVAL   3 /* PMC-Sierra MSP7120 Evaluation */

Definition at line 50 of file bootinfo.h.

#define MACH_MSP7120_FPGA   5 /* PMC-Sierra MSP7120 Emulation */

Definition at line 52 of file bootinfo.h.

#define MACH_MSP7120_GW   4 /* PMC-Sierra MSP7120 Residential GW */

Definition at line 51 of file bootinfo.h.

#define MACH_MSP_OTHER   255 /* PMC-Sierra unknown board type */

Definition at line 53 of file bootinfo.h.

#define MACH_UNKNOWN   0 /* whatever... */

Definition at line 27 of file bootinfo.h.

Function Documentation

void add_memory_region ( phys_t  start,
phys_t  size,
long  type 
)

Definition at line 79 of file setup.c.

void free_init_pages ( const char what,
unsigned long  begin,
unsigned long  end 
)

Definition at line 435 of file init.c.

const char* get_system_type ( void  )

Definition at line 38 of file board-gpr.c.

void plat_mem_setup ( void  )

Definition at line 41 of file setup.c.

void prom_free_prom_memory ( void  )

Definition at line 127 of file prom.c.

void prom_init ( void  )

Early entry point for arch setup

Definition at line 43 of file board-gpr.c.

Variable Documentation

char arcs_cmdline[COMMAND_LINE_SIZE]

Definition at line 63 of file setup.c.

Definition at line 60 of file setup.c.

unsigned long fw_arg0

Definition at line 627 of file setup.c.

unsigned long fw_arg1

Definition at line 627 of file setup.c.

unsigned long fw_arg2

Definition at line 627 of file setup.c.

unsigned long fw_arg3

Definition at line 627 of file setup.c.

unsigned long mips_machtype
char* system_type

Definition at line 83 of file identify.c.