14 lines
345 B
C
14 lines
345 B
C
#ifndef CODE_MOVABLE_H
|
|
#define CODE_MOVABLE_H
|
|
|
|
#include "generic/typedef.h"
|
|
|
|
void code_movable_init();
|
|
|
|
void code_movable_load(u8 *code_store_addr, u32 code_size, u8 *code_load_addr,
|
|
u32 *code_slot_addr, u32 *code_slot_end);
|
|
|
|
void code_movable_unload(u8 *code_store_addr, u32 *code_slot_addr, u32 *code_slot_end);
|
|
|
|
#endif
|