Rename kboot.[ch] to bootloader.[ch] to improve clarity.

This commit is contained in:
László Monda
2017-09-22 01:20:00 +02:00
parent 5dd3b8e0be
commit 228bebcd59
4 changed files with 3 additions and 3 deletions

12
shared/bootloader.c Normal file
View File

@@ -0,0 +1,12 @@
#include "bootloader.h"
void JumpToKboot(void) {
uint32_t runBootloaderAddress;
void (*runBootloader)(void *arg);
// Read the function address from the ROM API tree.
runBootloaderAddress = **(uint32_t **)(0x1c00001c);
runBootloader = (void (*)(void * arg))runBootloaderAddress;
runBootloader(NULL);
}