Linux Kernel
3.7.1
|
#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_struct * | hwrpb = INIT_HWRPB |
unsigned long switch_to_osf_pal | ( | unsigned long | nr, |
struct pcb_struct * | pcb_va, | ||
struct pcb_struct * | pcb_pa, | ||
unsigned long * | vptb | ||
) |
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.
struct hwrpb_struct* hwrpb = INIT_HWRPB |