Add some more interesting payloads

This commit is contained in:
2020-01-21 10:22:17 -05:00
parent 92fc040298
commit b1bf2daa2f
9 changed files with 302 additions and 168 deletions

View File

@@ -4,6 +4,7 @@
#include "checkm8_config.h"
typedef int (*BOOTROM_FUNC)();
typedef unsigned char (*(*BOOTROM_FUNC_PTR)());
#if CHECKM8_PLATFORM == 8010
@@ -29,6 +30,9 @@ typedef int (*BOOTROM_FUNC)();
#define ADDR_TIME_HAS_ELAPSED 0x10000B04F
#define ADDR_TASK_SLEEP 0x10000ADF0
/* Boot */
#define ADDR_NVME_INIT 0x1000080B4
#else
#error "Unsupported checkm8 platform"
#endif