Skip to content

Commit

Permalink
Allow the installation of demo packages through the "Install package …
Browse files Browse the repository at this point in the history
…files" menu.
  • Loading branch information
waninkoko authored and kakaroto committed Oct 10, 2010
1 parent 541ea38 commit 39465f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions default_payload.S
Expand Up @@ -364,6 +364,7 @@ memory_patch_table_1:
.long 0
memory_patch_table_2:
PATCH_INST(elf2_func1 + elf2_func1_offset, li %r29, 1)
PATCH_INST(elf2_func2 + elf2_func2_offset, li %r11, 1)
.long 0
memory_patch_table_3:
PATCH_DATA(elf3_data, 0x5f746f6f)
Expand Down
8 changes: 8 additions & 0 deletions macros.h.S
Expand Up @@ -67,6 +67,8 @@
#define elf1_func2_offset 0x00
#define elf2_func1 0x2ed0c
#define elf2_func1_offset 0x00
#define elf2_func2 0x2ed0c
#define elf2_func2_offset 0x5c

#define elf3_data 0x0022b888
#define elf4_data 0x000d68b8
Expand Down Expand Up @@ -118,6 +120,8 @@
#define elf1_func2_offset 0x00
#define elf2_func1 0xe6a8
#define elf2_func1_offset 0x00
#define elf2_func2 0xe6a8
#define elf2_func2_offset 0x5c

#define elf3_data 0x00204048
#define elf4_data 0x000d3e10
Expand Down Expand Up @@ -164,6 +168,8 @@
#define elf1_func2_offset 0x00
#define elf2_func1 0xE6A8
#define elf2_func1_offset 0x00
#define elf2_func2 0xE6A8
#define elf2_func2_offset 0x5c

#define elf3_data 0x203e90
#define elf4_data 0xd3e28
Expand Down Expand Up @@ -215,6 +221,8 @@
#define elf1_func2_offset 0x00
#define elf2_func1 0xe708
#define elf2_func1_offset 0x00
#define elf2_func2 0xe708
#define elf2_func2_offset 0x5c

#define elf3_data 0x001EAE98
#define elf4_data 0x000D1D00
Expand Down

0 comments on commit 39465f2

Please sign in to comment.