/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/fps2bios/kernel/eeload/eeload.c
ViewVC logotype

Contents of /branch/r3113_0.9.7_beta/fps2bios/kernel/eeload/eeload.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations) (download)
Tue Sep 7 03:29:01 2010 UTC (10 years, 10 months ago) by william
File MIME type: text/plain
File size: 542 byte(s)
branching from upstream revision (http://pcsx2.googlecode.com/svn/trunk
): r3113 to
https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7/branch/r3113_0.9.7_beta
1
2 #include <tamtypes.h>
3 #include <stdio.h>
4
5 #include "eeload.h"
6 #include "eeinit.h"
7 #include "eedebug.h"
8
9 void __attribute__((noreturn)) eeload_start() {
10 void (*entry)();
11 __puts("EELOAD start\n");
12
13 __printf("about to SifInitRpc(0)\n");
14 SifInitRpc(0);
15 __printf("done rpc\n");
16
17 entry = (void (*)())loadElfFile("INTRO");
18 entry();
19
20 entry = (void (*)())loadElfFile("LOADER");
21 entry();
22
23 for (;;);
24 }
25
26 void Kmemcpy(void *dest, const void *src, int n) {
27 const u8 *s = (u8*)src;
28 u8 *d = (u8*)dest;
29
30 while (n) {
31 *d++ = *s++; n--;
32 }
33 }
34

  ViewVC Help
Powered by ViewVC 1.1.22