Added payload for figuring out sleep function

This commit is contained in:
2020-01-11 17:14:10 -05:00
parent ad9ce8f850
commit 477d7079c8
7 changed files with 37 additions and 22 deletions

View File

@@ -3,7 +3,6 @@
#include "brfunc_common.h"
PAYLOAD_SECTION
int aes_hw_crypto_cmd(unsigned long long cmd,
unsigned char *src, unsigned char *dst,
int len, unsigned long long opts,

View File

@@ -7,10 +7,4 @@
#define SYSTEM_TIME ((BOOTROM_FUNC) ADDR_SYSTEM_TIME)
#define TIME_HAS_ELAPSED ((BOOTROM_FUNC) ADDR_TIME_HAS_ELAPSED)
PAYLOAD_SECTION
void task_sleep(unsigned int usec)
{
((BOOTROM_FUNC) ADDR_TASK_SLEEP)(usec);
}
#endif //CHECKM8_TOOL_BRFUNC_TIMING_H