#include <stdarg.h>
#include <linux/types.h>
#include <linux/edd.h>
#include <asm/boot.h>
#include <asm/setup.h>
#include "bitops.h"
#include <asm/cpufeature.h>
#include <asm/processor-flags.h>
#include "ctype.h"
Go to the source code of this file.
|
#define | STACK_SIZE 512 /* Minimum number of bytes for stack */ |
|
#define | BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) |
|
#define | ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) |
|
#define | cpu_relax() asm volatile("rep; nop") |
|
#define | RESET_HEAP() ((void *)( HEAP = _end )) |
|
#define | GET_HEAP(type, n) ((type *)__get_heap(sizeof(type),__alignof__(type),(n))) |
|
#define | memcpy(d, s, l) __builtin_memcpy(d,s,l) |
|
#define | memset(d, c, l) __builtin_memset(d,c,l) |
|
|
void | copy_to_fs (addr_t dst, void *src, size_t len) |
|
void * | copy_from_fs (void *dst, addr_t src, size_t len) |
|
void | copy_to_gs (addr_t dst, void *src, size_t len) |
|
void * | copy_from_gs (void *dst, addr_t src, size_t len) |
|
void * | memcpy (void *dst, void *src, size_t len) |
|
void * | memset (void *dst, int c, size_t len) |
|
int | enable_a20 (void) |
|
int | query_apm_bios (void) |
|
void | intcall (u8 int_no, const struct biosregs *ireg, struct biosregs *oreg) |
|
int | __cmdline_find_option (u32 cmdline_ptr, const char *option, char *buffer, int bufsize) |
|
int | __cmdline_find_option_bool (u32 cmdline_ptr, const char *option) |
|
int | check_cpu (int *cpu_level_ptr, int *req_level_ptr, u32 **err_flags_ptr) |
|
int | validate_cpu (void) |
|
void | console_init (void) |
|
void | query_edd (void) |
|
void | __attribute__ ((noreturn)) die(void) |
|
int | query_mca (void) |
|
int | detect_memory (void) |
|
int | sprintf (char *buf, const char *fmt,...) |
|
int | vsprintf (char *buf, const char *fmt, va_list args) |
|
int | printf (const char *fmt,...) |
|
void | initregs (struct biosregs *regs) |
|
int | strcmp (const char *str1, const char *str2) |
|
int | strncmp (const char *cs, const char *ct, size_t count) |
|
size_t | strnlen (const char *s, size_t maxlen) |
|
unsigned int | atou (const char *s) |
|
unsigned long long | simple_strtoull (const char *cp, char **endp, unsigned int base) |
|
void | puts (const char *) |
|
void | putchar (int) |
|
int | getchar (void) |
|
void | kbd_flush (void) |
|
int | getchar_timeout (void) |
|
void | set_video (void) |
|
int | set_mode (u16 mode) |
|
int | mode_defined (u16 mode) |
|
void | probe_cards (int unsafe) |
|
void | vesa_store_edid (void) |
|
#define BUILD_BUG_ON |
( |
|
condition | ) |
((void)sizeof(char[1 - 2*!!(condition)])) |
#define cpu_relax |
( |
|
void | ) |
asm volatile("rep; nop") |
#define memcpy |
( |
|
d, |
|
|
|
s, |
|
|
|
l |
|
) |
| __builtin_memcpy(d,s,l) |
#define memset |
( |
|
d, |
|
|
|
c, |
|
|
|
l |
|
) |
| __builtin_memset(d,c,l) |
int check_cpu |
( |
int * |
cpu_level_ptr, |
|
|
int * |
req_level_ptr, |
|
|
u32 ** |
err_flags_ptr |
|
) |
| |
Definition at line 88 of file tty.c.
Definition at line 21 of file apm.c.
Definition at line 18 of file mca.c.
simple_strtoull - convert a string to an unsigned long long : The start of the string : A pointer to the end of the parsed string will be placed here : The number base to use
Definition at line 90 of file string.c.
sprintf - 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 snprintf() or scnprintf() in order to avoid buffer overflows.
See the vsnprintf() documentation for format string extensions over C99.
Definition at line 309 of file stdio.c.
strcmp - Compare two strings : One string : Another string
returns 0 if and are equal, < 0 if is less than > 0 if is greater than
strcmp - Compare two strings : One string : Another string
Definition at line 81 of file string.c.
strncmp - Compare two length-limited strings : One string : Another string : The maximum number of bytes to compare
Definition at line 33 of file string.c.
strnlen - Find the length of a length-limited string : The string to be sized
: The maximum number of bytes to search
returns the minimum of the length of and
strnlen - Find the length of a length-limited string : The string to be sized : The maximum number of bytes to search
Definition at line 15 of file stdio.c.
Definition at line 35 of file cpu.c.
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.
Definition at line 18 of file tty.c.