#include "stdlib.h"
#include "stddef.h"
#include "stdio.h"
#include "string.h"
#include "lolevel.h"
gehe zum Quellcode dieser Datei
int reboot |
( |
const char * |
bootfile) | |
|
Definiert in Zeile 23 der Datei reboot.c.
32 int namelen=
strlen(bootfile);
33 if(namelen > 3 && (
strncmp(bootfile + namelen - 4,
".FI",3) == 0)) {
44 void __attribute__((noreturn)) (*canon_copy_and_restart)(
char *
dst,
char *
src,
unsigned length,
char *start);
62 rcnt =
read(fd, buf, size);
69 "MRC p15, 0, %0, c9, c1, 0\n"
72 data_tcm &= 0xFFFFF000;
73 canon_copy_and_restart = (
void *)(*(
unsigned *)data_tcm);
74 if( ((
unsigned)canon_copy_and_restart & 0xFFFF0000) != 0xFFFF0000) {
80 canon_copy_and_restart((
void *)0x1900,buf,size,(
void *)0x1900);