Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
setup.c File Reference
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/irq.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/serial_pnx8xxx.h>
#include <linux/pm.h>
#include <asm/cpu.h>
#include <asm/bootinfo.h>
#include <asm/irq.h>
#include <asm/mipsregs.h>
#include <asm/reboot.h>
#include <asm/pgtable.h>
#include <asm/time.h>
#include <glb.h>
#include <int.h>
#include <pci.h>
#include <uart.h>
#include <nand.h>

Go to the source code of this file.


#define STANDARD_IO_RESOURCES   ARRAY_SIZE(standard_io_resources)


void __init board_setup (void)
void pnx8550_machine_restart (char *)
void pnx8550_machine_halt (void)
charprom_getcmdline (void)
unsigned long get_system_mem_size (void)
void __init plat_mem_setup (void)


struct resource ioport_resource
struct resource iomem_resource
struct resource standard_io_resources []
struct resource pci_io_resource
struct resource pci_mem_resource
int pnx8550_console_port = -1

Macro Definition Documentation

#define STANDARD_IO_RESOURCES   ARRAY_SIZE(standard_io_resources)

Definition at line 75 of file setup.c.

Function Documentation

void __init board_setup ( void  )

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

unsigned long get_system_mem_size ( void  )

Definition at line 81 of file setup.c.

void __init plat_mem_setup ( void  )

Definition at line 93 of file setup.c.

void pnx8550_machine_halt ( void  )

Definition at line 34 of file reset.c.

void pnx8550_machine_restart ( char )

Definition at line 29 of file reset.c.

char* prom_getcmdline ( void  )

Definition at line 34 of file malta-cmdline.c.

Variable Documentation

struct resource iomem_resource

Definition at line 35 of file resource.c.

struct resource ioport_resource

Definition at line 27 of file resource.c.

struct resource pci_io_resource
struct resource pci_mem_resource
int pnx8550_console_port = -1

Definition at line 91 of file setup.c.

struct resource standard_io_resources[]
Initial value:
= {
.start = 0x00,
.end = 0x1f,
.name = "dma1",
}, {
.start = 0x40,
.end = 0x5f,
.name = "timer",
}, {
.start = 0x80,
.end = 0x8f,
.name = "dma page reg",
}, {
.start = 0xc0,
.end = 0xdf,
.name = "dma2",

Definition at line 51 of file setup.c.