PiegOS/kernel/Helpers/memory.hpp

37 lines
492 B
C++
Raw Normal View History

2015-07-20 20:06:20 +04:00
#ifndef __memory__
#define __memory__
#include "./types.hpp"
2015-07-22 11:22:02 +04:00
//Define the bios color
enum colorBios{
BLACK=0x0,
BLUE=0x1,
GREEN=0x2,
CYAN=0x3,
RED=0x4,
MAGENTA=0x5,
BROWN=0x6,
LIGHTGRAY=0x7,
DARKGRAY=0x8,
LIGHTBLUE=0x9,
LIGHTGREEN=0xA,
LIGHTCYAN=0xB,
LIGHTRED=0xC,
LIGHTMAGENTA=0xD,
YELLOW=0xE,
WHITE=0xF
};
//Type def for biosColor
typedef enum colorBios colorBios;
2015-07-21 14:23:57 +04:00
int memcpy(u32 source, u32 dest, u32 size);
2015-07-20 20:06:20 +04:00
#endif