Split first 3 boards
Also introduce board executor file. Renamed w10dll splits.
This commit is contained in:
parent
45f0930c6c
commit
0a62d3a3d7
17 changed files with 199 additions and 34 deletions
23
src/REL/board_executor.c
Normal file
23
src/REL/board_executor.c
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#include "REL/board_executor.h"
|
||||
|
||||
static void InitBoard(void) {
|
||||
BoardCommonInit(BoardInit, BoardDestroy);
|
||||
}
|
||||
|
||||
int _prolog(void) {
|
||||
const VoidFunc* ctors = _ctors;
|
||||
while (*ctors != 0) {
|
||||
(**ctors)();
|
||||
ctors++;
|
||||
}
|
||||
InitBoard();
|
||||
return 0;
|
||||
}
|
||||
|
||||
void _epilog(void) {
|
||||
const VoidFunc* dtors = _dtors;
|
||||
while (*dtors != 0) {
|
||||
(**dtors)();
|
||||
dtors++;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue