refactor config loading
This commit is contained in:
17
inc/mem_seg.h
Normal file
17
inc/mem_seg.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef __MEM_SEG_H__
|
||||
#define __MEM_SEG_H__
|
||||
|
||||
|
||||
// #define MEMSEG_PC_SEG_NUM 0
|
||||
// #define MEMSEG_PC_ADDR 0
|
||||
|
||||
#define MEMSEG_DEFINES {\
|
||||
{0, "seg0", 1, 0, 0, 0}, \
|
||||
{1, "seg1", 1, 0, 0, 0}, \
|
||||
{2, "seg2", 1, 0, 0, 0}, \
|
||||
{3, "seg3", 1, 0, 0, 0}, \
|
||||
{4, "seg4", 1, 0, 0, 0}, \
|
||||
{5, "seg5", 1, 0, 0, 0}, \
|
||||
}
|
||||
|
||||
#endif //ifndef __MEM_SEG_H__
|
||||
Reference in New Issue
Block a user