Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
main.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <generated/utsrelease.h>
#include <linux/mm.h>
#include <asm/console.h>
#include <asm/hwrpb.h>
#include <asm/pgtable.h>
#include <stdarg.h>
#include "ksize.h"

Go to the source code of this file.

Macros

#define VPTB   ((unsigned long *) 0x200000000)
 
#define L1   ((unsigned long *) 0x200802000)
 

Functions

int vsprintf (char *, const char *, va_list)
 
unsigned long switch_to_osf_pal (unsigned long nr, struct pcb_struct *pcb_va, struct pcb_struct *pcb_pa, unsigned long *vptb)
 
void pal_init (void)
 
void start_kernel (void)
 

Variables

struct hwrpb_structhwrpb = INIT_HWRPB
 

Macro Definition Documentation

#define L1   ((unsigned long *) 0x200802000)

Definition at line 60 of file main.c.

#define VPTB   ((unsigned long *) 0x200000000)

Definition at line 59 of file main.c.

Function Documentation

void pal_init ( void  )

Definition at line 63 of file main.c.

void start_kernel ( void  )

Definition at line 152 of file main.c.

unsigned long switch_to_osf_pal ( unsigned long  nr,
struct pcb_struct pcb_va,
struct pcb_struct pcb_pa,
unsigned long vptb 
)
int vsprintf ( char buf,
const char fmt,
va_list  args 
)

vsprintf - Format a string and place it in a buffer : The buffer to place the result into : The format string to use : Arguments for the format string

The function returns the number of characters written into . Use vsnprintf() or vscnprintf() in order to avoid buffer overflows.

If you're not already dealing with a va_list consider using sprintf().

See the vsnprintf() documentation for format string extensions over C99.

Definition at line 126 of file stdio.c.

Variable Documentation

Definition at line 26 of file main.c.