![]() |
RainbowBS Manual
v0.1.0
Written by QWQ([email protected])
|
Table of Contents
Basic components consist of type,macros,system/CPU information,memory operation and digit conversion.
Type defination refers to basic types
Macros refers to basic macros
System related refers to system releted
CPU related refers to CPU information
Memory operation related refers to memory operation
Digit conversion refers to conversion releted
How to port basic components
System/CPU information need some macros defined in file RainbowBSConf.h
.
RBS_CFG_SYS_INFO
indicates a string which RBS_GetSysInfo() returns.
RBS_CFG_TICK_RATE
indicates the timer tick per second.
RBS_CFG_CPU_WORD_SIZE
indicates size which RBS_GetCPUBits() returns.
RBS_CFG_CPU_BYTE_ORDER_L
is defined to 0 or 1 which RBS_IsCPULittleEndian() uses.
RBS_CFG_CPU_STACK_DOWN
is defined to 0 or 1 which RBS_IsStackGrowDown() uses.
Generated by
