Subversion Repositories freemyipod

Rev

Rev 670 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 670 Rev 835
Line 23... Line 23...
23
 
23
 
24
#include "emcoreapp.h"
24
#include "emcoreapp.h"
25
#include "libboot.h"
25
#include "libboot.h"
26
 
26
 
27
 
27
 
28
void main();
28
void main(int argc, const char** argv);
29
EMCORE_APP_HEADER("emCORE uninstaller", main, 127)
29
EMCORE_APP_HEADER("emCORE uninstaller", main, 127)
30
 
30
 
31
 
31
 
32
struct wakeup eventwakeup;
32
struct wakeup eventwakeup;
33
volatile int button;
33
volatile int button;
Line 105... Line 105...
105
    *size = decryptfw(*address, 0x800);
105
    *size = decryptfw(*address, 0x800);
106
    *address = realloc(*address, *size);
106
    *address = realloc(*address, *size);
107
    return 0;
107
    return 0;
108
}
108
}
109
 
109
 
110
void main(void)
110
void main(int argc, const char** argv)
111
{
111
{
112
    uint32_t i, j, k;
112
    uint32_t i, j, k;
113
    uint8_t* aupd;
113
    uint8_t* aupd;
114
    uint32_t aupdsize;
114
    uint32_t aupdsize;
115
	uint32_t payloadstart = 0;
115
	uint32_t payloadstart = 0;