FreeBSD kernel kern code
subr_early.c File Reference
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/systm.h>
#include <machine/cpu.h>
Include dependency graph for subr_early.c:

Go to the source code of this file.

Macros

#define MEMSET_EARLY_FUNC   memset
 
#define MEMCPY_EARLY_FUNC   memcpy
 
#define MEMMOVE_EARLY_FUNC   memmove
 

Functions

 __FBSDID ("$FreeBSD$")
 
void * memset_early (void *buf, int c, size_t len)
 
void * memcpy_early (void *to, const void *from, size_t len)
 
void * memmove_early (void *to, const void *from, size_t len)
 

Macro Definition Documentation

◆ MEMCPY_EARLY_FUNC

#define MEMCPY_EARLY_FUNC   memcpy

Definition at line 53 of file subr_early.c.

◆ MEMMOVE_EARLY_FUNC

#define MEMMOVE_EARLY_FUNC   memmove

Definition at line 66 of file subr_early.c.

◆ MEMSET_EARLY_FUNC

#define MEMSET_EARLY_FUNC   memset

Definition at line 40 of file subr_early.c.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ memcpy_early()

void * memcpy_early ( void *  to,
const void *  from,
size_t  len 
)

Definition at line 59 of file subr_early.c.

References MEMCPY_EARLY_FUNC.

◆ memmove_early()

void * memmove_early ( void *  to,
const void *  from,
size_t  len 
)

Definition at line 72 of file subr_early.c.

References MEMMOVE_EARLY_FUNC.

◆ memset_early()

void * memset_early ( void *  buf,
int  c,
size_t  len 
)

Definition at line 46 of file subr_early.c.

References buf, and MEMSET_EARLY_FUNC.