|
Linux Kernel
3.7.1
|
#include <stdarg.h>#include <stddef.h>#include "types.h"#include "elf.h"#include "page.h"#include "string.h"#include "stdio.h"#include "io.h"#include "ops.h"#include "gunzip_util.h"#include "mv64x60.h"Go to the source code of this file.
Data Structures | |
| struct | prpmc2800_board_info |
Macros | |
| #define | KB 1024U |
| #define | MB (KB*KB) |
| #define | GB (KB*MB) |
| #define | MHz (1000U*1000U) |
| #define | GHz (1000U*MHz) |
| #define | BOARD_MODEL "PrPMC2800" |
| #define | BOARD_MODEL_MAX 32 /* max strlen(BOARD_MODEL) + 1 */ |
| #define | EEPROM2_ADDR 0xa4 |
| #define | EEPROM3_ADDR 0xa8 |
| #define | MV64x60_MPP_CNTL_0 0xf000 |
| #define | MV64x60_MPP_CNTL_2 0xf008 |
| #define | MV64x60_GPP_IO_CNTL 0xf100 |
| #define | MV64x60_GPP_LEVEL_CNTL 0xf110 |
| #define | MV64x60_GPP_VALUE_SET 0xf118 |
| #define | HEAP_SIZE (16*MB) |
Enumerations | |
| enum | prpmc2800_board_model { BOARD_MODEL_PRPMC280, BOARD_MODEL_PRPMC2800 } |
| enum | prpmc2800_bridge_type { BRIDGE_TYPE_MV64360, BRIDGE_TYPE_MV64362 } |
Functions | |
| BSS_STACK (16 *KB) | |
| void | platform_init (unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7) |
| asm (" .globl _zimage_start\n\ _zimage_start:\n\ mfmsr 10\n\ rlwinm 10,10,0,~(1<<15) /* Clear MSR_EE */\n\ sync\n\ mtmsr 10\n\ isync\n\ b _zimage_start_lib\n\ ") | |
| #define BOARD_MODEL "PrPMC2800" |
Definition at line 30 of file prpmc2800.c.
| #define BOARD_MODEL_MAX 32 /* max strlen(BOARD_MODEL) + 1 */ |
Definition at line 31 of file prpmc2800.c.
| #define EEPROM2_ADDR 0xa4 |
Definition at line 33 of file prpmc2800.c.
| #define EEPROM3_ADDR 0xa8 |
Definition at line 34 of file prpmc2800.c.
Definition at line 26 of file prpmc2800.c.
| #define GHz (1000U*MHz) |
Definition at line 28 of file prpmc2800.c.
| #define HEAP_SIZE (16*MB) |
Definition at line 510 of file prpmc2800.c.
| #define KB 1024U |
Definition at line 24 of file prpmc2800.c.
Definition at line 25 of file prpmc2800.c.
| #define MHz (1000U*1000U) |
Definition at line 27 of file prpmc2800.c.
| #define MV64x60_GPP_IO_CNTL 0xf100 |
Definition at line 468 of file prpmc2800.c.
| #define MV64x60_GPP_LEVEL_CNTL 0xf110 |
Definition at line 469 of file prpmc2800.c.
| #define MV64x60_GPP_VALUE_SET 0xf118 |
Definition at line 470 of file prpmc2800.c.
| #define MV64x60_MPP_CNTL_0 0xf000 |
Definition at line 466 of file prpmc2800.c.
| #define MV64x60_MPP_CNTL_2 0xf008 |
Definition at line 467 of file prpmc2800.c.
Definition at line 40 of file prpmc2800.c.
Definition at line 45 of file prpmc2800.c.
| asm | ( | " .globl _zimage_start\n\ _zimage_start:\n\ mfmsr 10\n\ rlwinm | 10, |
| 10 | , | ||
| 0 | , | ||
| ~(1<< 15)/*Clear MSR_EE */\n\sync\n\mtmsr 10\n\isync\n\b _zimage_start_lib\n\" | |||
| ) |
| BSS_STACK | ( | 16 * | KB | ) |
1.8.2