Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bootx_init.c File Reference
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/init.h>
#include <generated/utsrelease.h>
#include <asm/sections.h>
#include <asm/prom.h>
#include <asm/page.h>
#include <asm/bootx.h>
#include <asm/btext.h>
#include <asm/io.h>
#include <asm/setup.h>

Go to the source code of this file.

Macros

#define SET_BOOT_BAT
 
#define DBG(fmt...)   do { } while(0)
 
#define BOOT_INFO_IS_COMPATIBLE(bi)   ((bi)->compatible_version <= BOOT_INFO_VERSION)
 
#define BOOT_INFO_IS_V2_COMPATIBLE(bi)   ((bi)->version >= 2)
 
#define BOOT_INFO_IS_V4_COMPATIBLE(bi)   ((bi)->version >= 4)
 
#define dt_push_token(token, mem)
 

Functions

void __start (unsigned long r3, unsigned long r4, unsigned long r5)
 
void __init bootx_init (unsigned long r3, unsigned long r4)
 

Macro Definition Documentation

#define BOOT_INFO_IS_COMPATIBLE (   bi)    ((bi)->compatible_version <= BOOT_INFO_VERSION)

Definition at line 42 of file bootx_init.c.

#define BOOT_INFO_IS_V2_COMPATIBLE (   bi)    ((bi)->version >= 2)

Definition at line 44 of file bootx_init.c.

#define BOOT_INFO_IS_V4_COMPATIBLE (   bi)    ((bi)->version >= 4)

Definition at line 45 of file bootx_init.c.

#define DBG (   fmt...)    do { } while(0)

Definition at line 30 of file bootx_init.c.

#define dt_push_token (   token,
  mem 
)
Value:
do { \
*(mem) = _ALIGN_UP(*(mem),4); \
*((u32 *)*(mem)) = token; \
*(mem) += 4; \
} while(0)

Definition at line 112 of file bootx_init.c.

#define SET_BOOT_BAT

Definition at line 25 of file bootx_init.c.

Function Documentation

void __start ( unsigned long  r3,
unsigned long  r4,
unsigned long  r5 
)
void __init bootx_init ( unsigned long  r3,
unsigned long  r4 
)

Definition at line 465 of file bootx_init.c.