Skip to content

Commit fbdc7ec

Browse files
committed
fix: move retonly function to end of export table
1 parent f3746f3 commit fbdc7ec

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

iop/iLink/iLinkman/src/exports.tab

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
void _funcret(){};
21

32
DECLARE_EXPORT_TABLE(iLinkman, 1, 1)
43
DECLARE_EXPORT(_start) /* 000 */
5-
DECLARE_EXPORT(_funcret)
4+
DECLARE_EXPORT(_retonly)
65
DECLARE_EXPORT(_exit) /* 002 */
7-
DECLARE_EXPORT(_funcret) /* 003 */
6+
DECLARE_EXPORT(_retonly) /* 003 */
87
DECLARE_EXPORT(iLinkEnableSBus) /* 004 */
98
DECLARE_EXPORT(iLinkDisableSBus) /* 005 */
109
DECLARE_EXPORT(iLinkResetSBus) /* 006 */
@@ -28,3 +27,5 @@ DECLARE_EXPORT_TABLE(iLinkman, 1, 1)
2827
DECLARE_EXPORT(iLinkReadCROM) /* 024 */
2928
DECLARE_EXPORT(iLinkGetLocalNodeEUI64) /* 025 */
3029
END_EXPORT_TABLE
30+
31+
void _retonly(){};

iop/security/secrman/src/exports.tab

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
void _funcret(){};
21

32
// El_isra: this was 0x1, 0x3 originally. but the IRX_ID macro on source code has 0x1, 0x4. just like arcade SECRMAN...
43
DECLARE_EXPORT_TABLE(secrman, 0x01, 0x04)
54
DECLARE_EXPORT(_start)
6-
DECLARE_EXPORT(_funcret)
5+
DECLARE_EXPORT(_retonly)
76
DECLARE_EXPORT(_exit)
8-
DECLARE_EXPORT(_funcret)
7+
DECLARE_EXPORT(_retonly)
98
DECLARE_EXPORT(SecrSetMcCommandHandler) /* 004 */
109
DECLARE_EXPORT(SecrSetMcDevIDHandler) /* 005 */
1110
DECLARE_EXPORT(SecrAuthCard) /* 006 */
@@ -26,3 +25,5 @@ DECLARE_EXPORT_TABLE(secrman, 0x01, 0x04)
2625
DECLARE_EXPORT(SecrAuthDongle) /* 020 */
2726
#endif
2827
END_EXPORT_TABLE
28+
29+
void _retonly(){};
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
void _funcret(){};
21

32
DECLARE_EXPORT_TABLE(secrsif, 1, 1)
43
DECLARE_EXPORT(_start)
5-
DECLARE_EXPORT(_funcret)
6-
DECLARE_EXPORT(_funcret)
7-
DECLARE_EXPORT(_funcret)
4+
DECLARE_EXPORT(_retonly)
5+
DECLARE_EXPORT(_retonly)
6+
DECLARE_EXPORT(_retonly)
87
END_EXPORT_TABLE
8+
9+
void _retonly(){};

0 commit comments

Comments
 (0)