28 lines
670 B
C
28 lines
670 B
C
// asmfuncs.h
|
|
// Author: Josh Holtrop
|
|
// Created: 02/26/04
|
|
// Modified: 07/11/04
|
|
|
|
#ifndef __HOS_ASMFUNCS__
|
|
#define __HOS_ASMFUNCS__ __HOS_ASMFUNCS__
|
|
|
|
u32_t write_cr0(u32_t cr0);
|
|
u32_t read_cr0();
|
|
u32_t write_cr3(u32_t cr3);
|
|
u32_t read_cr2();
|
|
u32_t read_cr3();
|
|
void writeCursorPosition(u32_t pos);
|
|
u32_t getCursorPosition();
|
|
void strcpy(char *dest, const char *src);
|
|
void memcpy(void *dest, const void *src, u32_t n);
|
|
void memcpyd(void *dest, const void *src, u32_t n);
|
|
void *memset(void *buffer, int c, int num);
|
|
void *memsetw(void *buffer, int c, int num);
|
|
void *memsetd(void *buffer, int c, int num);
|
|
u32_t strlen(const char *str);
|
|
void invlpg_(u32_t addr);
|
|
|
|
#endif
|
|
|
|
|