Match OS and EXI
This commit is contained in:
134
LICENSE
134
LICENSE
@@ -1,21 +1,121 @@
|
||||
MIT License
|
||||
Creative Commons Legal Code
|
||||
|
||||
Copyright (c) 2024
|
||||
CC0 1.0 Universal
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
||||
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
|
||||
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
||||
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
||||
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
|
||||
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
|
||||
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
|
||||
HEREUNDER.
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
Statement of Purpose
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
The laws of most jurisdictions throughout the world automatically confer
|
||||
exclusive Copyright and Related Rights (defined below) upon the creator
|
||||
and subsequent owner(s) (each and all, an "owner") of an original work of
|
||||
authorship and/or a database (each, a "Work").
|
||||
|
||||
Certain owners wish to permanently relinquish those rights to a Work for
|
||||
the purpose of contributing to a commons of creative, cultural and
|
||||
scientific works ("Commons") that the public can reliably and without fear
|
||||
of later claims of infringement build upon, modify, incorporate in other
|
||||
works, reuse and redistribute as freely as possible in any form whatsoever
|
||||
and for any purposes, including without limitation commercial purposes.
|
||||
These owners may contribute to the Commons to promote the ideal of a free
|
||||
culture and the further production of creative, cultural and scientific
|
||||
works, or to gain reputation or greater distribution for their Work in
|
||||
part through the use and efforts of others.
|
||||
|
||||
For these and/or other purposes and motivations, and without any
|
||||
expectation of additional consideration or compensation, the person
|
||||
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
|
||||
is an owner of Copyright and Related Rights in the Work, voluntarily
|
||||
elects to apply CC0 to the Work and publicly distribute the Work under its
|
||||
terms, with knowledge of his or her Copyright and Related Rights in the
|
||||
Work and the meaning and intended legal effect of CC0 on those rights.
|
||||
|
||||
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||
protected by copyright and related or neighboring rights ("Copyright and
|
||||
Related Rights"). Copyright and Related Rights include, but are not
|
||||
limited to, the following:
|
||||
|
||||
i. the right to reproduce, adapt, distribute, perform, display,
|
||||
communicate, and translate a Work;
|
||||
ii. moral rights retained by the original author(s) and/or performer(s);
|
||||
iii. publicity and privacy rights pertaining to a person's image or
|
||||
likeness depicted in a Work;
|
||||
iv. rights protecting against unfair competition in regards to a Work,
|
||||
subject to the limitations in paragraph 4(a), below;
|
||||
v. rights protecting the extraction, dissemination, use and reuse of data
|
||||
in a Work;
|
||||
vi. database rights (such as those arising under Directive 96/9/EC of the
|
||||
European Parliament and of the Council of 11 March 1996 on the legal
|
||||
protection of databases, and under any national implementation
|
||||
thereof, including any amended or successor version of such
|
||||
directive); and
|
||||
vii. other similar, equivalent or corresponding rights throughout the
|
||||
world based on applicable law or treaty, and any national
|
||||
implementations thereof.
|
||||
|
||||
2. Waiver. To the greatest extent permitted by, but not in contravention
|
||||
of, applicable law, Affirmer hereby overtly, fully, permanently,
|
||||
irrevocably and unconditionally waives, abandons, and surrenders all of
|
||||
Affirmer's Copyright and Related Rights and associated claims and causes
|
||||
of action, whether now known or unknown (including existing as well as
|
||||
future claims and causes of action), in the Work (i) in all territories
|
||||
worldwide, (ii) for the maximum duration provided by applicable law or
|
||||
treaty (including future time extensions), (iii) in any current or future
|
||||
medium and for any number of copies, and (iv) for any purpose whatsoever,
|
||||
including without limitation commercial, advertising or promotional
|
||||
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
|
||||
member of the public at large and to the detriment of Affirmer's heirs and
|
||||
successors, fully intending that such Waiver shall not be subject to
|
||||
revocation, rescission, cancellation, termination, or any other legal or
|
||||
equitable action to disrupt the quiet enjoyment of the Work by the public
|
||||
as contemplated by Affirmer's express Statement of Purpose.
|
||||
|
||||
3. Public License Fallback. Should any part of the Waiver for any reason
|
||||
be judged legally invalid or ineffective under applicable law, then the
|
||||
Waiver shall be preserved to the maximum extent permitted taking into
|
||||
account Affirmer's express Statement of Purpose. In addition, to the
|
||||
extent the Waiver is so judged Affirmer hereby grants to each affected
|
||||
person a royalty-free, non transferable, non sublicensable, non exclusive,
|
||||
irrevocable and unconditional license to exercise Affirmer's Copyright and
|
||||
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
||||
maximum duration provided by applicable law or treaty (including future
|
||||
time extensions), (iii) in any current or future medium and for any number
|
||||
of copies, and (iv) for any purpose whatsoever, including without
|
||||
limitation commercial, advertising or promotional purposes (the
|
||||
"License"). The License shall be deemed effective as of the date CC0 was
|
||||
applied by Affirmer to the Work. Should any part of the License for any
|
||||
reason be judged legally invalid or ineffective under applicable law, such
|
||||
partial invalidity or ineffectiveness shall not invalidate the remainder
|
||||
of the License, and in such case Affirmer hereby affirms that he or she
|
||||
will not (i) exercise any of his or her remaining Copyright and Related
|
||||
Rights in the Work or (ii) assert any associated claims and causes of
|
||||
action with respect to the Work, in either case contrary to Affirmer's
|
||||
express Statement of Purpose.
|
||||
|
||||
4. Limitations and Disclaimers.
|
||||
|
||||
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||
surrendered, licensed or otherwise affected by this document.
|
||||
b. Affirmer offers the Work as-is and makes no representations or
|
||||
warranties of any kind concerning the Work, express, implied,
|
||||
statutory or otherwise, including without limitation warranties of
|
||||
title, merchantability, fitness for a particular purpose, non
|
||||
infringement, or the absence of latent or other defects, accuracy, or
|
||||
the present or absence of errors, whether or not discoverable, all to
|
||||
the greatest extent permissible under applicable law.
|
||||
c. Affirmer disclaims responsibility for clearing rights of other persons
|
||||
that may apply to the Work or any use thereof, including without
|
||||
limitation any person's Copyright and Related Rights in the Work.
|
||||
Further, Affirmer disclaims responsibility for obtaining any necessary
|
||||
consents, permissions or other rights required for any use of the
|
||||
Work.
|
||||
d. Affirmer understands and acknowledges that Creative Commons is not a
|
||||
party to this document and has no duty or obligation with respect to
|
||||
this CC0 or use of the Work.
|
||||
|
||||
74
README.md
74
README.md
@@ -1,26 +1,73 @@
|
||||

|
||||
Wii Menu
|
||||
[![Build Status]][actions] [![Discord Badge]][discord] [![Progress Badge]][progress] [![Linked Badge]][progress]
|
||||
========
|
||||
<!--- Github Actions Badge -->
|
||||
|
||||
[Build Status]: https://github.com/koopthekoopa/wii-ipl/actions/workflows/build.yml/badge.svg
|
||||
[actions]: https://github.com/koopthekoopa/wii-ipl/actions/workflows/build.yml
|
||||
|
||||
<!--- Discord Badge -->
|
||||
|
||||
[Discord Badge]: https://img.shields.io/discord/727908905392275526?color=%237289DA&logo=discord&logoColor=%23FFFFFF
|
||||
[discord]: https://discord.gg/hKx3FJJgrV
|
||||
|
||||
[Progress Badge]: https://decomp.dev/koopthekoopa/wii-ipl.svg?mode=shield&measure=code&label=Progress
|
||||
[Linked Badge]: https://decomp.dev/koopthekoopa/wii-ipl.svg?mode=shield&measure=complete_code&label=Linked
|
||||
[progress]: https://decomp.dev/koopthekoopa/wii-ipl
|
||||
<!-- Progress links -->
|
||||
|
||||
[V43U]: https://decomp.dev/koopthekoopa/wii-ipl/43U
|
||||
[V43E]: https://decomp.dev/koopthekoopa/wii-ipl/43E
|
||||
[V43J]: https://decomp.dev/koopthekoopa/wii-ipl/43J
|
||||
[V43K]: https://decomp.dev/koopthekoopa/wii-ipl/43K
|
||||
|
||||
<!--- Version 4.3U progress Badge -->
|
||||
|
||||
[DecompBadgeV43U]: https://decomp.dev/koopthekoopa/wii-ipl/43U.svg?mode=shield&measure=code&label=Decompiled&color=rgb(16,175,232)
|
||||
[LinkBadgeV43U]: https://decomp.dev/koopthekoopa/wii-ipl/43U.svg?mode=shield&measure=complete_code&label=Linked&color=rgb(16,175,232)
|
||||
[FuncBadgeV43U]: https://decomp.dev/koopthekoopa/wii-ipl/43U.svg?mode=shield&measure=functions&label=Functions&color=rgb(16,175,232)
|
||||
|
||||
<!--- Version 4.3E progress Badge -->
|
||||
|
||||
[DecompBadgeV43E]: https://decomp.dev/koopthekoopa/wii-ipl/43E.svg?mode=shield&measure=code&label=Decompiled&color=rgb(16,175,232)
|
||||
[LinkBadgeV43E]: https://decomp.dev/koopthekoopa/wii-ipl/43E.svg?mode=shield&measure=complete_code&label=Linked&color=rgb(16,175,232)
|
||||
[FuncBadgeV43E]: https://decomp.dev/koopthekoopa/wii-ipl/43E.svg?mode=shield&measure=functions&label=Functions&color=rgb(16,175,232)
|
||||
|
||||
<!--- Version 4.3J progress Badge -->
|
||||
|
||||
[DecompBadgeV43J]: https://decomp.dev/koopthekoopa/wii-ipl/43J.svg?mode=shield&measure=code&label=Decompiled&color=rgb(16,175,232)
|
||||
[LinkBadgeV43J]: https://decomp.dev/koopthekoopa/wii-ipl/43J.svg?mode=shield&measure=complete_code&label=Linked&color=rgb(16,175,232)
|
||||
[FuncBadgeV43J]: https://decomp.dev/koopthekoopa/wii-ipl/43J.svg?mode=shield&measure=functions&label=Functions&color=rgb(16,175,232)
|
||||
|
||||
<!--- Version 4.3K progress Badge -->
|
||||
|
||||
[DecompBadgeV43K]: https://decomp.dev/koopthekoopa/wii-ipl/43K.svg?mode=shield&measure=code&label=Decompiled&color=rgb(16,175,232)
|
||||
[LinkBadgeV43K]: https://decomp.dev/koopthekoopa/wii-ipl/43K.svg?mode=shield&measure=complete_code&label=Linked&color=rgb(16,175,232)
|
||||
[FuncBadgeV43K]: https://decomp.dev/koopthekoopa/wii-ipl/43K.svg?mode=shield&measure=functions&label=Functions&color=rgb(16,175,232)
|
||||
|
||||
<!--- Header -->
|
||||
|
||||

|
||||
Wii Menu
|
||||
[![Build Status]][actions] [![Discord Badge]][discord]
|
||||
========
|
||||
|
||||
<!--- Contents -->
|
||||
|
||||
A work-in-progress decompilation of the Wii Menu (4.3).
|
||||
|
||||
This repository does **not** contain any assets or assembly of the executable whatsoever. An existing WAD of the Wii Menu is required.
|
||||
|
||||
Supported versions:
|
||||
- `43J`: Version **4.3J** (Japan)
|
||||
- `43U`: Version **4.3U** (USA)
|
||||
- `43E`: Version **4.3E** (Europe)
|
||||
- `43K`: Version **4.3K** (Korean)
|
||||
- `43U` - Version **4.3U** (USA)
|
||||
- `43E` - Version **4.3E** (Europe)
|
||||
- `43J` - Version **4.3J** (Japan)
|
||||
- `43K` - Version **4.3K** (Korean)
|
||||
|
||||
Progress
|
||||
========
|
||||
| Version | Functions Done | Decompiled | Linked |
|
||||
|-----------------------|--------------------------|----------------------------|--------------------------|
|
||||
| [Wii Menu 4.3U][V43U] | [![FuncBadgeV43U]][V43U] | [![DecompBadgeV43U]][V43U] | [![LinkBadgeV43U]][V43U] |
|
||||
| [Wii Menu 4.3E][V43E] | [![FuncBadgeV43E]][V43E] | [![DecompBadgeV43E]][V43E] | [![LinkBadgeV43E]][V43E] |
|
||||
| [Wii Menu 4.3J][V43J] | [![FuncBadgeV43J]][V43J] | [![DecompBadgeV43J]][V43J] | [![LinkBadgeV43J]][V43J] |
|
||||
| [Wii Menu 4.3K][V43K] | [![FuncBadgeV43K]][V43K] | [![DecompBadgeV43K]][V43K] | [![LinkBadgeV43K]][V43K] |
|
||||
|
||||
> You can see the full progress and its history by clicking on one of the versions in the table.
|
||||
|
||||
Installing Dependencies
|
||||
=======================
|
||||
@@ -75,8 +122,7 @@ Building
|
||||
git clone https://github.com/koopthekoopa/wii-ipl.git
|
||||
```
|
||||
|
||||
- Copy the Wii Menu WAD to `orig/[Wii Menu Version]`.
|
||||
- Rename the WAD to `base.wad`
|
||||
- Copy your WAD to `orig/[Wii Menu Version]`.
|
||||
|
||||
- Configure:
|
||||
|
||||
@@ -93,7 +139,7 @@ Building
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> This does **not** prodcue a WAD file. You must replace the exectable with the one you built (`main.app`) manually.
|
||||
> This does **not** produce a WAD file. You must replace the exectable with the one you built (`main.app`) manually into a WAD file.
|
||||
|
||||
> [!WARNING]
|
||||
> The code is not 100% shiftable, most of it works aside from a couple of things (such as Wii Settings and a few Channel Banners like the Forecast Channel)
|
||||
|
||||
@@ -53,6 +53,10 @@ extract:
|
||||
binary: backToWiiMenu.arc
|
||||
header: backToWiiMenu_arc.inc
|
||||
|
||||
- symbol: DSPInitCode
|
||||
binary: dsp\initCode.bin
|
||||
header: DSPInitCode.inc
|
||||
|
||||
- symbol: axDspSlave
|
||||
binary: ax\dspSlave.bin
|
||||
header: axDspSlave.inc
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -53,6 +53,10 @@ extract:
|
||||
binary: backToWiiMenu.arc
|
||||
header: backToWiiMenu_arc.inc
|
||||
|
||||
- symbol: DSPInitCode
|
||||
binary: dsp\initCode.bin
|
||||
header: DSPInitCode.inc
|
||||
|
||||
- symbol: axDspSlave
|
||||
binary: ax\dspSlave.bin
|
||||
header: axDspSlave.inc
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -53,6 +53,10 @@ extract:
|
||||
binary: backToWiiMenu.arc
|
||||
header: backToWiiMenu_arc.inc
|
||||
|
||||
- symbol: DSPInitCode
|
||||
binary: dsp\initCode.bin
|
||||
header: DSPInitCode.inc
|
||||
|
||||
- symbol: axDspSlave
|
||||
binary: ax\dspSlave.bin
|
||||
header: axDspSlave.inc
|
||||
|
||||
@@ -243,7 +243,7 @@ src/system/TVRC.cpp:
|
||||
.sbss start:0x8166CD18 end:0x8166CD90
|
||||
|
||||
src/system/iplTVRCManager.cpp:
|
||||
.text start:0x81360CE4 end:0x81361A80
|
||||
.text start:0x81360CE4 end:0x81361AA0
|
||||
.data start:0x816119D0 end:0x81611A40
|
||||
.sbss start:0x8166CD90 end:0x8166CD98
|
||||
|
||||
@@ -251,7 +251,7 @@ src/system/_DATA_.c:
|
||||
.data start:0x81611A40 end:0x816160A0
|
||||
|
||||
src/utility/iplTree.cpp:
|
||||
.text start:0x81361A80 end:0x81361BE4
|
||||
.text start:0x81361AA0 end:0x81361BE4
|
||||
.data start:0x816160A0 end:0x816160C0
|
||||
|
||||
src/utility/iplFrameController.cpp:
|
||||
@@ -1583,162 +1583,162 @@ libs/RevoEX/src/ssl/ssl_api.c:
|
||||
libs/RevoEX/src/ssl/ssl_mutex.c:
|
||||
.text start:0x8148E574 end:0x8148E580
|
||||
|
||||
libs/RevoEX/src/vf/pf_clib.c:
|
||||
libs/RevoEX/src/vf/api/pf_clib.c:
|
||||
.text start:0x8148E580 end:0x8148E880
|
||||
|
||||
libs/RevoEX/src/vf/pf_code.c:
|
||||
libs/RevoEX/src/vf/api/pf_code.c:
|
||||
.text start:0x8148E880 end:0x8148E89C
|
||||
.rodata start:0x815F2580 end:0x815F25E0
|
||||
|
||||
libs/RevoEX/src/vf/pf_service.c:
|
||||
libs/RevoEX/src/vf/api/pf_service.c:
|
||||
.text start:0x8148E89C end:0x8148E9B4
|
||||
|
||||
libs/RevoEX/src/vf/pf_str.c:
|
||||
libs/RevoEX/src/vf/api/pf_str.c:
|
||||
.text start:0x8148E9B4 end:0x8148EEE8
|
||||
|
||||
libs/RevoEX/src/vf/pf_w_clib.c:
|
||||
libs/RevoEX/src/vf/api/pf_w_clib.c:
|
||||
.text start:0x8148EEE8 end:0x8148EF7C
|
||||
|
||||
libs/RevoEX/src/vf/pf_driver.c:
|
||||
libs/RevoEX/src/vf/api/pf_driver.c:
|
||||
.text start:0x8148EF7C end:0x8148FA64
|
||||
|
||||
libs/RevoEX/src/vf/pdm_bpb.c:
|
||||
libs/RevoEX/src/vf/api/pdm_bpb.c:
|
||||
.text start:0x8148FA64 end:0x814903C8
|
||||
|
||||
libs/RevoEX/src/vf/pdm_disk.c:
|
||||
libs/RevoEX/src/vf/api/pdm_disk.c:
|
||||
.text start:0x814903C8 end:0x81491998
|
||||
|
||||
libs/RevoEX/src/vf/pdm_partition.c:
|
||||
libs/RevoEX/src/vf/api/pdm_partition.c:
|
||||
.text start:0x81491998 end:0x81493174
|
||||
|
||||
libs/RevoEX/src/vf/pdm_mbr.c:
|
||||
libs/RevoEX/src/vf/api/pdm_mbr.c:
|
||||
.text start:0x81493174 end:0x8149372C
|
||||
|
||||
libs/RevoEX/src/vf/pdm_dskmng.c:
|
||||
libs/RevoEX/src/vf/api/pdm_dskmng.c:
|
||||
.bss start:0x810CAFA0 end:0x810CBB70
|
||||
.text start:0x8149372C end:0x81493950
|
||||
|
||||
libs/RevoEX/src/vf/pf_cache.c:
|
||||
libs/RevoEX/src/vf/api/pf_cache.c:
|
||||
.text start:0x81493950 end:0x8149553C
|
||||
|
||||
libs/RevoEX/src/vf/pf_cluster.c:
|
||||
libs/RevoEX/src/vf/api/pf_cluster.c:
|
||||
.text start:0x8149553C end:0x81495C8C
|
||||
|
||||
libs/RevoEX/src/vf/pf_dir.c:
|
||||
libs/RevoEX/src/vf/api/pf_dir.c:
|
||||
.text start:0x81495C8C end:0x814970B4
|
||||
.sdata start:0x8166C308 end:0x8166C318
|
||||
|
||||
libs/RevoEX/src/vf/pf_entry.c:
|
||||
libs/RevoEX/src/vf/api/pf_entry.c:
|
||||
.text start:0x814970B4 end:0x81498CA4
|
||||
.data start:0x81642B40 end:0x81642B50
|
||||
.sdata2 start:0x816696A0 end:0x816696A8
|
||||
|
||||
libs/RevoEX/src/vf/pf_entry_iterator.c:
|
||||
libs/RevoEX/src/vf/api/pf_entry_iterator.c:
|
||||
.text start:0x81498CA4 end:0x8149AE14
|
||||
.sdata start:0x8166C318 end:0x8166C340
|
||||
|
||||
libs/RevoEX/src/vf/pf_fat.c:
|
||||
libs/RevoEX/src/vf/api/pf_fat.c:
|
||||
.text start:0x8149AE14 end:0x8149DDDC
|
||||
.rodata start:0x815F25E0 end:0x815F2620
|
||||
|
||||
libs/RevoEX/src/vf/pf_fat12.c:
|
||||
libs/RevoEX/src/vf/api/pf_fat12.c:
|
||||
.text start:0x8149DDDC end:0x8149E914
|
||||
|
||||
libs/RevoEX/src/vf/pf_fat16.c:
|
||||
libs/RevoEX/src/vf/api/pf_fat16.c:
|
||||
.text start:0x8149E914 end:0x8149EEA0
|
||||
|
||||
libs/RevoEX/src/vf/pf_fat32.c:
|
||||
libs/RevoEX/src/vf/api/pf_fat32.c:
|
||||
.text start:0x8149EEA0 end:0x8149F4F4
|
||||
|
||||
libs/RevoEX/src/vf/pf_fatfs.c:
|
||||
libs/RevoEX/src/vf/api/pf_fatfs.c:
|
||||
.text start:0x8149F4F4 end:0x8149F4F8
|
||||
|
||||
libs/RevoEX/src/vf/pf_file.c:
|
||||
libs/RevoEX/src/vf/api/pf_file.c:
|
||||
.text start:0x8149F4F8 end:0x814A2BDC
|
||||
|
||||
libs/RevoEX/src/vf/pf_path.c:
|
||||
libs/RevoEX/src/vf/api/pf_path.c:
|
||||
.text start:0x814A2BDC end:0x814A5568
|
||||
.sdata2 start:0x816696A8 end:0x816696B8
|
||||
.sdata start:0x8166C340 end:0x8166C370
|
||||
|
||||
libs/RevoEX/src/vf/pf_sector.c:
|
||||
libs/RevoEX/src/vf/api/pf_sector.c:
|
||||
.text start:0x814A5568 end:0x814A5E10
|
||||
|
||||
libs/RevoEX/src/vf/pf_volume.c:
|
||||
libs/RevoEX/src/vf/api/pf_volume.c:
|
||||
.bss start:0x810CBB70 end:0x810F38C0
|
||||
.text start:0x814A5E10 end:0x814A7EC0
|
||||
|
||||
libs/RevoEX/src/vf/pf_cp932.c:
|
||||
libs/RevoEX/src/vf/api/pf_cp932.c:
|
||||
.text start:0x814A7EC0 end:0x814A83A4
|
||||
.rodata start:0x815F2620 end:0x815F6898
|
||||
|
||||
libs/RevoEX/src/vf/pf_attach.c:
|
||||
libs/RevoEX/src/vf/api/pf_attach.c:
|
||||
.text start:0x814A83A4 end:0x814A8594
|
||||
|
||||
libs/RevoEX/src/vf/pf_chdir.c:
|
||||
libs/RevoEX/src/vf/api/pf_chdir.c:
|
||||
.text start:0x814A8594 end:0x814A85E4
|
||||
|
||||
libs/RevoEX/src/vf/pf_create.c:
|
||||
libs/RevoEX/src/vf/api/pf_create.c:
|
||||
.text start:0x814A85E4 end:0x814A8648
|
||||
|
||||
libs/RevoEX/src/vf/pf_detach.c:
|
||||
libs/RevoEX/src/vf/api/pf_detach.c:
|
||||
.text start:0x814A8648 end:0x814A8670
|
||||
|
||||
libs/RevoEX/src/vf/pf_errnum.c:
|
||||
libs/RevoEX/src/vf/api/pf_errnum.c:
|
||||
.text start:0x814A8670 end:0x814A8694
|
||||
|
||||
libs/RevoEX/src/vf/pf_fclose.c:
|
||||
libs/RevoEX/src/vf/api/pf_fclose.c:
|
||||
.text start:0x814A8694 end:0x814A86B8
|
||||
|
||||
libs/RevoEX/src/vf/pf_finfo.c:
|
||||
libs/RevoEX/src/vf/api/pf_finfo.c:
|
||||
.text start:0x814A86B8 end:0x814A86DC
|
||||
|
||||
libs/RevoEX/src/vf/pf_fopen.c:
|
||||
libs/RevoEX/src/vf/api/pf_fopen.c:
|
||||
.text start:0x814A86DC end:0x814A8788
|
||||
|
||||
libs/RevoEX/src/vf/pf_format.c:
|
||||
libs/RevoEX/src/vf/api/pf_format.c:
|
||||
.text start:0x814A8788 end:0x814A87B0
|
||||
|
||||
libs/RevoEX/src/vf/pf_fread.c:
|
||||
libs/RevoEX/src/vf/api/pf_fread.c:
|
||||
.text start:0x814A87B0 end:0x814A87D8
|
||||
|
||||
libs/RevoEX/src/vf/pf_fseek.c:
|
||||
libs/RevoEX/src/vf/api/pf_fseek.c:
|
||||
.text start:0x814A87D8 end:0x814A87FC
|
||||
|
||||
libs/RevoEX/src/vf/pf_fsfirst.c:
|
||||
libs/RevoEX/src/vf/api/pf_fsfirst.c:
|
||||
.text start:0x814A87FC end:0x814A8870
|
||||
|
||||
libs/RevoEX/src/vf/pf_fsnext.c:
|
||||
libs/RevoEX/src/vf/api/pf_fsnext.c:
|
||||
.text start:0x814A8870 end:0x814A8894
|
||||
|
||||
libs/RevoEX/src/vf/pf_fwrite.c:
|
||||
libs/RevoEX/src/vf/api/pf_fwrite.c:
|
||||
.text start:0x814A8894 end:0x814A88BC
|
||||
|
||||
libs/RevoEX/src/vf/pf_getdev.c:
|
||||
libs/RevoEX/src/vf/api/pf_getdev.c:
|
||||
.text start:0x814A88BC end:0x814A88E4
|
||||
|
||||
libs/RevoEX/src/vf/pf_init_prfile2.c:
|
||||
libs/RevoEX/src/vf/api/pf_init_prfile2.c:
|
||||
.text start:0x814A88E4 end:0x814A8924
|
||||
|
||||
libs/RevoEX/src/vf/pf_mkdir.c:
|
||||
libs/RevoEX/src/vf/api/pf_mkdir.c:
|
||||
.text start:0x814A8924 end:0x814A8974
|
||||
|
||||
libs/RevoEX/src/vf/pf_remove.c:
|
||||
libs/RevoEX/src/vf/api/pf_remove.c:
|
||||
.text start:0x814A8974 end:0x814A89C4
|
||||
|
||||
libs/RevoEX/src/vf/pf_rmdir.c:
|
||||
libs/RevoEX/src/vf/api/pf_rmdir.c:
|
||||
.text start:0x814A89C4 end:0x814A8A14
|
||||
|
||||
libs/RevoEX/src/vf/pf_sync.c:
|
||||
libs/RevoEX/src/vf/api/pf_sync.c:
|
||||
.text start:0x814A8A14 end:0x814A8A3C
|
||||
|
||||
libs/RevoEX/src/vf/pf_unmount.c:
|
||||
libs/RevoEX/src/vf/api/pf_unmount.c:
|
||||
.text start:0x814A8A3C end:0x814A8A64
|
||||
|
||||
libs/RevoEX/src/vf/pf_filelock.c:
|
||||
libs/RevoEX/src/vf/api/pf_filelock.c:
|
||||
.text start:0x814A8A64 end:0x814A8A78
|
||||
|
||||
libs/RevoEX/src/vf/pf_system.c:
|
||||
libs/RevoEX/src/vf/api/pf_system.c:
|
||||
.text start:0x814A8A78 end:0x814A8AF0
|
||||
.sbss start:0x8166D488 end:0x8166D490
|
||||
|
||||
@@ -1768,13 +1768,13 @@ libs/RevoEX/src/vf/d_common.c:
|
||||
.bss start:0x810F3C50 end:0x810F3E58
|
||||
.text start:0x814ADBF0 end:0x814AE80C
|
||||
|
||||
libs/RevoEX/src/vf/nand_drv.c:
|
||||
libs/RevoEX/src/vf/driver/nand_drv.c:
|
||||
.bss start:0x810F3E58 end:0x810F4000
|
||||
.text start:0x814AE80C end:0x814B177C
|
||||
.rodata start:0x815F6968 end:0x815F6988
|
||||
.sbss start:0x8166D4B8 end:0x8166D4C0
|
||||
|
||||
libs/RevoEX/src/vf/sd_drv.c:
|
||||
libs/RevoEX/src/vf/driver/sd_drv.c:
|
||||
.bss start:0x810F4000 end:0x810F43C0
|
||||
.text start:0x814B177C end:0x814B2594
|
||||
.rodata start:0x815F6988 end:0x815F69A8
|
||||
@@ -1891,11 +1891,53 @@ libs/RVLFaceLib/src/RFL_Format.c:
|
||||
extabindex start:0x813312E4 end:0x8133135C
|
||||
.text start:0x814C2CC0 end:0x814C3200
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/decapi.c:
|
||||
.text start:0x814C3200 end:0x814CFDDC
|
||||
.rodata start:0x815F7870 end:0x815F7AE0
|
||||
libs/RVLMiddleware/TMC_JPEG/src/buffer/mkhdec3.c:
|
||||
.text start:0x814C3200 end:0x814C36CC
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/buffer/buffer_system.c:
|
||||
.text start:0x814C36CC end:0x814C4058
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/buffer/getcode.c:
|
||||
.text start:0x814C4058 end:0x814C4194
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var.c:
|
||||
.text start:0x814C4194 end:0x814C4CB0
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/api/decapi.c:
|
||||
.text start:0x814C4CB0 end:0x814C50FC
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jdec.c:
|
||||
.text start:0x814C50FC end:0x814C54F8
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jdec_main.c:
|
||||
.text start:0x814C54F8 end:0x814C6ADC
|
||||
.rodata start:0x815F7870 end:0x815F7970
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jpformat.c:
|
||||
.rodata start:0x815F7970 end:0x815F7AE0
|
||||
.sdata2 start:0x81669810 end:0x81669818
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/exif/exif_parse.c:
|
||||
.text start:0x814C6ADC end:0x814C7EBC
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/reschange/iqdec_resolution_change_a3.c:
|
||||
.text start:0x814C7EBC end:0x814C8248
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var.c:
|
||||
.text start:0x814C8248 end:0x814C8954
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8.c:
|
||||
.text start:0x814C8954 end:0x814CC7A0
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565.c:
|
||||
.text start:0x814CC7A0 end:0x814CDFC8
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8.c:
|
||||
.text start:0x814CDFC8 end:0x814CF98C
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32.c:
|
||||
.text start:0x814CF98C end:0x814CFDDC
|
||||
|
||||
libs/NW4R/src/snd/snd_AxManager.cpp:
|
||||
.bss start:0x810F43C0 end:0x810FE7D8
|
||||
.text start:0x814CFDDC end:0x814D16B8
|
||||
@@ -2485,6 +2527,7 @@ libs/RVL_SDK/src/os/OSPlayRecord.c:
|
||||
.bss start:0x81114120 end:0x81114320
|
||||
.text start:0x8150FB7C end:0x8151046C
|
||||
.data start:0x81654740 end:0x81654788
|
||||
.sdata start:0x8166C498 end:0x8166C4A0
|
||||
.sbss start:0x8166D6D0 end:0x8166D6F0
|
||||
|
||||
libs/RVL_SDK/src/os/OSStateFlags.c:
|
||||
@@ -2505,7 +2548,7 @@ libs/RVL_SDK/src/os/OSPlayTime.c:
|
||||
.text start:0x81510B40 end:0x815113C0
|
||||
.data start:0x81654938 end:0x81654978
|
||||
.sdata2 start:0x81669C30 end:0x81669C40
|
||||
.sdata start:0x8166C498 end:0x8166C4A8
|
||||
.sdata start:0x8166C4A0 end:0x8166C4A8
|
||||
.sbss start:0x8166D6F0 end:0x8166D708
|
||||
|
||||
libs/RVL_SDK/src/os/__ppc_eabi_init.cpp:
|
||||
@@ -3390,451 +3433,451 @@ libs/RVL_SDK/src/cnt/cnt.c:
|
||||
.rodata start:0x81606940 end:0x81606BB8
|
||||
.data start:0x81664CE0 end:0x81664DE0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_clib.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_clib.c:
|
||||
.text start:0x8159ED00 end:0x8159F13C
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_code.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_code.c:
|
||||
.text start:0x8159F13C end:0x8159F158
|
||||
.rodata start:0x81606BB8 end:0x81606C18
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_service.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_service.c:
|
||||
.text start:0x8159F158 end:0x8159F290
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_str.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_str.c:
|
||||
.text start:0x8159F290 end:0x8159F7F4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_driver.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_driver.c:
|
||||
.text start:0x8159F7F4 end:0x815A00F8
|
||||
|
||||
libs/RVL_SDK/src/fa/pdm_api.c:
|
||||
libs/RVL_SDK/src/fa/api/pdm_api.c:
|
||||
.text start:0x815A00F8 end:0x815A01A0
|
||||
|
||||
libs/RVL_SDK/src/fa/pdm_bpb.c:
|
||||
libs/RVL_SDK/src/fa/api/pdm_bpb.c:
|
||||
.text start:0x815A01A0 end:0x815A068C
|
||||
|
||||
libs/RVL_SDK/src/fa/pdm_disk.c:
|
||||
libs/RVL_SDK/src/fa/api/pdm_disk.c:
|
||||
.bss start:0x81175B98 end:0x81176560
|
||||
.text start:0x815A068C end:0x815A0E78
|
||||
|
||||
libs/RVL_SDK/src/fa/pdm_partition.c:
|
||||
libs/RVL_SDK/src/fa/api/pdm_partition.c:
|
||||
.text start:0x815A0E78 end:0x815A1CFC
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_cache.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_cache.c:
|
||||
.text start:0x815A1CFC end:0x815A39E0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_cluster.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_cluster.c:
|
||||
.text start:0x815A39E0 end:0x815A4BA8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_dir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_dir.c:
|
||||
.text start:0x815A4BA8 end:0x815A95C8
|
||||
.sdata2 start:0x81669FE0 end:0x81669FE8
|
||||
.sdata start:0x8166C950 end:0x8166C970
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_entry.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_entry.c:
|
||||
.text start:0x815A95C8 end:0x815AAF4C
|
||||
.data start:0x81664DE0 end:0x81664DF0
|
||||
.sdata2 start:0x81669FE8 end:0x81669FF0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_entry_iterator.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_entry_iterator.c:
|
||||
.text start:0x815AAF4C end:0x815ACE14
|
||||
.sdata start:0x8166C970 end:0x8166C988
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fat.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fat.c:
|
||||
.text start:0x815ACE14 end:0x815AFF30
|
||||
.rodata start:0x81606C18 end:0x81606C58
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fat12.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fat12.c:
|
||||
.text start:0x815AFF30 end:0x815B07A4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fat16.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fat16.c:
|
||||
.text start:0x815B07A4 end:0x815B0BE8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fat32.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fat32.c:
|
||||
.text start:0x815B0BE8 end:0x815B10D8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fatfs.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fatfs.c:
|
||||
.text start:0x815B10D8 end:0x815B10DC
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_file.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_file.c:
|
||||
.text start:0x815B10DC end:0x815B5678
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_path.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_path.c:
|
||||
.text start:0x815B5678 end:0x815B84D8
|
||||
.sdata2 start:0x81669FF0 end:0x81669FF8
|
||||
.sdata start:0x8166C988 end:0x8166C9B8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_sector.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_sector.c:
|
||||
.text start:0x815B84D8 end:0x815B8C00
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_volume.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_volume.c:
|
||||
.bss start:0x81176560 end:0x811A9D60
|
||||
.text start:0x815B8C00 end:0x815BD248
|
||||
.data start:0x81664DF0 end:0x81664E00
|
||||
.sdata2 start:0x81669FF8 end:0x8166A000
|
||||
.sdata start:0x8166C9B8 end:0x8166C9C0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_volume_apiadd.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_volume_apiadd.c:
|
||||
.text start:0x815BD248 end:0x815BD2C0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_cp932.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_cp932.c:
|
||||
.text start:0x815BD2C0 end:0x815BD7D0
|
||||
.rodata start:0x81606C58 end:0x8160AED0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_api_util.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_api_util.c:
|
||||
.text start:0x815BD7D0 end:0x815BD980
|
||||
.data start:0x81664E00 end:0x81664EA0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_attach.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_attach.c:
|
||||
.text start:0x815BD980 end:0x815BDA30
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_buffering.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_buffering.c:
|
||||
.text start:0x815BDA30 end:0x815BDA5C
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_cdelete.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_cdelete.c:
|
||||
.text start:0x815BDA5C end:0x815BDAD8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_chdir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_chdir.c:
|
||||
.text start:0x815BDAD8 end:0x815BDB28
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_chdmod.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_chdmod.c:
|
||||
.text start:0x815BDB28 end:0x815BDB88
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_chmod.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_chmod.c:
|
||||
.text start:0x815BDB88 end:0x815BDBE8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_cinsert.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_cinsert.c:
|
||||
.text start:0x815BDBE8 end:0x815BDC64
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_closedir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_closedir.c:
|
||||
.text start:0x815BDC64 end:0x815BDC88
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_combine.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_combine.c:
|
||||
.text start:0x815BDC88 end:0x815BDD04
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_create.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_create.c:
|
||||
.text start:0x815BDD04 end:0x815BDD60
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_createdir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_createdir.c:
|
||||
.text start:0x815BDD60 end:0x815BDDD4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_cut.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_cut.c:
|
||||
.text start:0x815BDDD4 end:0x815BDE5C
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_derrnum.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_derrnum.c:
|
||||
.text start:0x815BDE5C end:0x815BDE84
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_detach.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_detach.c:
|
||||
.text start:0x815BDE84 end:0x815BDEAC
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_divide.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_divide.c:
|
||||
.text start:0x815BDEAC end:0x815BDF3C
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_errnum.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_errnum.c:
|
||||
.text start:0x815BDF3C end:0x815BDF60
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fadjust.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fadjust.c:
|
||||
.text start:0x815BDF60 end:0x815BDF84
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fappend.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fappend.c:
|
||||
.text start:0x815BDF84 end:0x815BDFAC
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fchdir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fchdir.c:
|
||||
.text start:0x815BDFAC end:0x815BDFD0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fclose.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fclose.c:
|
||||
.text start:0x815BDFD0 end:0x815BDFF4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fconcat.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fconcat.c:
|
||||
.text start:0x815BDFF4 end:0x815BE070
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_feof.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_feof.c:
|
||||
.text start:0x815BE070 end:0x815BE094
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_ferror.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_ferror.c:
|
||||
.text start:0x815BE094 end:0x815BE0B8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_finfo.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_finfo.c:
|
||||
.text start:0x815BE0B8 end:0x815BE0DC
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_flock.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_flock.c:
|
||||
.text start:0x815BE0DC end:0x815BE104
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fopen.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fopen.c:
|
||||
.text start:0x815BE104 end:0x815BE1A0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_format.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_format.c:
|
||||
.text start:0x815BE1A0 end:0x815BE1C8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fread.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fread.c:
|
||||
.text start:0x815BE1C8 end:0x815BE1F0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fseek.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fseek.c:
|
||||
.text start:0x815BE1F0 end:0x815BE214
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fsetclstlink.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fsetclstlink.c:
|
||||
.text start:0x815BE214 end:0x815BE238
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fsexec.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fsexec.c:
|
||||
.text start:0x815BE238 end:0x815BE25C
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fsfirst.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fsfirst.c:
|
||||
.text start:0x815BE25C end:0x815BE2D0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fsnext.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fsnext.c:
|
||||
.text start:0x815BE2D0 end:0x815BE2F4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fstat.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fstat.c:
|
||||
.text start:0x815BE2F4 end:0x815BE354
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fsync.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fsync.c:
|
||||
.text start:0x815BE354 end:0x815BE378
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_fwrite.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_fwrite.c:
|
||||
.text start:0x815BE378 end:0x815BE3A0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_getdev.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_getdev.c:
|
||||
.text start:0x815BE3A0 end:0x815BE3C8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_getvol.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_getvol.c:
|
||||
.text start:0x815BE3C8 end:0x815BE3F0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_getvolcfg.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_getvolcfg.c:
|
||||
.text start:0x815BE3F0 end:0x815BE418
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_init_prfile2.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_init_prfile2.c:
|
||||
.text start:0x815BE418 end:0x815BE458
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_insert.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_insert.c:
|
||||
.text start:0x815BE458 end:0x815BE520
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_iswriteprotected.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_iswriteprotected.c:
|
||||
.text start:0x815BE520 end:0x815BE564
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_mkdir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_mkdir.c:
|
||||
.text start:0x815BE564 end:0x815BE5B4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_mount.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_mount.c:
|
||||
.text start:0x815BE5B4 end:0x815BE5DC
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_move.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_move.c:
|
||||
.text start:0x815BE5DC end:0x815BE658
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_opendir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_opendir.c:
|
||||
.text start:0x815BE658 end:0x815BE6B0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_readdir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_readdir.c:
|
||||
.text start:0x815BE6B0 end:0x815BE6D4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_regctx.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_regctx.c:
|
||||
.text start:0x815BE6D4 end:0x815BE6F8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_remove.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_remove.c:
|
||||
.text start:0x815BE6F8 end:0x815BE748
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_rename.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_rename.c:
|
||||
.text start:0x815BE748 end:0x815BE7C4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_rewinddir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_rewinddir.c:
|
||||
.text start:0x815BE7C4 end:0x815BE7EC
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_rmdir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_rmdir.c:
|
||||
.text start:0x815BE7EC end:0x815BE83C
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_rmvvol.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_rmvvol.c:
|
||||
.text start:0x815BE83C end:0x815BE864
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_seekdir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_seekdir.c:
|
||||
.text start:0x815BE864 end:0x815BE888
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_setclstlink.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_setclstlink.c:
|
||||
.text start:0x815BE888 end:0x815BE8B0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_setcode.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_setcode.c:
|
||||
.text start:0x815BE8B0 end:0x815BE8D4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_setencode.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_setencode.c:
|
||||
.text start:0x815BE8D4 end:0x815BE8F8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_settailbuf.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_settailbuf.c:
|
||||
.text start:0x815BE8F8 end:0x815BE920
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_setupfsi.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_setupfsi.c:
|
||||
.text start:0x815BE920 end:0x815BE94C
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_setvol.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_setvol.c:
|
||||
.text start:0x815BE94C end:0x815BE9A8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_setvolcfg.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_setvolcfg.c:
|
||||
.text start:0x815BE9A8 end:0x815BE9D0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_sync.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_sync.c:
|
||||
.text start:0x815BE9D0 end:0x815BE9F8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_telldir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_telldir.c:
|
||||
.text start:0x815BE9F8 end:0x815BEA1C
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_unmount.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_unmount.c:
|
||||
.text start:0x815BEA1C end:0x815BEA44
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_unregctx.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_unregctx.c:
|
||||
.text start:0x815BEA44 end:0x815BEA68
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_xdivide.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_xdivide.c:
|
||||
.text start:0x815BEA68 end:0x815BEAF8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_api_util.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_api_util.c:
|
||||
.text start:0x815BEAF8 end:0x815BEBC8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_cdelete.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_cdelete.c:
|
||||
.text start:0x815BEBC8 end:0x815BEC44
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_chdir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_chdir.c:
|
||||
.text start:0x815BEC44 end:0x815BEC94
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_chdmod.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_chdmod.c:
|
||||
.text start:0x815BEC94 end:0x815BECF4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_chmod.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_chmod.c:
|
||||
.text start:0x815BECF4 end:0x815BED54
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_cinsert.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_cinsert.c:
|
||||
.text start:0x815BED54 end:0x815BEDD0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_combine.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_combine.c:
|
||||
.text start:0x815BEDD0 end:0x815BEE4C
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_create.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_create.c:
|
||||
.text start:0x815BEE4C end:0x815BEEA8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_createdir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_createdir.c:
|
||||
.text start:0x815BEEA8 end:0x815BEF1C
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_cut.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_cut.c:
|
||||
.text start:0x815BEF1C end:0x815BEFA4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_divide.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_divide.c:
|
||||
.text start:0x815BEFA4 end:0x815BF034
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_fconcat.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_fconcat.c:
|
||||
.text start:0x815BF034 end:0x815BF0B0
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_fopen.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_fopen.c:
|
||||
.text start:0x815BF0B0 end:0x815BF14C
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_fsexec.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_fsexec.c:
|
||||
.text start:0x815BF14C end:0x815BF170
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_fsfirst.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_fsfirst.c:
|
||||
.text start:0x815BF170 end:0x815BF1E4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_fsnext.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_fsnext.c:
|
||||
.text start:0x815BF1E4 end:0x815BF208
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_fstat.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_fstat.c:
|
||||
.text start:0x815BF208 end:0x815BF268
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_insert.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_insert.c:
|
||||
.text start:0x815BF268 end:0x815BF330
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_mkdir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_mkdir.c:
|
||||
.text start:0x815BF330 end:0x815BF380
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_move.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_move.c:
|
||||
.text start:0x815BF380 end:0x815BF3FC
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_opendir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_opendir.c:
|
||||
.text start:0x815BF3FC end:0x815BF454
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_remove.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_remove.c:
|
||||
.text start:0x815BF454 end:0x815BF4A4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_rename.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_rename.c:
|
||||
.text start:0x815BF4A4 end:0x815BF520
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_rmdir.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_rmdir.c:
|
||||
.text start:0x815BF520 end:0x815BF570
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_w_xdivide.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_w_xdivide.c:
|
||||
.text start:0x815BF570 end:0x815BF600
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_filelock.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_filelock.c:
|
||||
.text start:0x815BF600 end:0x815BF764
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_stub.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_stub.c:
|
||||
.text start:0x815BF764 end:0x815BFB4C
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_system.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_system.c:
|
||||
.bss start:0x811A9D60 end:0x811AC100
|
||||
.text start:0x815BFB4C end:0x815BFBE4
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_stub_standard.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_stub_standard.c:
|
||||
.text start:0x815BFBE4 end:0x815C0168
|
||||
.data start:0x81664EA0 end:0x81664FE8
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_attach.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_attach.c:
|
||||
.text start:0x815C0168 end:0x815C01B8
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_buffering.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_buffering.c:
|
||||
.text start:0x815C01B8 end:0x815C0208
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_create.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_create.c:
|
||||
.text start:0x815C0208 end:0x815C0254
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_createdir.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_createdir.c:
|
||||
.text start:0x815C0254 end:0x815C02A8
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_detach.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_detach.c:
|
||||
.text start:0x815C02A8 end:0x815C02F4
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_errnum.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_errnum.c:
|
||||
.text start:0x815C02F4 end:0x815C033C
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_fclose.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_fclose.c:
|
||||
.text start:0x815C033C end:0x815C0388
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_finfot.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_finfot.c:
|
||||
.text start:0x815C0388 end:0x815C03D8
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_fopen.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_fopen.c:
|
||||
.text start:0x815C03D8 end:0x815C0428
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_format.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_format.c:
|
||||
.text start:0x815C0428 end:0x815C0478
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_fread.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_fread.c:
|
||||
.text start:0x815C0478 end:0x815C04D0
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_fseek.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_fseek.c:
|
||||
.text start:0x815C04D0 end:0x815C0524
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_fsfirst.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_fsfirst.c:
|
||||
.text start:0x815C0524 end:0x815C0578
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_fsnext.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_fsnext.c:
|
||||
.text start:0x815C0578 end:0x815C05C4
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_fstat.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_fstat.c:
|
||||
.text start:0x815C05C4 end:0x815C0614
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_fwrite.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_fwrite.c:
|
||||
.text start:0x815C0614 end:0x815C066C
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_getdev.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_getdev.c:
|
||||
.text start:0x815C066C end:0x815C06BC
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_init_prfile2.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_init_prfile2.c:
|
||||
.text start:0x815C06BC end:0x815C06C0
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_mount.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_mount.c:
|
||||
.text start:0x815C06C0 end:0x815C070C
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_remove.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_remove.c:
|
||||
.text start:0x815C070C end:0x815C0758
|
||||
|
||||
libs/RVL_SDK/src/fa/pfs_unmount.c:
|
||||
libs/RVL_SDK/src/fa/api/pfs_unmount.c:
|
||||
.text start:0x815C0758 end:0x815C07A8
|
||||
|
||||
libs/RVL_SDK/src/fa/pf_stub_unicode.c:
|
||||
libs/RVL_SDK/src/fa/api/pf_stub_unicode.c:
|
||||
.text start:0x815C07A8 end:0x815C09E8
|
||||
.data start:0x81664FE8 end:0x81665048
|
||||
|
||||
@@ -3917,39 +3960,39 @@ libs/RVL_SDK/src/fa/FASetThreadPriority.c:
|
||||
libs/RVL_SDK/src/fa/FAUnmount.c:
|
||||
.text start:0x815C11A0 end:0x815C11F0
|
||||
|
||||
libs/RVL_SDK/src/fa/pfk_api.c:
|
||||
libs/RVL_SDK/src/fa/kernel/pfk_api.c:
|
||||
.text start:0x815C11F0 end:0x815C1658
|
||||
.data start:0x816650A8 end:0x81665378
|
||||
|
||||
libs/RVL_SDK/src/fa/nand_drv.c:
|
||||
libs/RVL_SDK/src/fa/driver/nand_drv.c:
|
||||
.bss start:0x811AC1E8 end:0x811AD7E0
|
||||
.text start:0x815C1658 end:0x815C3180
|
||||
.rodata start:0x8160AED0 end:0x8160AEF0
|
||||
.sdata start:0x8166C9D0 end:0x8166C9D8
|
||||
.sbss start:0x8166DCE0 end:0x8166DD00
|
||||
|
||||
libs/RVL_SDK/src/fa/sd_drv.c:
|
||||
libs/RVL_SDK/src/fa/driver/sd_drv.c:
|
||||
.bss start:0x811AD7E0 end:0x811ADA40
|
||||
.text start:0x815C3180 end:0x815C5F70
|
||||
.rodata start:0x8160AEF0 end:0x8160B060
|
||||
.data start:0x81665378 end:0x81665D88
|
||||
.sbss start:0x8166DD00 end:0x8166DD28
|
||||
|
||||
libs/RVL_SDK/src/fa/pfd_cmn.c:
|
||||
libs/RVL_SDK/src/fa/driver/pfd_cmn.c:
|
||||
.text start:0x815C5F70 end:0x815C6088
|
||||
|
||||
libs/RVL_SDK/src/fa/msc_drv.c:
|
||||
libs/RVL_SDK/src/fa/driver/msc_drv.c:
|
||||
.text start:0x815C6088 end:0x815C609C
|
||||
.sbss start:0x8166DD28 end:0x8166DD30
|
||||
|
||||
libs/RVL_SDK/src/fa/puh_msc.c:
|
||||
libs/RVL_SDK/src/fa/msc/puh_msc.c:
|
||||
.text start:0x815C609C end:0x815C6354
|
||||
.sbss start:0x8166DD30 end:0x8166DD40
|
||||
|
||||
libs/RVL_SDK/src/fa/puh_msc_cmd.c:
|
||||
libs/RVL_SDK/src/fa/msc/puh_msc_cmd.c:
|
||||
.text start:0x815C6354 end:0x815C6730
|
||||
|
||||
libs/RVL_SDK/src/fa/puh_msc_blk.c:
|
||||
libs/RVL_SDK/src/fa/msc/puh_msc_blk.c:
|
||||
.bss start:0x811ADA40 end:0x811ADBC0
|
||||
.text start:0x815C6730 end:0x815C6F48
|
||||
.data start:0x81665D88 end:0x81665DA8
|
||||
@@ -3978,24 +4021,24 @@ libs/RVL_SDK/src/nup/nup_mem.cpp:
|
||||
.text start:0x815CBAAC end:0x815CBBB4
|
||||
.sbss start:0x8166DD70 end:0x8166DD78
|
||||
|
||||
libs/RVL_SDK/src/scutil/scutil.c:
|
||||
libs/RVL_SDK/src/scutil/idToIsoA2.c:
|
||||
.text start:0x815CBBB4 end:0x815CBC0C
|
||||
.data start:0x816664A8 end:0x81666770
|
||||
.sdata start:0x8166CA18 end:0x8166CBE8
|
||||
|
||||
libs/RVL_SDK/src/usbutil/uh_ker_mem.c:
|
||||
libs/RVL_SDK/src/usbcmn/puh_ker_mem.c:
|
||||
.text start:0x815CBC0C end:0x815CBC70
|
||||
|
||||
libs/RVL_SDK/src/usbutil/uh_ker_msg.c:
|
||||
libs/RVL_SDK/src/usbcmn/puh_ker_msg.c:
|
||||
.bss start:0x811ADC40 end:0x811ADC58
|
||||
.text start:0x815CBC70 end:0x815CBCF4
|
||||
|
||||
libs/RVL_SDK/src/usbutil/uh_ker_sem.c:
|
||||
libs/RVL_SDK/src/usbcmn/puh_ker_sem.c:
|
||||
.bss start:0x811ADC58 end:0x811ADD90
|
||||
.text start:0x815CBCF4 end:0x815CBFF4
|
||||
.sbss start:0x8166DD78 end:0x8166DD80
|
||||
|
||||
libs/RVL_SDK/src/usbutil/uh_ker_tsk.c:
|
||||
libs/RVL_SDK/src/usbcmn/puh_ker_tsk.c:
|
||||
.bss start:0x811ADD90 end:0x811AE420
|
||||
.text start:0x815CBFF4 end:0x815CC07C
|
||||
|
||||
@@ -4370,11 +4413,8 @@ libs/MSL/src/math/e_rem_pio2.c:
|
||||
.rodata start:0x8160C0B0 end:0x8160C238
|
||||
.sdata2 start:0x8166A438 end:0x8166A490
|
||||
|
||||
libs/MSL/src/math/s_fmin.c:
|
||||
.text start:0x815E33F0 end:0x815E345C
|
||||
|
||||
libs/MSL/src/math/s_fmax.c:
|
||||
.text start:0x815E345C end:0x815E34C8
|
||||
libs/MSL/src/math/fminmaxdim.c:
|
||||
.text start:0x815E33F0 end:0x815E34C8
|
||||
|
||||
libs/MSL/src/math/k_cos.c:
|
||||
.text start:0x815E34C8 end:0x815E35D8
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -53,8 +53,11 @@ extract:
|
||||
binary: backToWiiMenu.arc
|
||||
header: backToWiiMenu_arc.inc
|
||||
|
||||
- symbol: DSPInitCode
|
||||
binary: dsp\initCode.bin
|
||||
header: DSPInitCode.inc
|
||||
|
||||
- symbol: axDspSlave
|
||||
binary: ax\dspSlave.bin
|
||||
header: axDspSlave.inc
|
||||
|
||||
- symbol: ca_dpki
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
555
configure.py
555
configure.py
@@ -183,8 +183,12 @@ config.sjiswrap_tag = "v1.2.0"
|
||||
config.wibo_tag = "0.6.16"
|
||||
config.bstool_tag = "v1.0.1"
|
||||
|
||||
def getFirstFile(path_find):
|
||||
for filename in Path(path_find).iterdir():
|
||||
if filename.is_file() and filename.suffix == '.wad':
|
||||
return Path(filename)
|
||||
# Project
|
||||
config.wad_path = Path("orig") / config.version / "base.wad"
|
||||
config.wad_path = getFirstFile(Path("orig") / config.version)
|
||||
config.app_name = "0000000" + str(VERSION_INFO[VERSION_CONTENT][version_num]) + ".app"
|
||||
config.app_path = Path("build") / config.version / Path("base") / config.app_name
|
||||
config.dol_path = Path("build") / config.version / Path("base") / "main.dol"
|
||||
@@ -243,16 +247,17 @@ cflags_base = [
|
||||
"-align powerpc",
|
||||
"-enum int",
|
||||
"-fp hardware",
|
||||
"-Cpp_exceptions off",
|
||||
# "-W all",
|
||||
"-O4,p",
|
||||
"-inline auto",
|
||||
'-pragma "cats off"',
|
||||
'-pragma "warn_notinlined off"',
|
||||
"-maxerrors 1",
|
||||
"-nosyspath",
|
||||
"-RTTI off",
|
||||
"-ipa file",
|
||||
"-fp_contract on",
|
||||
"-str reuse",
|
||||
"-enc SJIS",
|
||||
*cflags_includes,
|
||||
f"-DBUILD_VERSION={version_num}",
|
||||
f"-DVERSION_{config.version}",
|
||||
@@ -267,23 +272,25 @@ else:
|
||||
# Main IPL flags
|
||||
cflags_ipl = [
|
||||
*cflags_base,
|
||||
"-ipa file",
|
||||
"-gccinc",
|
||||
"-fp_contract off",
|
||||
"-Cpp_exceptions off",
|
||||
"-O4,s",
|
||||
"-enc SJIS",
|
||||
]
|
||||
|
||||
# Common SDK flags
|
||||
cflags_sdk = [
|
||||
*cflags_base,
|
||||
"-ipa file",
|
||||
"-fp_contract off",
|
||||
"-Cpp_exceptions off",
|
||||
"-O4,p",
|
||||
]
|
||||
|
||||
# NW4R flags
|
||||
cflags_nw4r = [
|
||||
*cflags_base,
|
||||
"-ipa file",
|
||||
"-fp_contract off",
|
||||
"-Cpp_exceptions off",
|
||||
"-O4,p",
|
||||
@@ -292,6 +299,7 @@ cflags_nw4r = [
|
||||
# Common SDK flags (with exceptions on)
|
||||
cflags_sdk_except = [
|
||||
*cflags_base,
|
||||
"-ipa file",
|
||||
"-fp_contract off",
|
||||
"-Cpp_exceptions on",
|
||||
"-O4,p",
|
||||
@@ -303,7 +311,6 @@ cflags_runtime = [
|
||||
"-use_lmw_stmw on",
|
||||
"-str reuse,pool,readonly",
|
||||
"-fp_contract off",
|
||||
"-Cpp_exceptions off",
|
||||
"-gccinc",
|
||||
"-D_IEEE_LIBM",
|
||||
"-O4,p",
|
||||
@@ -311,24 +318,9 @@ cflags_runtime = [
|
||||
|
||||
# MetroTRK library flags
|
||||
cflags_trk = [
|
||||
"-nodefaults",
|
||||
"-proc gekko",
|
||||
"-align powerpc",
|
||||
"-enum int",
|
||||
"-fp hardware",
|
||||
'-pragma "cats off"',
|
||||
'-pragma "warn_notinlined off"',
|
||||
"-maxerrors 1",
|
||||
"-nosyspath",
|
||||
"-Cpp_exceptions off",
|
||||
"-RTTI off",
|
||||
"-str reuse,pool,readonly",
|
||||
"-use_lmw_stmw on",
|
||||
*cflags_runtime,
|
||||
"-inline deferred",
|
||||
"-sdata 0",
|
||||
"-O4,p",
|
||||
*cflags_includes,
|
||||
f"-DVERSION_{config.version}",
|
||||
]
|
||||
|
||||
config.linker_version = "GC/3.0a5.2"
|
||||
@@ -366,7 +358,7 @@ def ATOKLib(lib_name: str, objects: List[Object]) -> Dict[str, Any]:
|
||||
"src_dir": "libs/RVLMiddleware/ATOKDict/src",
|
||||
}
|
||||
|
||||
# Helper function for RVLFaceLib libraries
|
||||
# Helper function for RVLFaceLib library
|
||||
def RVLFaceLib(objects: List[Object]) -> Dict[str, Any]:
|
||||
return {
|
||||
"lib": "RVLFaceLib",
|
||||
@@ -377,7 +369,7 @@ def RVLFaceLib(objects: List[Object]) -> Dict[str, Any]:
|
||||
"src_dir": "libs/RVLFaceLib/src",
|
||||
}
|
||||
|
||||
# Helper function for TMC_JPEG libraries
|
||||
# Helper function for TMC_JPEG library
|
||||
def TMCJpegLib(objects: List[Object]) -> Dict[str, Any]:
|
||||
return {
|
||||
"lib": "TMC_JPEG",
|
||||
@@ -399,7 +391,7 @@ def NW4RLib(lib_name: str, objects: List[Object]) -> Dict[str, Any]:
|
||||
"src_dir": "libs/NW4R/src",
|
||||
}
|
||||
|
||||
# Helper function for EGG libraries
|
||||
# Helper function for EGG library
|
||||
def EGGLib(objects: List[Object]) -> Dict[str, Any]:
|
||||
return {
|
||||
"lib": "EGG",
|
||||
@@ -502,7 +494,7 @@ config.libs = [
|
||||
Object(NonMatching, "system/iplNwc24Manager.cpp"),
|
||||
Object(Matching, "system/iplPointer.cpp"),
|
||||
Object(Matching, "system/iplPointerCore.cpp"),
|
||||
Object(Equivalent, "system/iplDialogWindow.cpp"),
|
||||
Object(Matching, "system/iplDialogWindow.cpp"),
|
||||
Object(NonMatching, "system/iplHomeButtonMenu.cpp"),
|
||||
Object(NonMatching, "system/iplNandSDWorker.cpp"),
|
||||
Object(NonMatching, "system/iplKeyboard.cpp"),
|
||||
@@ -866,13 +858,13 @@ config.libs = [
|
||||
Object(NonMatching, "MonPE/ApAIDic.c"),
|
||||
Object(NonMatching, "MonPE/ApCore.c"),
|
||||
Object(NonMatching, "MonPE/ApDic.c"),
|
||||
Object(NonMatching, "MonPE/ApJACNorm.c"),
|
||||
Object(NonMatching, "MonPE/ApJAC.c"),
|
||||
]
|
||||
),
|
||||
# eZiText (for 4.3U and 4.3E only)
|
||||
ZI8Lib("eZiText",
|
||||
[
|
||||
Object(NonMatching, "zi8ezt.c"),
|
||||
Object(NonMatching, "eztx.c"),
|
||||
Object(NonMatching, "zi8address.c"),
|
||||
Object(NonMatching, "zi8convert.c"),
|
||||
Object(NonMatching, "zi8letter.c"),
|
||||
@@ -998,62 +990,62 @@ config.libs = [
|
||||
),
|
||||
RevoEXLib("vf",
|
||||
[
|
||||
Object(Matching, "vf/pf_clib.c"),
|
||||
Object(Matching, "vf/pf_code.c"),
|
||||
Object(Matching, "vf/pf_service.c"),
|
||||
Object(NonMatching, "vf/pf_str.c"),
|
||||
Object(Matching, "vf/pf_w_clib.c"),
|
||||
Object(NonMatching, "vf/pf_driver.c"),
|
||||
Object(NonMatching, "vf/pdm_bpb.c"),
|
||||
Object(NonMatching, "vf/pdm_disk.c"),
|
||||
Object(NonMatching, "vf/pdm_partition.c"),
|
||||
Object(NonMatching, "vf/pdm_mbr.c"),
|
||||
Object(NonMatching, "vf/pdm_dskmng.c"),
|
||||
Object(NonMatching, "vf/pf_cache.c"),
|
||||
Object(NonMatching, "vf/pf_cluster.c"),
|
||||
Object(NonMatching, "vf/pf_dir.c"),
|
||||
Object(NonMatching, "vf/pf_entry.c"),
|
||||
Object(NonMatching, "vf/pf_entry_iterator.c"),
|
||||
Object(NonMatching, "vf/pf_fat.c"),
|
||||
Object(NonMatching, "vf/pf_fat12.c"),
|
||||
Object(NonMatching, "vf/pf_fat16.c"),
|
||||
Object(NonMatching, "vf/pf_fat32.c"),
|
||||
Object(NonMatching, "vf/pf_fatfs.c"),
|
||||
Object(NonMatching, "vf/pf_file.c"),
|
||||
Object(NonMatching, "vf/pf_path.c"),
|
||||
Object(NonMatching, "vf/pf_sector.c"),
|
||||
Object(NonMatching, "vf/pf_volume.c"),
|
||||
Object(NonMatching, "vf/pf_cp932.c"),
|
||||
Object(NonMatching, "vf/pf_attach.c"),
|
||||
Object(NonMatching, "vf/pf_chdir.c"),
|
||||
Object(NonMatching, "vf/pf_create.c"),
|
||||
Object(NonMatching, "vf/pf_detach.c"),
|
||||
Object(NonMatching, "vf/pf_errnum.c"),
|
||||
Object(NonMatching, "vf/pf_fclose.c"),
|
||||
Object(NonMatching, "vf/pf_finfo.c"),
|
||||
Object(NonMatching, "vf/pf_fopen.c"),
|
||||
Object(NonMatching, "vf/pf_format.c"),
|
||||
Object(NonMatching, "vf/pf_fread.c"),
|
||||
Object(NonMatching, "vf/pf_fseek.c"),
|
||||
Object(NonMatching, "vf/pf_fsfirst.c"),
|
||||
Object(NonMatching, "vf/pf_fsnext.c"),
|
||||
Object(NonMatching, "vf/pf_fwrite.c"),
|
||||
Object(NonMatching, "vf/pf_getdev.c"),
|
||||
Object(NonMatching, "vf/pf_init_prfile2.c"),
|
||||
Object(NonMatching, "vf/pf_mkdir.c"),
|
||||
Object(NonMatching, "vf/pf_remove.c"),
|
||||
Object(NonMatching, "vf/pf_rmdir.c"),
|
||||
Object(NonMatching, "vf/pf_sync.c"),
|
||||
Object(NonMatching, "vf/pf_unmount.c"),
|
||||
Object(NonMatching, "vf/pf_filelock.c"),
|
||||
Object(NonMatching, "vf/pf_system.c"),
|
||||
Object(Matching, "vf/api/pf_clib.c"),
|
||||
Object(Matching, "vf/api/pf_code.c"),
|
||||
Object(Matching, "vf/api/pf_service.c"),
|
||||
Object(NonMatching, "vf/api/pf_str.c"),
|
||||
Object(Matching, "vf/api/pf_w_clib.c"),
|
||||
Object(NonMatching, "vf/api/pf_driver.c"),
|
||||
Object(NonMatching, "vf/api/pdm_bpb.c"),
|
||||
Object(NonMatching, "vf/api/pdm_disk.c"),
|
||||
Object(NonMatching, "vf/api/pdm_partition.c"),
|
||||
Object(NonMatching, "vf/api/pdm_mbr.c"),
|
||||
Object(NonMatching, "vf/api/pdm_dskmng.c"),
|
||||
Object(NonMatching, "vf/api/pf_cache.c"),
|
||||
Object(NonMatching, "vf/api/pf_cluster.c"),
|
||||
Object(NonMatching, "vf/api/pf_dir.c"),
|
||||
Object(NonMatching, "vf/api/pf_entry.c"),
|
||||
Object(NonMatching, "vf/api/pf_entry_iterator.c"),
|
||||
Object(NonMatching, "vf/api/pf_fat.c"),
|
||||
Object(NonMatching, "vf/api/pf_fat12.c"),
|
||||
Object(NonMatching, "vf/api/pf_fat16.c"),
|
||||
Object(NonMatching, "vf/api/pf_fat32.c"),
|
||||
Object(NonMatching, "vf/api/pf_fatfs.c"),
|
||||
Object(NonMatching, "vf/api/pf_file.c"),
|
||||
Object(NonMatching, "vf/api/pf_path.c"),
|
||||
Object(NonMatching, "vf/api/pf_sector.c"),
|
||||
Object(NonMatching, "vf/api/pf_volume.c"),
|
||||
Object(NonMatching, "vf/api/pf_cp932.c"),
|
||||
Object(NonMatching, "vf/api/pf_attach.c"),
|
||||
Object(NonMatching, "vf/api/pf_chdir.c"),
|
||||
Object(NonMatching, "vf/api/pf_create.c"),
|
||||
Object(NonMatching, "vf/api/pf_detach.c"),
|
||||
Object(NonMatching, "vf/api/pf_errnum.c"),
|
||||
Object(NonMatching, "vf/api/pf_fclose.c"),
|
||||
Object(NonMatching, "vf/api/pf_finfo.c"),
|
||||
Object(NonMatching, "vf/api/pf_fopen.c"),
|
||||
Object(NonMatching, "vf/api/pf_format.c"),
|
||||
Object(NonMatching, "vf/api/pf_fread.c"),
|
||||
Object(NonMatching, "vf/api/pf_fseek.c"),
|
||||
Object(NonMatching, "vf/api/pf_fsfirst.c"),
|
||||
Object(NonMatching, "vf/api/pf_fsnext.c"),
|
||||
Object(NonMatching, "vf/api/pf_fwrite.c"),
|
||||
Object(NonMatching, "vf/api/pf_getdev.c"),
|
||||
Object(NonMatching, "vf/api/pf_init_prfile2.c"),
|
||||
Object(NonMatching, "vf/api/pf_mkdir.c"),
|
||||
Object(NonMatching, "vf/api/pf_remove.c"),
|
||||
Object(NonMatching, "vf/api/pf_rmdir.c"),
|
||||
Object(NonMatching, "vf/api/pf_sync.c"),
|
||||
Object(NonMatching, "vf/api/pf_unmount.c"),
|
||||
Object(NonMatching, "vf/api/pf_filelock.c"),
|
||||
Object(NonMatching, "vf/api/pf_system.c"),
|
||||
Object(NonMatching, "vf/d_vf.c"),
|
||||
Object(NonMatching, "vf/d_vf_sys.c"),
|
||||
Object(NonMatching, "vf/d_hash.c"),
|
||||
Object(NonMatching, "vf/d_time.c"),
|
||||
Object(NonMatching, "vf/d_common.c"),
|
||||
Object(NonMatching, "vf/nand_drv.c"),
|
||||
Object(NonMatching, "vf/sd_drv.c"),
|
||||
Object(NonMatching, "vf/driver/nand_drv.c"),
|
||||
Object(NonMatching, "vf/driver/sd_drv.c"),
|
||||
]
|
||||
),
|
||||
RevoEXLib("wd",
|
||||
@@ -1084,10 +1076,31 @@ config.libs = [
|
||||
Object(NonMatching, "RFL_Format.c"),
|
||||
]
|
||||
),
|
||||
# TMC_JPEG
|
||||
# TMC JPEG
|
||||
TMCJpegLib(
|
||||
[
|
||||
Object(NonMatching, "decapi.c"),
|
||||
Object(NonMatching, "buffer/mkhdec3.c"),
|
||||
Object(NonMatching, "buffer/buffer_system.c"),
|
||||
Object(NonMatching, "buffer/getcode.c"),
|
||||
Object(NonMatching, "buffer/idct_block_var.c"),
|
||||
Object(NonMatching, "buffer/decapi.c"),
|
||||
|
||||
Object(NonMatching, "api/decapi.c"),
|
||||
|
||||
Object(NonMatching, "jpegdec/jdec.c"),
|
||||
Object(NonMatching, "jpegdec/jdec_main.c"),
|
||||
Object(NonMatching, "jpegdec/jpformat.c"),
|
||||
|
||||
Object(NonMatching, "exif/exif_parse.c"),
|
||||
|
||||
Object(NonMatching, "reschange/iqdec_resolution_change_a3.c"),
|
||||
Object(NonMatching, "reschange/idct_resolution_change_var.c"),
|
||||
|
||||
Object(NonMatching, "texturecvtr/Texture_MCUtoY8U8V8.c"),
|
||||
Object(NonMatching, "texturecvtr/Texture_MCUtoRGB565.c"),
|
||||
Object(NonMatching, "texturecvtr/Texture_MCUtoRGBA8.c"),
|
||||
|
||||
Object(NonMatching, "b65/iqdec_b65_frv32.c"),
|
||||
]
|
||||
),
|
||||
# NW4R
|
||||
@@ -1213,44 +1226,44 @@ config.libs = [
|
||||
),
|
||||
RVLSDKLib("os",
|
||||
[
|
||||
Object(NonMatching, "os/OS.c"),
|
||||
Object(Matching, "os/OS.c"),
|
||||
Object(Matching, "os/OSAlarm.c"),
|
||||
Object(NonMatching, "os/OSAlloc.c"),
|
||||
Object(NonMatching, "os/OSArena.c"),
|
||||
Object(NonMatching, "os/OSAudioSystem.c"),
|
||||
Object(NonMatching, "os/OSCache.c"),
|
||||
Object(NonMatching, "os/OSContext.c"),
|
||||
Object(NonMatching, "os/OSError.c"),
|
||||
Object(NonMatching, "os/OSExec.c"),
|
||||
Object(NonMatching, "os/OSFont.c"),
|
||||
Object(NonMatching, "os/OSInterrupt.c"),
|
||||
Object(NonMatching, "os/OSLink.c"),
|
||||
Object(NonMatching, "os/OSMessage.c"),
|
||||
Object(NonMatching, "os/OSMemory.c"),
|
||||
Object(NonMatching, "os/OSMutex.c"),
|
||||
Object(NonMatching, "os/OSReset.c"),
|
||||
Object(NonMatching, "os/OSRtc.c"),
|
||||
Object(NonMatching, "os/OSSemaphore.c"),
|
||||
Object(NonMatching, "os/OSSync.c"),
|
||||
Object(NonMatching, "os/OSThread.c"),
|
||||
Object(NonMatching, "os/OSTime.c"),
|
||||
Object(NonMatching, "os/OSUtf.c"),
|
||||
Object(NonMatching, "os/OSIpc.c"),
|
||||
Object(NonMatching, "os/OSStateTM.c"),
|
||||
Object(NonMatching, "os/time.dolphin.c"),
|
||||
Object(NonMatching, "os/OSPlayRecord.c"),
|
||||
Object(NonMatching, "os/OSStateFlags.c"),
|
||||
Object(NonMatching, "os/OSNet.c"),
|
||||
Object(NonMatching, "os/OSNandbootInfo.c"),
|
||||
Object(NonMatching, "os/OSPlayTime.c"),
|
||||
Object(Matching, "os/OSAlloc.c"),
|
||||
Object(Matching, "os/OSArena.c"),
|
||||
Object(Matching, "os/OSAudioSystem.c"),
|
||||
Object(Matching, "os/OSCache.c"),
|
||||
Object(Matching, "os/OSContext.c"),
|
||||
Object(Matching, "os/OSError.c"),
|
||||
Object(Matching, "os/OSExec.c"),
|
||||
Object(Matching, "os/OSFont.c"),
|
||||
Object(Matching, "os/OSInterrupt.c"),
|
||||
Object(Matching, "os/OSLink.c"),
|
||||
Object(Matching, "os/OSMessage.c"),
|
||||
Object(Matching, "os/OSMemory.c"),
|
||||
Object(Matching, "os/OSMutex.c"),
|
||||
Object(Matching, "os/OSReset.c"),
|
||||
Object(Matching, "os/OSRtc.c"),
|
||||
Object(Matching, "os/OSSemaphore.c"),
|
||||
Object(Matching, "os/OSSync.c"),
|
||||
Object(Matching, "os/OSThread.c"),
|
||||
Object(Matching, "os/OSTime.c"),
|
||||
Object(Matching, "os/OSUtf.c"),
|
||||
Object(Matching, "os/OSIpc.c"),
|
||||
Object(Matching, "os/OSStateTM.c"),
|
||||
Object(Matching, "os/time.dolphin.c"),
|
||||
Object(Matching, "os/OSPlayRecord.c"),
|
||||
Object(Matching, "os/OSStateFlags.c"),
|
||||
Object(Matching, "os/OSNet.c"),
|
||||
Object(Matching, "os/OSNandbootInfo.c"),
|
||||
Object(Matching, "os/OSPlayTime.c"),
|
||||
Object(Matching, "os/__ppc_eabi_init.cpp"),
|
||||
]
|
||||
),
|
||||
RVLSDKLib("exi",
|
||||
[
|
||||
Object(NonMatching, "exi/EXIBios.c"),
|
||||
Object(NonMatching, "exi/EXIUart.c"),
|
||||
Object(NonMatching, "exi/EXICommon.c"),
|
||||
Object(Matching, "exi/EXIBios.c", extra_cflags=["-schedule off -volatileasm"]),
|
||||
Object(Matching, "exi/EXIUart.c"),
|
||||
Object(Matching, "exi/EXICommon.c"),
|
||||
]
|
||||
),
|
||||
RVLSDKLib("si",
|
||||
@@ -1590,154 +1603,154 @@ config.libs = [
|
||||
),
|
||||
RVLSDKLib("fa",
|
||||
[
|
||||
Object(NonMatching, "fa/pf_clib.c"),
|
||||
Object(NonMatching, "fa/pf_code.c"),
|
||||
Object(NonMatching, "fa/pf_service.c"),
|
||||
Object(NonMatching, "fa/pf_str.c"),
|
||||
Object(NonMatching, "fa/pf_driver.c"),
|
||||
Object(NonMatching, "fa/api/pf_clib.c"),
|
||||
Object(NonMatching, "fa/api/pf_code.c"),
|
||||
Object(NonMatching, "fa/api/pf_service.c"),
|
||||
Object(NonMatching, "fa/api/pf_str.c"),
|
||||
Object(NonMatching, "fa/api/pf_driver.c"),
|
||||
|
||||
Object(NonMatching, "fa/pdm_api.c"),
|
||||
Object(NonMatching, "fa/pdm_bpb.c"),
|
||||
Object(NonMatching, "fa/pdm_disk.c"),
|
||||
Object(NonMatching, "fa/pdm_partition.c"),
|
||||
Object(NonMatching, "fa/api/pdm_api.c"),
|
||||
Object(NonMatching, "fa/api/pdm_bpb.c"),
|
||||
Object(NonMatching, "fa/api/pdm_disk.c"),
|
||||
Object(NonMatching, "fa/api/pdm_partition.c"),
|
||||
|
||||
Object(NonMatching, "fa/pf_cache.c"),
|
||||
Object(NonMatching, "fa/pf_cluster.c"),
|
||||
Object(NonMatching, "fa/pf_dir.c"),
|
||||
Object(NonMatching, "fa/pf_entry.c"),
|
||||
Object(NonMatching, "fa/pf_entry_iterator.c"),
|
||||
Object(NonMatching, "fa/pf_fat.c"),
|
||||
Object(NonMatching, "fa/pf_fat12.c"),
|
||||
Object(NonMatching, "fa/pf_fat16.c"),
|
||||
Object(NonMatching, "fa/pf_fat32.c"),
|
||||
Object(NonMatching, "fa/pf_fatfs.c"),
|
||||
Object(NonMatching, "fa/pf_file.c"),
|
||||
Object(NonMatching, "fa/pf_path.c"),
|
||||
Object(NonMatching, "fa/pf_sector.c"),
|
||||
Object(NonMatching, "fa/pf_volume.c"),
|
||||
Object(NonMatching, "fa/pf_volume_apiadd.c"),
|
||||
Object(NonMatching, "fa/pf_cp932.c"),
|
||||
Object(NonMatching, "fa/pf_api_util.c"),
|
||||
Object(NonMatching, "fa/api/pf_cache.c"),
|
||||
Object(NonMatching, "fa/api/pf_cluster.c"),
|
||||
Object(NonMatching, "fa/api/pf_dir.c"),
|
||||
Object(NonMatching, "fa/api/pf_entry.c"),
|
||||
Object(NonMatching, "fa/api/pf_entry_iterator.c"),
|
||||
Object(NonMatching, "fa/api/pf_fat.c"),
|
||||
Object(NonMatching, "fa/api/pf_fat12.c"),
|
||||
Object(NonMatching, "fa/api/pf_fat16.c"),
|
||||
Object(NonMatching, "fa/api/pf_fat32.c"),
|
||||
Object(NonMatching, "fa/api/pf_fatfs.c"),
|
||||
Object(NonMatching, "fa/api/pf_file.c"),
|
||||
Object(NonMatching, "fa/api/pf_path.c"),
|
||||
Object(NonMatching, "fa/api/pf_sector.c"),
|
||||
Object(NonMatching, "fa/api/pf_volume.c"),
|
||||
Object(NonMatching, "fa/api/pf_volume_apiadd.c"),
|
||||
Object(NonMatching, "fa/api/pf_cp932.c"),
|
||||
Object(NonMatching, "fa/api/pf_api_util.c"),
|
||||
|
||||
Object(NonMatching, "fa/pf_attach.c"),
|
||||
Object(NonMatching, "fa/pf_buffering.c"),
|
||||
Object(NonMatching, "fa/pf_cdelete.c"),
|
||||
Object(NonMatching, "fa/pf_chdir.c"),
|
||||
Object(NonMatching, "fa/pf_chdmod.c"),
|
||||
Object(NonMatching, "fa/pf_chmod.c"),
|
||||
Object(NonMatching, "fa/pf_cinsert.c"),
|
||||
Object(NonMatching, "fa/pf_closedir.c"),
|
||||
Object(NonMatching, "fa/pf_combine.c"),
|
||||
Object(NonMatching, "fa/pf_create.c"),
|
||||
Object(NonMatching, "fa/pf_createdir.c"),
|
||||
Object(NonMatching, "fa/pf_cut.c"),
|
||||
Object(NonMatching, "fa/pf_derrnum.c"),
|
||||
Object(NonMatching, "fa/pf_detach.c"),
|
||||
Object(NonMatching, "fa/pf_divide.c"),
|
||||
Object(NonMatching, "fa/pf_errnum.c"),
|
||||
Object(NonMatching, "fa/pf_fadjust.c"),
|
||||
Object(NonMatching, "fa/pf_fappend.c"),
|
||||
Object(NonMatching, "fa/pf_fchdir.c"),
|
||||
Object(NonMatching, "fa/pf_fclose.c"),
|
||||
Object(NonMatching, "fa/pf_fconcat.c"),
|
||||
Object(NonMatching, "fa/pf_feof.c"),
|
||||
Object(NonMatching, "fa/pf_ferror.c"),
|
||||
Object(NonMatching, "fa/pf_finfo.c"),
|
||||
Object(NonMatching, "fa/pf_flock.c"),
|
||||
Object(NonMatching, "fa/pf_fopen.c"),
|
||||
Object(NonMatching, "fa/pf_format.c"),
|
||||
Object(NonMatching, "fa/pf_fread.c"),
|
||||
Object(NonMatching, "fa/pf_fseek.c"),
|
||||
Object(NonMatching, "fa/pf_fsetclstlink.c"),
|
||||
Object(NonMatching, "fa/pf_fsexec.c"),
|
||||
Object(NonMatching, "fa/pf_fsfirst.c"),
|
||||
Object(NonMatching, "fa/pf_fsnext.c"),
|
||||
Object(NonMatching, "fa/pf_fstat.c"),
|
||||
Object(NonMatching, "fa/pf_fsync.c"),
|
||||
Object(NonMatching, "fa/pf_fwrite.c"),
|
||||
Object(NonMatching, "fa/pf_getdev.c"),
|
||||
Object(NonMatching, "fa/pf_getvol.c"),
|
||||
Object(NonMatching, "fa/pf_getvolcfg.c"),
|
||||
Object(NonMatching, "fa/pf_init_prfile2.c"),
|
||||
Object(NonMatching, "fa/pf_insert.c"),
|
||||
Object(NonMatching, "fa/pf_iswriteprotected.c"),
|
||||
Object(NonMatching, "fa/pf_mkdir.c"),
|
||||
Object(NonMatching, "fa/pf_mount.c"),
|
||||
Object(NonMatching, "fa/pf_move.c"),
|
||||
Object(NonMatching, "fa/pf_opendir.c"),
|
||||
Object(NonMatching, "fa/pf_readdir.c"),
|
||||
Object(NonMatching, "fa/pf_regctx.c"),
|
||||
Object(NonMatching, "fa/pf_remove.c"),
|
||||
Object(NonMatching, "fa/pf_rename.c"),
|
||||
Object(NonMatching, "fa/pf_rewinddir.c"),
|
||||
Object(NonMatching, "fa/pf_rmdir.c"),
|
||||
Object(NonMatching, "fa/pf_rmvvol.c"),
|
||||
Object(NonMatching, "fa/pf_seekdir.c"),
|
||||
Object(NonMatching, "fa/pf_setclstlink.c"),
|
||||
Object(NonMatching, "fa/pf_setcode.c"),
|
||||
Object(NonMatching, "fa/pf_setencode.c"),
|
||||
Object(NonMatching, "fa/pf_settailbuf.c"),
|
||||
Object(NonMatching, "fa/pf_setupfsi.c"),
|
||||
Object(NonMatching, "fa/pf_setvol.c"),
|
||||
Object(NonMatching, "fa/pf_setvolcfg.c"),
|
||||
Object(NonMatching, "fa/pf_sync.c"),
|
||||
Object(NonMatching, "fa/pf_telldir.c"),
|
||||
Object(NonMatching, "fa/pf_unmount.c"),
|
||||
Object(NonMatching, "fa/pf_unregctx.c"),
|
||||
Object(NonMatching, "fa/pf_xdivide.c"),
|
||||
Object(NonMatching, "fa/api/pf_attach.c"),
|
||||
Object(NonMatching, "fa/api/pf_buffering.c"),
|
||||
Object(NonMatching, "fa/api/pf_cdelete.c"),
|
||||
Object(NonMatching, "fa/api/pf_chdir.c"),
|
||||
Object(NonMatching, "fa/api/pf_chdmod.c"),
|
||||
Object(NonMatching, "fa/api/pf_chmod.c"),
|
||||
Object(NonMatching, "fa/api/pf_cinsert.c"),
|
||||
Object(NonMatching, "fa/api/pf_closedir.c"),
|
||||
Object(NonMatching, "fa/api/pf_combine.c"),
|
||||
Object(NonMatching, "fa/api/pf_create.c"),
|
||||
Object(NonMatching, "fa/api/pf_createdir.c"),
|
||||
Object(NonMatching, "fa/api/pf_cut.c"),
|
||||
Object(NonMatching, "fa/api/pf_derrnum.c"),
|
||||
Object(NonMatching, "fa/api/pf_detach.c"),
|
||||
Object(NonMatching, "fa/api/pf_divide.c"),
|
||||
Object(NonMatching, "fa/api/pf_errnum.c"),
|
||||
Object(NonMatching, "fa/api/pf_fadjust.c"),
|
||||
Object(NonMatching, "fa/api/pf_fappend.c"),
|
||||
Object(NonMatching, "fa/api/pf_fchdir.c"),
|
||||
Object(NonMatching, "fa/api/pf_fclose.c"),
|
||||
Object(NonMatching, "fa/api/pf_fconcat.c"),
|
||||
Object(NonMatching, "fa/api/pf_feof.c"),
|
||||
Object(NonMatching, "fa/api/pf_ferror.c"),
|
||||
Object(NonMatching, "fa/api/pf_finfo.c"),
|
||||
Object(NonMatching, "fa/api/pf_flock.c"),
|
||||
Object(NonMatching, "fa/api/pf_fopen.c"),
|
||||
Object(NonMatching, "fa/api/pf_format.c"),
|
||||
Object(NonMatching, "fa/api/pf_fread.c"),
|
||||
Object(NonMatching, "fa/api/pf_fseek.c"),
|
||||
Object(NonMatching, "fa/api/pf_fsetclstlink.c"),
|
||||
Object(NonMatching, "fa/api/pf_fsexec.c"),
|
||||
Object(NonMatching, "fa/api/pf_fsfirst.c"),
|
||||
Object(NonMatching, "fa/api/pf_fsnext.c"),
|
||||
Object(NonMatching, "fa/api/pf_fstat.c"),
|
||||
Object(NonMatching, "fa/api/pf_fsync.c"),
|
||||
Object(NonMatching, "fa/api/pf_fwrite.c"),
|
||||
Object(NonMatching, "fa/api/pf_getdev.c"),
|
||||
Object(NonMatching, "fa/api/pf_getvol.c"),
|
||||
Object(NonMatching, "fa/api/pf_getvolcfg.c"),
|
||||
Object(NonMatching, "fa/api/pf_init_prfile2.c"),
|
||||
Object(NonMatching, "fa/api/pf_insert.c"),
|
||||
Object(NonMatching, "fa/api/pf_iswriteprotected.c"),
|
||||
Object(NonMatching, "fa/api/pf_mkdir.c"),
|
||||
Object(NonMatching, "fa/api/pf_mount.c"),
|
||||
Object(NonMatching, "fa/api/pf_move.c"),
|
||||
Object(NonMatching, "fa/api/pf_opendir.c"),
|
||||
Object(NonMatching, "fa/api/pf_readdir.c"),
|
||||
Object(NonMatching, "fa/api/pf_regctx.c"),
|
||||
Object(NonMatching, "fa/api/pf_remove.c"),
|
||||
Object(NonMatching, "fa/api/pf_rename.c"),
|
||||
Object(NonMatching, "fa/api/pf_rewinddir.c"),
|
||||
Object(NonMatching, "fa/api/pf_rmdir.c"),
|
||||
Object(NonMatching, "fa/api/pf_rmvvol.c"),
|
||||
Object(NonMatching, "fa/api/pf_seekdir.c"),
|
||||
Object(NonMatching, "fa/api/pf_setclstlink.c"),
|
||||
Object(NonMatching, "fa/api/pf_setcode.c"),
|
||||
Object(NonMatching, "fa/api/pf_setencode.c"),
|
||||
Object(NonMatching, "fa/api/pf_settailbuf.c"),
|
||||
Object(NonMatching, "fa/api/pf_setupfsi.c"),
|
||||
Object(NonMatching, "fa/api/pf_setvol.c"),
|
||||
Object(NonMatching, "fa/api/pf_setvolcfg.c"),
|
||||
Object(NonMatching, "fa/api/pf_sync.c"),
|
||||
Object(NonMatching, "fa/api/pf_telldir.c"),
|
||||
Object(NonMatching, "fa/api/pf_unmount.c"),
|
||||
Object(NonMatching, "fa/api/pf_unregctx.c"),
|
||||
Object(NonMatching, "fa/api/pf_xdivide.c"),
|
||||
|
||||
Object(NonMatching, "fa/pf_w_api_util.c"),
|
||||
Object(NonMatching, "fa/pf_w_cdelete.c"),
|
||||
Object(NonMatching, "fa/pf_w_chdir.c"),
|
||||
Object(NonMatching, "fa/pf_w_chdmod.c"),
|
||||
Object(NonMatching, "fa/pf_w_chmod.c"),
|
||||
Object(NonMatching, "fa/pf_w_cinsert.c"),
|
||||
Object(NonMatching, "fa/pf_w_combine.c"),
|
||||
Object(NonMatching, "fa/pf_w_create.c"),
|
||||
Object(NonMatching, "fa/pf_w_createdir.c"),
|
||||
Object(NonMatching, "fa/pf_w_cut.c"),
|
||||
Object(NonMatching, "fa/pf_w_divide.c"),
|
||||
Object(NonMatching, "fa/pf_w_fconcat.c"),
|
||||
Object(NonMatching, "fa/pf_w_fopen.c"),
|
||||
Object(NonMatching, "fa/pf_w_fsexec.c"),
|
||||
Object(NonMatching, "fa/pf_w_fsfirst.c"),
|
||||
Object(NonMatching, "fa/pf_w_fsnext.c"),
|
||||
Object(NonMatching, "fa/pf_w_fstat.c"),
|
||||
Object(NonMatching, "fa/pf_w_insert.c"),
|
||||
Object(NonMatching, "fa/pf_w_mkdir.c"),
|
||||
Object(NonMatching, "fa/pf_w_move.c"),
|
||||
Object(NonMatching, "fa/pf_w_opendir.c"),
|
||||
Object(NonMatching, "fa/pf_w_remove.c"),
|
||||
Object(NonMatching, "fa/pf_w_rename.c"),
|
||||
Object(NonMatching, "fa/pf_w_rmdir.c"),
|
||||
Object(NonMatching, "fa/pf_w_xdivide.c"),
|
||||
Object(NonMatching, "fa/pf_filelock.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_api_util.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_cdelete.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_chdir.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_chdmod.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_chmod.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_cinsert.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_combine.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_create.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_createdir.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_cut.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_divide.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_fconcat.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_fopen.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_fsexec.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_fsfirst.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_fsnext.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_fstat.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_insert.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_mkdir.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_move.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_opendir.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_remove.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_rename.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_rmdir.c"),
|
||||
Object(NonMatching, "fa/api/pf_w_xdivide.c"),
|
||||
Object(NonMatching, "fa/api/pf_filelock.c"),
|
||||
|
||||
Object(NonMatching, "fa/pf_stub.c"),
|
||||
Object(NonMatching, "fa/pf_system.c"),
|
||||
Object(NonMatching, "fa/pf_stub_standard.c"),
|
||||
Object(NonMatching, "fa/pfs_attach.c"),
|
||||
Object(NonMatching, "fa/pfs_buffering.c"),
|
||||
Object(NonMatching, "fa/pfs_create.c"),
|
||||
Object(NonMatching, "fa/pfs_createdir.c"),
|
||||
Object(NonMatching, "fa/pfs_detach.c"),
|
||||
Object(NonMatching, "fa/pfs_errnum.c"),
|
||||
Object(NonMatching, "fa/pfs_fclose.c"),
|
||||
Object(NonMatching, "fa/pfs_finfot.c"),
|
||||
Object(NonMatching, "fa/pfs_fopen.c"),
|
||||
Object(NonMatching, "fa/pfs_format.c"),
|
||||
Object(NonMatching, "fa/pfs_fread.c"),
|
||||
Object(NonMatching, "fa/pfs_fseek.c"),
|
||||
Object(NonMatching, "fa/pfs_fsfirst.c"),
|
||||
Object(NonMatching, "fa/pfs_fsnext.c"),
|
||||
Object(NonMatching, "fa/pfs_fstat.c"),
|
||||
Object(NonMatching, "fa/pfs_fwrite.c"),
|
||||
Object(NonMatching, "fa/pfs_getdev.c"),
|
||||
Object(NonMatching, "fa/pfs_init_prfile2.c"),
|
||||
Object(NonMatching, "fa/pfs_mount.c"),
|
||||
Object(NonMatching, "fa/pfs_remove.c"),
|
||||
Object(NonMatching, "fa/pfs_unmount.c"),
|
||||
Object(NonMatching, "fa/pf_stub_unicode.c"),
|
||||
Object(NonMatching, "fa/api/pf_stub.c"),
|
||||
Object(NonMatching, "fa/api/pf_system.c"),
|
||||
Object(NonMatching, "fa/api/pf_stub_standard.c"),
|
||||
Object(NonMatching, "fa/api/pfs_attach.c"),
|
||||
Object(NonMatching, "fa/api/pfs_buffering.c"),
|
||||
Object(NonMatching, "fa/api/pfs_create.c"),
|
||||
Object(NonMatching, "fa/api/pfs_createdir.c"),
|
||||
Object(NonMatching, "fa/api/pfs_detach.c"),
|
||||
Object(NonMatching, "fa/api/pfs_errnum.c"),
|
||||
Object(NonMatching, "fa/api/pfs_fclose.c"),
|
||||
Object(NonMatching, "fa/api/pfs_finfot.c"),
|
||||
Object(NonMatching, "fa/api/pfs_fopen.c"),
|
||||
Object(NonMatching, "fa/api/pfs_format.c"),
|
||||
Object(NonMatching, "fa/api/pfs_fread.c"),
|
||||
Object(NonMatching, "fa/api/pfs_fseek.c"),
|
||||
Object(NonMatching, "fa/api/pfs_fsfirst.c"),
|
||||
Object(NonMatching, "fa/api/pfs_fsnext.c"),
|
||||
Object(NonMatching, "fa/api/pfs_fstat.c"),
|
||||
Object(NonMatching, "fa/api/pfs_fwrite.c"),
|
||||
Object(NonMatching, "fa/api/pfs_getdev.c"),
|
||||
Object(NonMatching, "fa/api/pfs_init_prfile2.c"),
|
||||
Object(NonMatching, "fa/api/pfs_mount.c"),
|
||||
Object(NonMatching, "fa/api/pfs_remove.c"),
|
||||
Object(NonMatching, "fa/api/pfs_unmount.c"),
|
||||
Object(NonMatching, "fa/api/pf_stub_unicode.c"),
|
||||
|
||||
Object(NonMatching, "fa/FAAttach.c"),
|
||||
Object(NonMatching, "fa/FABuffering.c"),
|
||||
@@ -1764,18 +1777,18 @@ config.libs = [
|
||||
Object(NonMatching, "fa/FASetThreadPriority.c"),
|
||||
Object(NonMatching, "fa/FAUnmount.c"),
|
||||
|
||||
Object(NonMatching, "fa/pfk_api.c"),
|
||||
Object(NonMatching, "fa/kernel/pfk_api.c"),
|
||||
|
||||
Object(NonMatching, "fa/nand_drv.c"),
|
||||
Object(NonMatching, "fa/sd_drv.c"),
|
||||
Object(NonMatching, "fa/driver/nand_drv.c"),
|
||||
Object(NonMatching, "fa/driver/sd_drv.c"),
|
||||
|
||||
Object(NonMatching, "fa/pfd_cmn.c"),
|
||||
Object(NonMatching, "fa/driver/pfd_cmn.c"),
|
||||
|
||||
Object(NonMatching, "fa/msc_drv.c"),
|
||||
Object(NonMatching, "fa/driver/msc_drv.c"),
|
||||
|
||||
Object(NonMatching, "fa/puh_msc.c"),
|
||||
Object(NonMatching, "fa/puh_msc_cmd.c"),
|
||||
Object(NonMatching, "fa/puh_msc_blk.c"),
|
||||
Object(NonMatching, "fa/msc/puh_msc.c"),
|
||||
Object(NonMatching, "fa/msc/puh_msc_cmd.c"),
|
||||
Object(NonMatching, "fa/msc/puh_msc_blk.c"),
|
||||
]
|
||||
),
|
||||
RVLSDKLib("sdi",
|
||||
@@ -1792,15 +1805,15 @@ config.libs = [
|
||||
),
|
||||
RVLSDKLib("scutil",
|
||||
[
|
||||
Object(NonMatching, "scutil/scutil.c"),
|
||||
Object(NonMatching, "scutil/idToIsoA2.c"),
|
||||
]
|
||||
),
|
||||
RVLSDKLib("usbutil",
|
||||
RVLSDKLib("usbcmn",
|
||||
[
|
||||
Object(NonMatching, "usbutil/uh_ker_mem.c"),
|
||||
Object(NonMatching, "usbutil/uh_ker_msg.c"),
|
||||
Object(NonMatching, "usbutil/uh_ker_sem.c"),
|
||||
Object(NonMatching, "usbutil/uh_ker_tsk.c"),
|
||||
Object(NonMatching, "usbcmn/puh_ker_mem.c"),
|
||||
Object(NonMatching, "usbcmn/puh_ker_msg.c"),
|
||||
Object(NonMatching, "usbcmn/puh_ker_sem.c"),
|
||||
Object(NonMatching, "usbcmn/puh_ker_tsk.c"),
|
||||
]
|
||||
),
|
||||
RVLSDKLib("kbd",
|
||||
@@ -1913,7 +1926,7 @@ config.libs = [
|
||||
Object(NonMatching, "math/e_log.c"),
|
||||
Object(NonMatching, "math/e_pow.c"),
|
||||
Object(NonMatching, "math/e_rem_pio2.c"),
|
||||
Object(NonMatching, "math/s_fmin.c"),
|
||||
Object(NonMatching, "math/fminmaxdim.c"),
|
||||
Object(NonMatching, "math/s_fmax.c"),
|
||||
Object(NonMatching, "math/k_cos.c"),
|
||||
Object(NonMatching, "math/k_rem_pio2.c"),
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define BS2_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
#include <revolution/es.h>
|
||||
#include <private/es.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -103,9 +103,6 @@ typedef enum {
|
||||
|
||||
#define BS2_DEFAULT_BANNER_SIZE 0x80000
|
||||
|
||||
#define BS2_BOOTINFO_ADDR 0x0000
|
||||
#define BS2_RVL_BOOTINFO_ADDR 0x3100
|
||||
|
||||
BS2State BS2Tick();
|
||||
|
||||
void BS2StartGame();
|
||||
|
||||
15
include/BS2/sysmenu.h
Normal file
15
include/BS2/sysmenu.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef SYSTEM_MENU_DEFINES_H
|
||||
#define SYSTEM_MENU_DEFINES_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define SYSMENU_VERSION_MAJOR 4
|
||||
#define SYSMENU_VERSION_MINOR 3
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // SYSTEM_MENU_DEFINES_H
|
||||
@@ -38,7 +38,7 @@ typedef char CHANSVmStrCh;
|
||||
#define CHANSVmStrLength(str) (str / sizeof(CHANSVmWStrCh))
|
||||
|
||||
typedef enum CHANSVmObjType {
|
||||
CHANS_VM_OBJ_TYPE_BLANK = 0,
|
||||
CHANS_VM_OBJ_TYPE_BLANK /*hmm*/ = 0,
|
||||
CHANS_VM_OBJ_TYPE_INTEGER,
|
||||
CHANS_VM_OBJ_TYPE_FLOAT,
|
||||
CHANS_VM_OBJ_TYPE_STRING,
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef IPL_CONFIG_H
|
||||
#define IPL_CONFIG_H
|
||||
|
||||
#define SYSMENU_TITLE_ID 0x0000000100000002
|
||||
#define SYSMENU_CONTENT_ID 0x00000001/*.app*/
|
||||
|
||||
/** @brief Enables OSReport for IPL's WWW */
|
||||
// #define ENABLE_IPL_WWW_REPORT
|
||||
|
||||
@@ -13,8 +16,8 @@
|
||||
/** @brief Enables OSReport for DSP */
|
||||
// #define ENABLE_DSP_REPORT
|
||||
|
||||
#define SYSMENU_TITLE_ID 0x0000000100000002
|
||||
#define SYSMENU_CONTENT_ID 0x00000001
|
||||
/** @brief Load IPL content by loading the System Menu TMD manually. */
|
||||
//#define STAND_ALONE_BUILD
|
||||
|
||||
/* Build options (set by the version being used) */
|
||||
|
||||
@@ -36,6 +39,10 @@
|
||||
#define ENGLISH_BUILD
|
||||
#endif
|
||||
|
||||
#if defined(VERSION_43J)
|
||||
#define JAPANESE_BUILD
|
||||
#endif
|
||||
|
||||
#if defined(VERSION_43K)
|
||||
#define KOREAN_BUILD
|
||||
#endif
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
#define asm
|
||||
#define __attribute__(x)
|
||||
#define __declspec(x)
|
||||
|
||||
extern void __sync();
|
||||
extern unsigned int __cntlzw(unsigned int value);
|
||||
#endif
|
||||
|
||||
#endif // DECOMP_SHUT_UP_IDE_H
|
||||
|
||||
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
#ifndef DECOMP_UTILS_H
|
||||
#define DECOMP_UTILS_H
|
||||
|
||||
#define __CONCAT(x, y) x##y
|
||||
#define CONCAT(x, y) __CONCAT(x, y)
|
||||
|
||||
#define ARRSIZE(x) (sizeof(x) / sizeof(x[0]))
|
||||
|
||||
#define ROUNDUP(x, a) (((unsigned long)(x) + (a) - 1) & ~((a) - 1))
|
||||
#define PTR_ROUNDUP(x, a) ((void*)(((unsigned long)(x) + ((a) - 1)) & ~((a) - 1)))
|
||||
#define ROUNDUP(x, a) (((unsigned long)(x) + ((a) - 1)) & ~((a) - 1))
|
||||
#define PTR_ROUNDUP(x, a) ((void*)ROUNDUP(x, a))
|
||||
|
||||
#define ROUNDDOWN(x, a) ((x) & ~((a) - 1))
|
||||
#define PTR_ROUNDDOWN(x, a) ((void*)(((unsigned long)(x)) & (~((a) - 1))))
|
||||
#define ROUNDDOWN(x, a) (((unsigned long)(x)) & ~((a) - 1))
|
||||
#define PTR_ROUNDDOWN(x, a) ((void*)ROUNDDOWN(x, a))
|
||||
|
||||
#define NO_INLINE __attribute__((never_inline))
|
||||
|
||||
@@ -17,11 +20,11 @@
|
||||
#define ADDRESS(addr)
|
||||
#endif
|
||||
|
||||
#define DECOMP_FORCEACTIVE(module, ...) \
|
||||
void fake_function(...); \
|
||||
void CONCAT(FORCEACTIVE##module, __LINE__)(void); \
|
||||
void CONCAT(FORCEACTIVE##module, __LINE__)(void) { \
|
||||
fake_function(__VA_ARGS__); \
|
||||
#define DECOMP_FORCE_ACTIVE(module, args...) \
|
||||
void fake_function(int a, ...); \
|
||||
void CONCAT(FORCEACTIVE##module, __LINE__)(); \
|
||||
void CONCAT(FORCEACTIVE##module, __LINE__)() { \
|
||||
fake_function(0, args); \
|
||||
}
|
||||
|
||||
#endif // DECOMP_UTILS_H
|
||||
|
||||
@@ -8,18 +8,16 @@
|
||||
|
||||
#include <egg/core.h>
|
||||
|
||||
#include "nw4r/lyt/drawInfo.h"
|
||||
#include "nw4r/ut/list.h"
|
||||
#include "revolution/types.h"
|
||||
#include "system/iplNand.h"
|
||||
|
||||
#include "utility/iplFrameController.h"
|
||||
#include "utility/iplGraphics.h"
|
||||
|
||||
namespace ipl {
|
||||
namespace layout {
|
||||
class Animator : public utility::FrameController {
|
||||
public:
|
||||
Animator(nw4r::lyt::AnimTransform* animTrans, bool bRecursive, bool bPlayNow);
|
||||
Animator(nw4r::lyt::AnimTransform* animTrans, bool bRecursive, bool bUnused);
|
||||
virtual ~Animator() {}
|
||||
|
||||
virtual void calc();
|
||||
@@ -49,7 +47,7 @@ namespace ipl {
|
||||
|
||||
class PaneAnimator : public Animator {
|
||||
public:
|
||||
PaneAnimator(nw4r::lyt::AnimTransform* animTrans, nw4r::lyt::Pane* pane, bool bRecursive, bool bPlayNow);
|
||||
PaneAnimator(nw4r::lyt::AnimTransform* animTrans, nw4r::lyt::Pane* pane, bool bRecursive, bool bUnused);
|
||||
virtual ~PaneAnimator();
|
||||
|
||||
virtual void setFlag(bool flag);
|
||||
@@ -61,7 +59,7 @@ namespace ipl {
|
||||
|
||||
class GroupAnimator : public Animator {
|
||||
public:
|
||||
GroupAnimator(nw4r::lyt::AnimTransform* animTrans, nw4r::lyt::Group* group, bool bRecursive, bool bPlayNow);
|
||||
GroupAnimator(nw4r::lyt::AnimTransform* animTrans, nw4r::lyt::Group* group, bool bRecursive, bool bUnused);
|
||||
virtual ~GroupAnimator();
|
||||
|
||||
virtual void setFlag(bool flag);
|
||||
@@ -92,10 +90,22 @@ namespace ipl {
|
||||
|
||||
void initLocationAdjust();
|
||||
|
||||
PaneAnimator* bind(const char* fileName, bool bPlayNow = true);
|
||||
PaneAnimator* bind(const char* fileNane, const char* paneName, bool bRecursive = true, bool bPlayNow = true);
|
||||
GroupAnimator* bindToGroup(const char* fileName, const char* groupName, bool bRecursive = true, bool bPlayNow = true);
|
||||
GroupAnimator* bindToGroup(const char* fileName, nw4r::lyt::Group* group, bool bRecursive = true, bool bPlayNow = true);
|
||||
/**
|
||||
* Bind an animation to the Layout by BRLAN file.
|
||||
* @param fileName The BRLAN filename
|
||||
* @param bUnused Unused. Default is true.
|
||||
*/
|
||||
PaneAnimator* bind(const char* fileName, bool bUnused = true);
|
||||
/**
|
||||
* Bind an animation to the Layout by BRLAN file.
|
||||
* @param fileName The BRLAN filename
|
||||
* @param paneName The Pane to bind by name
|
||||
* @param bRecursive Recursive animation. Default is true.
|
||||
* @param bUnused Unused. Default is true.
|
||||
*/
|
||||
PaneAnimator* bind(const char* fileName, const char* paneName, bool bRecursive = true, bool bUnused = true);
|
||||
GroupAnimator* bindToGroup(const char* fileName, const char* groupName, bool bRecursive = true, bool bUnused = true);
|
||||
GroupAnimator* bindToGroup(const char* fileName, nw4r::lyt::Group* group, bool bRecursive = true, bool bUnused = true);
|
||||
void finishBinding();
|
||||
|
||||
bool searchFile(const char* fileName);
|
||||
@@ -123,6 +133,9 @@ namespace ipl {
|
||||
nw4r::lyt::Layout* getLayout() { return &mLayout; }
|
||||
/** @brief Gets the draw info object. */
|
||||
nw4r::lyt::DrawInfo* getDrawInfo() { return &mDrawInfo; }
|
||||
/** @brief Prepare the camera for the layout.. */
|
||||
static void setCamera() { utility::Graphics::setDefaultOrtho(); }
|
||||
/** @brief Calculate the Layout matrix for rendering. */
|
||||
void calcMtx() { getLayout()->CalculateMtx(mDrawInfo); }
|
||||
/** @brief Gets the root pane of the layout. */
|
||||
nw4r::lyt::Pane* getRoot() { return getLayout()->GetRootPane(); }
|
||||
@@ -135,8 +148,8 @@ namespace ipl {
|
||||
void attach(void* arcBuffer, const char* directory);
|
||||
void attach_font();
|
||||
|
||||
PaneAnimator* bind_(const char* fileName, nw4r::lyt::Pane* pane, bool bRecursive, bool bPlayNow);
|
||||
GroupAnimator* bind_(const char* fileName, nw4r::lyt::Group* group, bool bRecursive, bool bPlayNow);
|
||||
PaneAnimator* bind_(const char* fileName, nw4r::lyt::Pane* pane, bool bRecursive, bool bUnused);
|
||||
GroupAnimator* bind_(const char* fileName, nw4r::lyt::Group* group, bool bRecursive, bool bUnused);
|
||||
|
||||
nw4r::lyt::Layout mLayout; // 0x04
|
||||
|
||||
|
||||
@@ -7,12 +7,7 @@
|
||||
|
||||
#define IPL_MATH_CLAMP(x, min, max) x < min ? min : (x > max ? max : x)
|
||||
|
||||
typedef union FU32 {
|
||||
u32 u32;
|
||||
f32 f32;
|
||||
} FU32;
|
||||
|
||||
// **HACK**
|
||||
// **(dirty fucking) HACK**
|
||||
#define IPL_MATH_INFINITY 0x1.FFFFFFP127f
|
||||
#define IPL_MATH_NINFINITY -0x1.FFFFFFP127f
|
||||
#define IPL_MATH_NULL_FLOAT IPL_MATH_INFINITY
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <decomp.h>
|
||||
|
||||
#include <revolution.h>
|
||||
#include <revolution/es.h>
|
||||
#include <private/es.h>
|
||||
|
||||
#include <egg/core.h>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#include <revolution/es.h>
|
||||
#include <private/es.h>
|
||||
|
||||
#define CHANNEL_INFO(primary, second, flags, titleId) \
|
||||
{ primary, second, 0, 0, flags, ES_CHANNEL_ID(titleId), ES_TITLE_ID(titleId) }
|
||||
@@ -32,15 +32,15 @@ namespace ipl {
|
||||
};
|
||||
|
||||
typedef struct SChannelInfo {
|
||||
u8 primaryType; // 0x00
|
||||
u8 secondaryType; // 0x01
|
||||
u8 primaryType; // 0x00
|
||||
u8 secondaryType; // 0x01
|
||||
|
||||
u8 reserved[2]; // 0x02
|
||||
u8 reserved[2]; // 0x02
|
||||
|
||||
u32 flags; // 0x04
|
||||
u32 flags; // 0x04
|
||||
|
||||
ESId titleType; // 0x08
|
||||
ESId titleId; // 0x0C
|
||||
ESTitleId32 titleType; // 0x08
|
||||
ESTitleId32 titleCode; // 0x0C
|
||||
} SInfo;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,17 +10,39 @@
|
||||
|
||||
#include "iplMath.h"
|
||||
|
||||
#define IPL_BUTTON_A ((WPAD_BUTTON_CL_A << 16) | WPAD_BUTTON_A)
|
||||
#define IPL_BUTTON_B ((WPAD_BUTTON_CL_B << 16) | WPAD_BUTTON_B)
|
||||
#define IPL_BUTTON_START ((WPAD_BUTTON_CL_PLUS << 16) | WPAD_BUTTON_PLUS)
|
||||
#define IPL_BUTTON_SELECT ((WPAD_BUTTON_CL_MINUS << 16) | WPAD_BUTTON_MINUS)
|
||||
#define IPL_BUTTON_HOME ((WPAD_BUTTON_CL_HOME << 16) | WPAD_BUTTON_HOME)
|
||||
|
||||
#define IPL_BUTTON_1 (WPAD_BUTTON_1)
|
||||
#define IPL_BUTTON_2 (WPAD_BUTTON_2)
|
||||
|
||||
namespace ipl {
|
||||
namespace controller {
|
||||
#define __iplWpadCl(btn) ((btn)<<16)
|
||||
|
||||
/* Revolution Controller (Wii Remote) */
|
||||
enum {
|
||||
REVO_BTN_A = WPAD_BUTTON_A,
|
||||
REVO_BTN_B = WPAD_BUTTON_B,
|
||||
REVO_BTN_PLUS = WPAD_BUTTON_PLUS,
|
||||
REVO_BTN_MINUS = WPAD_BUTTON_MINUS,
|
||||
REVO_BTN_HOME = WPAD_BUTTON_HOME,
|
||||
REVO_BTN_1 = WPAD_BUTTON_1,
|
||||
REVO_BTN_2 = WPAD_BUTTON_2,
|
||||
};
|
||||
/* Classic Controller */
|
||||
enum {
|
||||
CL_BTN_A = __iplWpadCl(WPAD_BUTTON_CL_A),
|
||||
CL_BTN_B = __iplWpadCl(WPAD_BUTTON_CL_B),
|
||||
CL_BTN_PLUS = __iplWpadCl(WPAD_BUTTON_CL_PLUS),
|
||||
CL_BTN_MINUS = __iplWpadCl(WPAD_BUTTON_CL_MINUS),
|
||||
CL_BTN_HOME = __iplWpadCl(WPAD_BUTTON_CL_HOME),
|
||||
};
|
||||
/* Both Revolution (Wii Remote) and Classic Controller */
|
||||
enum {
|
||||
BTN_A = REVO_BTN_A | CL_BTN_A,
|
||||
BTN_B = REVO_BTN_B | CL_BTN_B,
|
||||
BTN_PLUS = REVO_BTN_PLUS | CL_BTN_PLUS,
|
||||
BTN_MINUS = REVO_BTN_MINUS | CL_BTN_MINUS,
|
||||
BTN_HOME = REVO_BTN_HOME | CL_BTN_HOME,
|
||||
BTN_1 = REVO_BTN_1,
|
||||
BTN_2 = REVO_BTN_2,
|
||||
};
|
||||
|
||||
class Manager {
|
||||
public:
|
||||
Manager();
|
||||
|
||||
@@ -10,18 +10,55 @@
|
||||
#include "layout/GUIManager.h"
|
||||
#include "layout/iplLayout.h"
|
||||
|
||||
#define DIALOG_WINDOW_PAGE(msgID, rBtnMsgId, lBtnMsgId, isTwoBtn) \
|
||||
{ msgID, rBtnMsgId, lBtnMsgId, isTwoBtn, NULL, 0, false }
|
||||
/* MACROS FOR CREATING PAGE */
|
||||
|
||||
#define DIALOG_WINDOW_PAGE_EX(msgID, rBtnMsgId, lBtnMsgId, isTwoBtn, layoutObj, layoutYOff, isLytAnim) \
|
||||
{ msgID, rBtnMsgId, lBtnMsgId, isTwoBtn, layoutObj, layoutYOff, isLytAnim }
|
||||
/**
|
||||
* New data type for Multi-Dialog page
|
||||
* @param msgID Message ID for body text.
|
||||
* @param rBtnMsgId Message ID for right button text.
|
||||
* @param lBtnMsgId Message ID for left button text.
|
||||
*/
|
||||
#define DIALOG_WINDOW_PAGE(msgID, rBtnMsgId, lBtnMsgId) \
|
||||
{ msgID, rBtnMsgId, lBtnMsgId, TRUE, NULL, 0, false }
|
||||
/**
|
||||
* New data type for Multi-Dialog page
|
||||
* @param msgID Message ID for body text.
|
||||
* @param btnMsgId Message ID for button text.
|
||||
*/
|
||||
#define DIALOG_WINDOW_PAGE_ONEBTN(msgID, btnMsgId) \
|
||||
{ msgID, btnMsgId, 0, FALSE, NULL, 0, false }
|
||||
|
||||
/**
|
||||
* New data type for Multi-Dialog page
|
||||
* @param msgID Message ID for body text.
|
||||
* @param rBtnMsgId Message ID for right button text.
|
||||
* @param lBtnMsgId Message ID for left button text.
|
||||
* @param layoutObj Custom layout object.
|
||||
* @param layoutYOff Custom layout Y offset.
|
||||
* @param isLytAnim If the custom layout is animating.
|
||||
*/
|
||||
#define DIALOG_WINDOW_PAGE_EX(msgID, rBtnMsgId, lBtnMsgId, layoutObj, layoutYOff, isLytAnim) \
|
||||
{ msgID, rBtnMsgId, lBtnMsgId, TRUE, layoutObj, layoutYOff, isLytAnim }
|
||||
/**
|
||||
* New data type for Multi-Dialog page
|
||||
* @param msgID Message ID for body text.
|
||||
* @param btnMsgId Message ID for button text.
|
||||
* @param layoutObj Custom layout object.
|
||||
* @param layoutYOff Custom layout Y offset.
|
||||
* @param isLytAnim If the custom layout is animating.
|
||||
*/
|
||||
#define DIALOG_WINDOW_PAGE_ONEBTN_EX(msgID, btnMsgId, layoutObj, layoutYOff, isLytAnim) \
|
||||
{ msgID, btnMsgId, 0, FALSE, layoutObj, layoutYOff, isLytAnim }
|
||||
|
||||
/** MAIN CLASS */
|
||||
|
||||
namespace ipl {
|
||||
USING_GUI
|
||||
class DialogWindow : public ::gui::EventHandler {
|
||||
/* ROUTINES AVAILABLE FOR USER */
|
||||
public:
|
||||
enum {
|
||||
RESULT_NONE = -1,
|
||||
RESULT_NONE = -1, /* Invalid result. */
|
||||
|
||||
RESULT_WAIT, /* For `callBtn0` */
|
||||
RESULT_BUTTON, /* For `callBtn1` */
|
||||
@@ -34,67 +71,245 @@ namespace ipl {
|
||||
RESULT_PROGRESS, /* For `callBtnPrg` */
|
||||
};
|
||||
|
||||
/* Multi-Dialog Page */
|
||||
typedef struct Page {
|
||||
u32 msgID; // 0x00
|
||||
u32 rBtnMsgId; // 0x04
|
||||
u32 lBtnMsgId; // 0x08
|
||||
bool isTwoBtn; // 0x0C
|
||||
u32 msgID; // 0x00 (Message ID)
|
||||
u32 rBtnMsgId; // 0x04 (Right button ID)
|
||||
u32 lBtnMsgId; // 0x08 (Left button ID)
|
||||
bool isTwoBtn; // 0x0C (Has two buttons)
|
||||
|
||||
ipl::layout::Object* layoutObj; // 0x10
|
||||
ipl::layout::Object* layoutObj; // 0x10 (Layout object to display)
|
||||
|
||||
f32 layoutYOff; // 0x14
|
||||
bool isLytAnim; // 0x18
|
||||
f32 layoutYOff; // 0x14 (Layout object Y offset)
|
||||
bool isLytAnim; // 0x18 (If the Layout object can animate)
|
||||
} Page;
|
||||
|
||||
/** @param heap The work heap used. */
|
||||
/*=============*/
|
||||
/* DIALOG MAIN */
|
||||
/*=============*/
|
||||
|
||||
/**
|
||||
* The constructor of the Dialog.
|
||||
* @param heap The work heap used for construction.
|
||||
*/
|
||||
DialogWindow(EGG::Heap* heap);
|
||||
|
||||
/** Initialize dialog so it is ready for calling. */
|
||||
void init();
|
||||
/** Update Dialog Loop */
|
||||
void calc();
|
||||
/** Drawing Dialog Loop */
|
||||
void draw();
|
||||
|
||||
virtual void onEvent(u32 compId, u32 event, void* data);
|
||||
|
||||
BOOL callBtn0(u32 msgId, u32 wait, bool bIsProg = false);
|
||||
BOOL callBtn0NoShade(u32 msgId, u32 wait, bool bIsProg = false);
|
||||
|
||||
BOOL callBtn1(u32 msgId, u32 btnId);
|
||||
BOOL callBtn1(u32 msgId, u32 btnId, f32 size);
|
||||
BOOL callBtn1(const wchar_t* msg, u32 btnId);
|
||||
BOOL callBtn1(const wchar_t* msg, u32 btnId, f32 size);
|
||||
BOOL callBtn1Sml(u32 msgId, u32 btnId);
|
||||
BOOL callBtn1NoShade(u32 msgId, u32 btnId);
|
||||
|
||||
BOOL callBtn2(u32 msgId, u32 rBtnId, u32 lBtnId, bool bSwapSound = false);
|
||||
BOOL callBtn2(const wchar_t* msg, u32 rBtnId, u32 lBtnId, bool bSwapSound = false);
|
||||
BOOL callBtn2(Page* pages, int pageCount, int fadeDelay);
|
||||
BOOL callBtn2NoShade(const wchar_t* msg, u32 rBtnId, u32 lBtnId, bool bSwapSound = false);
|
||||
|
||||
BOOL callBtn3(u32 msgId, u32 tBtnId, u32 cBtnID, u32 bBtnId);
|
||||
|
||||
BOOL callSBtn2(u32 msgId, u32 rBtnId, u32 lBtnId, bool bSwapSound = false);
|
||||
BOOL callS2Btn2(u32 rBtnId, u32 lBtnId, bool bSwapSound = false);
|
||||
|
||||
BOOL callBtnPrg(u32 msgId);
|
||||
BOOL callBtnPrgNoShade(const wchar_t* msg);
|
||||
|
||||
/**
|
||||
* Terminate an active dialog. Recommend to only use for `callBtn0` and `callBtnPrg`.
|
||||
* @return Whenether the dialog has successfully terminated.
|
||||
*/
|
||||
bool terminate();
|
||||
|
||||
/** @return The result of the dialog saved after finishing. */
|
||||
int getLastResult() { return mLastResult; }
|
||||
/** @return If the dialog is moving onto the next state. */
|
||||
bool doingNextState() { return mbNextState; }
|
||||
|
||||
/*=================*/
|
||||
/* DIALOG BUTTON 0 */
|
||||
/*=================*/
|
||||
|
||||
/**
|
||||
* Call dialog with no button.
|
||||
* @param msgId Message ID from BMG file.
|
||||
* @param wait The amount of ticks for the dialog should display for.
|
||||
* @param bIsProg Show waiting icon on the bottom right.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn0(u32 msgId, u32 wait, bool bIsProg = false);
|
||||
/**
|
||||
* Call dialog with no button and no dark background.
|
||||
* @param msgId Message ID for the body text.
|
||||
* @param wait The amount of ticks for the dialog should display for.
|
||||
* @param bIsProg Show waiting icon on the bottom right.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn0NoShade(u32 msgId, u32 wait, bool bIsProg = false);
|
||||
|
||||
/*=================*/
|
||||
/* DIALOG BUTTON 1 */
|
||||
/*=================*/
|
||||
|
||||
/**
|
||||
* Call dialog with one button.
|
||||
* @param msgId Message ID for the body text.
|
||||
* @param btnId Message ID for the button text.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn1(u32 msgId, u32 btnId);
|
||||
/**
|
||||
* Call dialog with one button.
|
||||
* @param msgId Message ID for the body text.
|
||||
* @param btnId Message ID for the button text.
|
||||
* @param size Body Text's font size.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn1(u32 msgId, u32 btnId, f32 size);
|
||||
/**
|
||||
* Call dialog with one button.
|
||||
* @param msg Unicode string for the body text.
|
||||
* @param btnId Message ID for the button text.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn1(const wchar_t* msg, u32 btnId);
|
||||
/**
|
||||
* Call dialog with one button.
|
||||
* @param msg Unicode string for the body text.
|
||||
* @param btnId Message ID for the button text.
|
||||
* @param size Body Text's font size.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn1(const wchar_t* msg, u32 btnId, f32 size);
|
||||
/**
|
||||
* Call dialog with one button with small font size.
|
||||
* @param msgId Message ID for the body text.
|
||||
* @param btnId Message ID for the button text.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn1Sml(u32 msgId, u32 btnId);
|
||||
/**
|
||||
* Call dialog with one button and without the dark background.
|
||||
* @param msgId Message ID for the body text.
|
||||
* @param btnId Message ID for the button text.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn1NoShade(u32 msgId, u32 btnId);
|
||||
|
||||
/*=================*/
|
||||
/* DIALOG BUTTON 2 */
|
||||
/*=================*/
|
||||
|
||||
/**
|
||||
* Call dialog with two buttons.
|
||||
* @param msgId Message ID for the body text.
|
||||
* @param rBtnId Message ID for the right button text.
|
||||
* @param lBtnId Message ID for the left button text.
|
||||
* @param bSwapSound Swap the "OK" and "Back" sound effect.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn2(u32 msgId, u32 rBtnId, u32 lBtnId, bool bSwapSound = false);
|
||||
/**
|
||||
* Call dialog with two buttons.
|
||||
* @param msg Unicode string for the body text.
|
||||
* @param rBtnId Message ID for the right button text.
|
||||
* @param lBtnId Message ID for the left button text.
|
||||
* @param bSwapSound Swap the "OK" and "Back" sound effect.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn2(const wchar_t* msg, u32 rBtnId, u32 lBtnId, bool bSwapSound = false);
|
||||
/**
|
||||
* Call a multi-dialog.
|
||||
* @param pages An array of Dialog Pages.
|
||||
* @param pageCount The amount of pages.
|
||||
* @param fadeDelay The delay of the transition in ticks.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn2Multi(Page* pages, int pageCount, int fadeDelay);
|
||||
/**
|
||||
* Call dialog with two buttons and without the dark background.
|
||||
* @param msgId Message ID for the body text.
|
||||
* @param rBtnId Message ID for the right button text.
|
||||
* @param lBtnId Message ID for the left button text.
|
||||
* @param bSwapSound Swap the "OK" and "Back" sound effect.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn2NoShade(const wchar_t* msg, u32 rBtnId, u32 lBtnId, bool bSwapSound = false);
|
||||
|
||||
/*=================*/
|
||||
/* DIALOG BUTTON 3 */
|
||||
/*=================*/
|
||||
|
||||
/**
|
||||
* Call dialog with three buttons (vertically sorted)
|
||||
* @param msgId Message ID for the body text.
|
||||
* @param tBtnId Message ID for the top button text.
|
||||
* @param cBtnID Message ID for the middle button text.
|
||||
* @param bBtnId Message ID for the bottom button text.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtn3(u32 msgId, u32 tBtnId, u32 cBtnID, u32 bBtnId);
|
||||
|
||||
/*==================*/
|
||||
/* DIALOG BUTTON S2 */
|
||||
/*==================*/
|
||||
|
||||
/**
|
||||
* Call dialog with two buttons (alternative)
|
||||
* @param msgId Message ID for the body text.
|
||||
* @param rBtnId Message ID for the right button text.
|
||||
* @param lBtnId Message ID for the left button text.
|
||||
* @param bSwapSound Swap the "OK" and "Back" sound effect.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callSBtn2(u32 msgId, u32 rBtnId, u32 lBtnId, bool bSwapSound = false);
|
||||
/**
|
||||
* Call dialog with two buttons (alternative) without header
|
||||
* @param rBtnId Message ID for the right button text.
|
||||
* @param lBtnId Message ID for the left button text.
|
||||
* @param bSwapSound Swap the "OK" and "Back" sound effect.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callS2Btn2(u32 rBtnId, u32 lBtnId, bool bSwapSound = false);
|
||||
|
||||
/*========================*/
|
||||
/* DIALOG BUTTON PROGRESS */
|
||||
/*========================*/
|
||||
|
||||
/**
|
||||
* Call dialog with a progress bar.
|
||||
* @param msgId Message ID for the body text.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtnPrg(u32 msgId);
|
||||
/**
|
||||
* Call dialog with a progress bar and no dark background.
|
||||
* @param msgId Message ID for the body text.
|
||||
* @return Whenever dialog call was successful.
|
||||
*/
|
||||
BOOL callBtnPrgNoShade(const wchar_t* msg);
|
||||
|
||||
/**
|
||||
* Set the length of the progress bar for progress bar.
|
||||
* @note The dialog automatically terminates when reaching `100`.
|
||||
* @param len The new length.
|
||||
*/
|
||||
void setProgBarLength(int len) { mProgBarLen = len; }
|
||||
/** @return The current length of the progress bar */
|
||||
int getProgBarLength() { return mProgBarLen; }
|
||||
|
||||
int getLastResult() { return mLastResult; }
|
||||
|
||||
BOOL doingNextState() { return mbNextState; }
|
||||
|
||||
/**
|
||||
* Dialog component handler (Automatically executed by the GUI manager)
|
||||
* @param compId Component ID from the dialog.
|
||||
* @param event The event ID for the dialog.
|
||||
* @param data Extra data that an event might require.
|
||||
*/
|
||||
virtual void onEvent(u32 compId, u32 event, void* data);
|
||||
|
||||
/* MEMBERS AND ROUTINES FOR WORK */
|
||||
private:
|
||||
typedef enum State {
|
||||
DIALOG_STATE_READY = 0,
|
||||
DIALOG_STATE_FADE_IN,
|
||||
DIALOG_STATE_NORMAL,
|
||||
DIALOG_STATE_SELECT,
|
||||
DIALOG_STATE_FADE_OUT,
|
||||
DIALOG_STATE_PAGE_FADE,
|
||||
DIALOG_STATE_PAGE_FADE_PREPARE,
|
||||
} State;
|
||||
|
||||
enum {
|
||||
DIALOG_TYPE_NONE = -1,
|
||||
DIALOG_TYPE_BTN0,
|
||||
DIALOG_TYPE_BTN1,
|
||||
DIALOG_TYPE_BTN2,
|
||||
DIALOG_TYPE_BTN3,
|
||||
DIALOG_TYPE_BTN2B,
|
||||
DIALOG_TYPE_BTNS2,
|
||||
DIALOG_TYPE_MAX,
|
||||
};
|
||||
|
||||
@@ -105,10 +320,15 @@ namespace ipl {
|
||||
DIALOG_BTN_TYPE_MAX,
|
||||
};
|
||||
|
||||
class Interface {
|
||||
public:
|
||||
layout::Object* mpLayout; // 0x00
|
||||
gui::PaneManager* mpGui; // 0x04
|
||||
struct Interface {
|
||||
layout::Object* gLayout; // 0x00
|
||||
gui::PaneManager* guiMgr; // 0x04
|
||||
|
||||
// This changes the ordering of the auto generated nw4r::ut::DynamicCast weaks
|
||||
inline void setString(const char *findName, const wchar_t* text) {
|
||||
nw4r::lyt::TextBox* pane = nw4r::ut::DynamicCast<nw4r::lyt::TextBox*>(gLayout->findPane(findName));
|
||||
pane->SetString(text);
|
||||
}
|
||||
};
|
||||
|
||||
BOOL call(int type);
|
||||
@@ -140,7 +360,7 @@ namespace ipl {
|
||||
void start_left_event(const char* paneName);
|
||||
void start_trig_event(const char* paneName);
|
||||
|
||||
int mState; // 0x0C
|
||||
State mState; // 0x0C
|
||||
ipl::nand::LayoutFile* mpLayoutFile; // 0x10
|
||||
|
||||
BOOL mbBtnHovered[DIALOG_BTN_TYPE_MAX]; // 0x14
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <revolution.h>
|
||||
#include <revolution/nand.h>
|
||||
#include <revolution/arc.h>
|
||||
#include <revolution/es.h>
|
||||
#include <private/es.h>
|
||||
|
||||
#include <revolution/net/NETDigest.h>
|
||||
|
||||
@@ -14,6 +14,9 @@
|
||||
|
||||
#include "system/iplNandWrapper.h"
|
||||
|
||||
#define NAND_CHECK_MAGIC3(x,a,b,c) ((x)[0] == (a) && (x)[1] == (b) && (x)[2] == (c))
|
||||
#define NAND_CHECK_MAGIC4(x,a,b,c,d) ((x)[0] == (a) && (x)[1] == (b) && (x)[2] == (c) && (x)[3] == (d))
|
||||
|
||||
namespace ipl {
|
||||
namespace nand {
|
||||
enum {
|
||||
@@ -69,7 +72,7 @@ namespace ipl {
|
||||
|
||||
private:
|
||||
typedef struct MD5Head {
|
||||
u8 sig[4]; // 0x00 (always `IMD5`; IPL MD5?)
|
||||
u8 sig[4]; // 0x00 (always `IMD5`; "IPL MD5"?)
|
||||
u32 length; // 0x04
|
||||
u8 reserved[8]; // 0x08
|
||||
NETMD5Sum md5; // 0x10
|
||||
@@ -105,10 +108,10 @@ namespace ipl {
|
||||
|
||||
EGG::Heap* mpHeap; // 0x04
|
||||
|
||||
char msFileName[NAND_MAX_PATH + 1]; // 0x08
|
||||
char msFileName[NAND_MAX_PATH+1]; // 0x08
|
||||
|
||||
ARCHandle* mpArc; // 0x4C
|
||||
char msNandFileName[NAND_MAX_PATH + 1]; // 0x50
|
||||
char msNandFileName[NAND_MAX_PATH+1]; // 0x50
|
||||
|
||||
int mFileOffset; // 0x94
|
||||
u32 mFileLength; // 0x98
|
||||
@@ -119,7 +122,7 @@ namespace ipl {
|
||||
u8* mpCmpBuffer; // 0xA4
|
||||
|
||||
int mResult; // 0xA8
|
||||
volatile BOOL mbDoneTask; // 0xAC
|
||||
vBOOL mbDoneTask; // 0xAC
|
||||
|
||||
ARCFileInfo mArcFile; // 0xB0
|
||||
u8 unused_0xBC[0x3C];
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <revolution.h>
|
||||
#include <revolution/nand.h>
|
||||
#include <revolution/arc.h>
|
||||
#include <revolution/es.h>
|
||||
#include <private/es.h>
|
||||
|
||||
#include <egg/core.h>
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace ipl {
|
||||
// Big garbage data
|
||||
u8 unused_0x28[0x1FC];
|
||||
|
||||
char mNandPath[NAND_MAX_PATH + 1]; // 0x224
|
||||
char mNandPath[NAND_MAX_PATH+1]; // 0x224
|
||||
int mDescriptor; // 0x268
|
||||
u8* mpFSTBuffer; // 0x26C
|
||||
ARCHandle mArc; // 0x270
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "system/iplNand.h"
|
||||
|
||||
#include <revolution/es.h>
|
||||
#include <private/es.h>
|
||||
|
||||
namespace ipl {
|
||||
namespace nand {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "revolution/types.h"
|
||||
#include "system/iplNand.h"
|
||||
|
||||
#include <revolution/es.h>
|
||||
#include <private/es.h>
|
||||
|
||||
namespace ipl {
|
||||
namespace nand {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define IPL_SAVE_DATA_MANAGER_H
|
||||
|
||||
#include <revolution.h>
|
||||
#include <revolution/es.h>
|
||||
#include <private/es.h>
|
||||
#include <revolution/net/NETDigest.h>
|
||||
|
||||
#include <egg/core.h>
|
||||
@@ -40,6 +40,8 @@ namespace ipl {
|
||||
void updateVersion(u32 newVersion, u32 oldVersion);
|
||||
|
||||
BOOL updateChanInfos();
|
||||
|
||||
int getPrevPage() { return mLastPrevPage; }
|
||||
|
||||
bool hasPhotoMP3Dummy() { return mbPhotoMP3; }
|
||||
bool hasPhoto2Title() { return mbPhoto2; }
|
||||
@@ -66,7 +68,7 @@ namespace ipl {
|
||||
int getAvailableNumInList(const ESTitleId* titleIds, u32 titleCount);
|
||||
|
||||
int isEqualChannel(ESTitleId titleId0, ESTitleId titleId1);
|
||||
int isDefaultChannel(ESId titleIdHi, ESId titleIdLo);
|
||||
int isDefaultChannel(ESTitleId32 titleType, ESTitleId32 titleCode);
|
||||
|
||||
void makePriorTitleIDList(ESTitleId* titleIdsOut, ESTitleId* titleIdsIn, u32 titleCount);
|
||||
void integrateTitleIDList(ESTitleId* titleIdsOut, ESTitleId* titleIdsIn, u32 titleCount);
|
||||
@@ -79,8 +81,8 @@ namespace ipl {
|
||||
* VERSION HISTORY
|
||||
* ===============
|
||||
* Version 1 - Initial version
|
||||
* Version 2 - Same as version 1 but memoSetting is initialised with different settings.
|
||||
* Version 3 - Add title caching
|
||||
* Version 2 - Same as version 1 but memoSetting is initialized with different settings.
|
||||
* Version 3 - Add SD Card menu save data and `titleCache`
|
||||
*/
|
||||
// CURRENT VERSION IS 3 !!
|
||||
typedef struct Data {
|
||||
@@ -90,7 +92,7 @@ namespace ipl {
|
||||
u32 version; // 0x08
|
||||
|
||||
// Channel related
|
||||
u32 prevPage; // 0x0C
|
||||
int prevPage; // 0x0C
|
||||
channel::SInfo chanInfo[MAX_CHANNEL_PAGE][MAX_CHANNEL_INDEX]; // 0x10
|
||||
|
||||
// Keyboard
|
||||
@@ -99,11 +101,13 @@ namespace ipl {
|
||||
// TVRC Data
|
||||
u8 tvrcData[4]; // 0x318
|
||||
|
||||
u32 unk_0x31C;
|
||||
|
||||
// Title Cache
|
||||
/* VERSION 3 DATA */
|
||||
|
||||
BOOL didntGotoSDMenu; // 0x31C
|
||||
ESTitleId titleCache[MAX_CHANNEL_PAGE][MAX_CHANNEL_INDEX]; // 0x320
|
||||
int unk_0x4A0;
|
||||
int prevSDPage; // 0x4A0
|
||||
|
||||
/* END OF VERSION 3 DATA */
|
||||
|
||||
u8 padding[0x0C];
|
||||
|
||||
@@ -111,28 +115,28 @@ namespace ipl {
|
||||
u8 MD5Sum[NET_MD5_DIGEST_SIZE]; // 0x4B0
|
||||
} Data;
|
||||
|
||||
EGG::Heap* mpHeap; // 0x04
|
||||
u8 unk_0x08[24];
|
||||
EGG::Heap* mpHeap; // 0x04
|
||||
u8 unused_0x08[24];
|
||||
|
||||
Data mData; // 0x20
|
||||
Data mData; // 0x20
|
||||
|
||||
int unk_0x4E0;
|
||||
int unk_0x4E4;
|
||||
bool unk_0x4E8;
|
||||
int mLastPrevPage; // 0x4E0
|
||||
int mLastSDPrevPage; // 0x4E4
|
||||
bool mbBadSDPrevPage; // 0x4E8
|
||||
|
||||
nand::File* mpFile; // 0x4EC
|
||||
nand::File* mpUpdatedFile; // 0x4F0
|
||||
nand::File* mpFile; // 0x4EC
|
||||
nand::File* mpUpdatedFile; // 0x4F0
|
||||
|
||||
bool mbInit; // 0x4F4
|
||||
bool mbInit; // 0x4F4
|
||||
|
||||
bool mbPhoto2; // 0x4F5
|
||||
bool mbPhoto2Check; // 0x4F6
|
||||
bool mbPhotoMP3; // 0x4F7
|
||||
ESTitleId mPhotoId; // 0x4F8
|
||||
bool mbPhoto2; // 0x4F5
|
||||
bool mbPhoto2Check; // 0x4F6
|
||||
bool mbPhotoMP3; // 0x4F7
|
||||
ESTitleId mPhotoId; // 0x4F8
|
||||
|
||||
int mLastError; // 0x500
|
||||
int mLastError; // 0x500
|
||||
|
||||
u8 dummy[28]; // 0x504
|
||||
u8 unused_0x504[28];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef RVL_DECOMPRESSOR_H
|
||||
#define RVL_DECOMPRESSOR_H
|
||||
#ifndef RVL_DECODER_H
|
||||
#define RVL_DECODER_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
@@ -7,18 +7,19 @@
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
int Rvl_decode(u8* dataOut, u8* dataIn);
|
||||
int Rvl_decode(u8* out, u8* in);
|
||||
|
||||
static int Rvl_decode_szs_size(const u8* dataIn) {
|
||||
return (dataIn[4] << 24) | (dataIn[5] << 16) | (dataIn[6] << 8) | dataIn[7];
|
||||
static int Rvl_decode_szs_size(const u8* in) {
|
||||
return (in[4] << 24) | (in[5] << 16) | (in[6] << 8) | in[7];
|
||||
}
|
||||
|
||||
static int Rvl_decode_ash_size(const u8* dataIn) {
|
||||
return (dataIn[5] << 16) | (dataIn[6] << 8) | dataIn[7];
|
||||
/* This is likely for ASR files as well. */
|
||||
static int Rvl_decode_ash_size(const u8* in) {
|
||||
return (in[5] << 16) | (in[6] << 8) | in[7];
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // RVL_DECOMPRESSOR_H
|
||||
#endif // RVL_DECODER_H
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef IPL_TITLE_ID_DATABASE
|
||||
#define IPL_TITLE_ID_DATABASE
|
||||
|
||||
#include <private/estypes.h>
|
||||
#include <private/es.h>
|
||||
|
||||
#define TITLE_TYPE_SYSTEM 0x00000001
|
||||
#define TITLE_TYPE_DISC 0x00010000
|
||||
|
||||
@@ -19,15 +19,14 @@ namespace ipl {
|
||||
* @param height The height position of the capture.
|
||||
* @param texFmt Texture format of the capture. (RGB5A3 by default)
|
||||
*/
|
||||
Capture(EGG::Heap* heap, int x, int y, int width, int height, _GXTexFmt texFmt = GX_TF_RGB5A3);
|
||||
Capture(EGG::Heap* heap, int x, int y, int width, int height, GXTexFmt texFmt = GX_TF_RGB5A3);
|
||||
~Capture();
|
||||
|
||||
/**
|
||||
* @brief Capture the screen
|
||||
*
|
||||
* @param disableFilter Disable the GX filter on capture.
|
||||
*/
|
||||
void capture(BOOL disableFilter);
|
||||
void capture(BOOL disableFilter = FALSE);
|
||||
|
||||
private:
|
||||
u16 mXPos; // 0x00
|
||||
@@ -47,5 +46,3 @@ namespace ipl {
|
||||
}
|
||||
|
||||
#endif // IPL_CAPTURE_H
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef IPL_ES_MISC_H
|
||||
#define IPL_ES_MISC_H
|
||||
|
||||
#include <revolution/es.h>
|
||||
#include <private/es.h>
|
||||
|
||||
#include <egg/core.h>
|
||||
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
#ifndef IPL_TREE
|
||||
#define IPL_TREE
|
||||
|
||||
#include "nw4r/ut/inlines.h"
|
||||
#include <revolution/types.h>
|
||||
#include <revolution/os.h>
|
||||
#ifndef IPL_TREE_NODE_H
|
||||
#define IPL_TREE_NODE_H
|
||||
|
||||
namespace ipl {
|
||||
namespace utility {
|
||||
@@ -18,10 +14,12 @@ namespace ipl {
|
||||
virtual Tree* getNext() { return mpNext; } // 0x14
|
||||
virtual Tree* getPrev() { return mpPrev; } // 0x18
|
||||
|
||||
void attach(Tree* pTree);
|
||||
void insert(Tree* pTree, Tree* pTree2);
|
||||
void attach(Tree* tree);
|
||||
void insert(Tree* tree, Tree* childTree);
|
||||
void detach();
|
||||
|
||||
static Tree* empty() { return (Tree*)0; }
|
||||
|
||||
class iterator {
|
||||
typedef Tree value_type;
|
||||
typedef value_type* pointer;
|
||||
@@ -46,8 +44,10 @@ namespace ipl {
|
||||
mPtr = mPtr->getNext();
|
||||
}
|
||||
else {
|
||||
while (TRUE) {
|
||||
if (!mPtr->getNext()) break;
|
||||
while (1) {
|
||||
if (!mPtr->getNext()) {
|
||||
break;
|
||||
}
|
||||
mPtr = mPtr->getNext();
|
||||
}
|
||||
mPtr = mPtr->getParent();
|
||||
@@ -94,4 +94,4 @@ namespace ipl {
|
||||
}
|
||||
}
|
||||
|
||||
#endif // IPL_TREE
|
||||
#endif // IPL_TREE_NODE_H
|
||||
|
||||
@@ -35,11 +35,3 @@ SECTIONS {
|
||||
__ArenaLo = (_db_stack_addr + 0x1F) & ~0x1F;
|
||||
__ArenaHi = $ARENAHI;
|
||||
}
|
||||
|
||||
// Force active symbols that are likely going to get stripped out.
|
||||
// (automatically generated by DTK)
|
||||
FORCEACTIVE {
|
||||
$FORCEACTIVE
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ extern "C" {
|
||||
int sprintf(char* s, const char* format, ...);
|
||||
int snprintf(char* s, size_t n, const char* format, ...);
|
||||
|
||||
int vprintf(const char* format, va_list arg);
|
||||
int vsnprintf(char* s, size_t n, const char* format, va_list arg);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
#define MSL_CSTRING_H
|
||||
|
||||
#include <size_t.h>
|
||||
#include <MSL/memory.h>
|
||||
#include <internal/mem.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int strcmp(const char* dst, const char* src);
|
||||
int strcpy(char* dst, const char* src);
|
||||
|
||||
int stricmp(const char* dst, const char* src);
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@ extern "C" {
|
||||
void* memset(void* dest, int ch, size_t count);
|
||||
void* memcpy(void* dest, const void* src, size_t count);
|
||||
|
||||
void* memmove(void *dest, const void *src, size_t count);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // MSL_MEMORY_H
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ char* __va_arg(va_list args, _va_arg_type type);
|
||||
#else
|
||||
#define va_start(list, arg)
|
||||
#define va_end(list)
|
||||
#define va_arg(list, type)
|
||||
#define va_arg(list, type) (type)(0);
|
||||
#endif
|
||||
|
||||
#endif // MSL_STDARG_H
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
namespace std {
|
||||
using ::sprintf;
|
||||
using ::snprintf;
|
||||
using ::vprintf;
|
||||
using ::vsnprintf;
|
||||
} // namespace std
|
||||
|
||||
|
||||
@@ -6,11 +6,13 @@
|
||||
#ifdef __cplusplus
|
||||
|
||||
namespace std {
|
||||
// MSL/memory.h
|
||||
using ::memcpy;
|
||||
using ::memset;
|
||||
using ::memove;
|
||||
|
||||
using ::strcpy;
|
||||
using ::strcmp;
|
||||
|
||||
using ::stricmp;
|
||||
|
||||
using ::strncpy;
|
||||
|
||||
@@ -6,4 +6,3 @@ This is a rather minified version as the Wii Menu doesn't use a lot of TRK.
|
||||
Thanks to
|
||||
---------
|
||||
[projectPiki/pikmin2](https://github.com/projectPiki/pikmin2)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TRK_DOLPHIN_OS_H
|
||||
#define TRK_DOLPHIN_OS_H
|
||||
|
||||
#include <revolution/os/OSInterrupt.h>
|
||||
#include <private/os/OSInterrupt.h>
|
||||
|
||||
typedef void (*DBCommFunc)();
|
||||
typedef unsigned int (*DBPollFunc)();
|
||||
@@ -26,6 +26,6 @@ typedef struct DBCommTable {
|
||||
DBCommFunc post_stop_func; // 0x24
|
||||
} DBCommTable;
|
||||
|
||||
void EnableEXI2Interrupts();
|
||||
void EnableMetroTRKInterrupts();
|
||||
|
||||
#endif // TRK_DOLPHIN_OS_H
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#include <TRK_Hollywood_Revolution.h>
|
||||
|
||||
#pragma force_active on
|
||||
|
||||
// Encapsulating function to get the file to align properly
|
||||
asm void __targsupp() {
|
||||
#ifdef __MWERKS__ // clang-format off
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace nw4r {
|
||||
|
||||
bool IsDerivedFrom(const RuntimeTypeInfo* pBase) const {
|
||||
for (const RuntimeTypeInfo* pIt = this; pIt != NULL;
|
||||
pIt = pIt->mParentTypeInfo) {
|
||||
pIt = pIt->mParentTypeInfo) {
|
||||
if (pIt == pBase) {
|
||||
return true;
|
||||
}
|
||||
@@ -31,8 +31,7 @@ namespace nw4r {
|
||||
}
|
||||
|
||||
template <typename TDerived, typename TBase> inline TDerived DynamicCast(TBase* pPtr) {
|
||||
const detail::RuntimeTypeInfo* pDerivedTypeInfo =
|
||||
detail::GetTypeInfoFromPtr_(static_cast<TDerived>(NULL));
|
||||
const detail::RuntimeTypeInfo* pDerivedTypeInfo = detail::GetTypeInfoFromPtr_(static_cast<TDerived>(NULL));
|
||||
if (pPtr->GetRuntimeTypeInfo()->IsDerivedFrom(pDerivedTypeInfo)) {
|
||||
return static_cast<TDerived>(pPtr);
|
||||
}
|
||||
|
||||
@@ -357,13 +357,16 @@ namespace nw4r {
|
||||
if (x >= 0.0f) {
|
||||
if (x > 1.0f) {
|
||||
return 64.0f - AtanFIdx_(1.0f / x);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
return AtanFIdx_(x);
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
if (x < -1.0f) {
|
||||
return AtanFIdx_(-1.0f / x) + -64.0f;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
return -AtanFIdx_(-x);
|
||||
}
|
||||
}
|
||||
|
||||
5
libs/OperaWWW/README.md
Normal file
5
libs/OperaWWW/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Opera's World Wide Web
|
||||
======================
|
||||
Headers of Opera's WWW library (RVL WWW) from the Wii Menu.
|
||||
|
||||
The actual code of the library is located in `wwwlib.lz7` and is an LZ77 compressed RSO file.
|
||||
@@ -1,4 +1,5 @@
|
||||
# Revolution Face Library Decompilation
|
||||
Revolution Face Library
|
||||
=======================
|
||||
A decompilation of the Revolution Face library (RVLFaceLib) from the Wii Menu.
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
JustSystem's ATOK Library Decompilation
|
||||
=======================================
|
||||
JustSystem's ATOK Library
|
||||
=========================
|
||||
A decompilation of the ATOK Dictionary Library (JUSTSYSTEM_ATOK) from the Wii Menu.
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Techno Mathematical's JPEG Library Decompilation
|
||||
================================================
|
||||
Techno Mathematical's JPEG Library
|
||||
==================================
|
||||
A decompilation of the TMC JPEG Library (TMCC_JPEG) from the Wii Menu.
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Zi Corporation's eZiText Library Decompilation
|
||||
==============================================
|
||||
Zi Corporation's eZiText Library
|
||||
================================
|
||||
A decompilation of the eZiText Dictionary Library (ZI_EZITEXT) from the Wii Menu.
|
||||
|
||||
|
||||
|
||||
13
libs/RVLMiddleware/eZiText/include/eztx.h
Normal file
13
libs/RVLMiddleware/eZiText/include/eztx.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef EZI_TEXT_H
|
||||
#define EZI_TEXT_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
u32 EZTXGetGlobalDataSize();
|
||||
|
||||
BOOL EZTXAttachOEMDict(u8, u16*, s32*, void*);
|
||||
BOOL EZTXDetachOEMDict(u8, void*);
|
||||
|
||||
void EZTXGetCandidates(u32*, void*);
|
||||
|
||||
#endif // EZI_TEXT_H
|
||||
@@ -1,9 +1,9 @@
|
||||
Revolution SDK Decompilation
|
||||
============================
|
||||
Revolution SDK
|
||||
==============
|
||||
A decompilation of the Revolution SDK (RVL_SDK) from the Wii Menu.
|
||||
|
||||
This version of the SDK is a mess.
|
||||
Seems to be an SDK version from 2006 with lazily copied code from later versons and was (mostly) recompiled with the GC 3.0a5.2 compiler.
|
||||
Seems to be an early SDK revision recompiled when then IPL was being built.
|
||||
|
||||
The Wii Menu has the following libraries linked (alphabetical order):
|
||||
* **AI** (Audio Interface Library)
|
||||
@@ -11,7 +11,7 @@ The Wii Menu has the following libraries linked (alphabetical order):
|
||||
* **AX** (Audio Library)
|
||||
* **AXFX** (Audio Effects Library)
|
||||
* **BASE** (PowerPC architecture Library)
|
||||
* **BTE** (BroadCom's Bluetooth Driver Library)
|
||||
* **BTE** (Bluetooth Driver Library; written by BroadCom)
|
||||
* **CARD** (GameCube Memory Card Library)
|
||||
* **CNT** (Title Content API Library)
|
||||
* **CNTCACHE** (Unknown)
|
||||
@@ -22,9 +22,9 @@ The Wii Menu has the following libraries linked (alphabetical order):
|
||||
* **ENC** (Character Encoding Library)
|
||||
* **ES** (Private ES Library)
|
||||
* **ESP** (Public ES Library)
|
||||
* **EUART** (Externel Interface Bus UART Library; by Hudson Soft)
|
||||
* **EUART** (Externel Interface Bus UART Library; written by Hudson Soft)
|
||||
* **EXI** (Externel Interface Bus Library)
|
||||
* **FA** (File Allocation Library; for SD Card. Small left overs for USB support?)
|
||||
* **FA** (File Allocation Library; for SD Card)
|
||||
* **FS** (NAND ISFS Library)
|
||||
* **GX** (Graphics Library)
|
||||
* **IPC** (IPC Driver and IOS Library)
|
||||
@@ -44,7 +44,7 @@ The Wii Menu has the following libraries linked (alphabetical order):
|
||||
* **SI** (Serial Interface Library)
|
||||
* **TPL** (Texture Pallete Library)
|
||||
* **USB** (IUSB I/O API; written by Hudson Soft)
|
||||
* **USBUTIL** (USB Utilities)
|
||||
* **USBCMN** (USB Common Utilities)
|
||||
* **USBKBD** (USB Keyboard)
|
||||
* **VI** (Video Interface Library)
|
||||
* **WAD** (WAD Package Library)
|
||||
@@ -56,5 +56,8 @@ Thanks to
|
||||
---------
|
||||
[kiwi515/ogws](https://github.com/kiwi515/ogws)
|
||||
[SMGCommunity/Petari](https://github.com/SMGCommunity/Petari)
|
||||
[doldecomp/dolsdk2001](https://github.com/doldecomp/dolsdk2001)
|
||||
[doldecomp/dolsdk2001](https://github.com/doldecomp/dolsdk2004)
|
||||
[projectPiki/pikmin2](https://github.com/projectPiki/pikmin2)
|
||||
[devkitPro/libogc](https://github.com/devkitPro/libogc)
|
||||
[wiibrew.org](https://wiibrew.org)
|
||||
[Yet Another GameCube Documentation](https://www.gc-forever.com/yagcd)
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
#ifndef REVOLUTION_OS_LAUNCH_FOR_SYSTEM_H
|
||||
#define REVOLUTION_OS_LAUNCH_FOR_SYSTEM_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void __OSLaunchTitlevForSystem(u64 titleId, u32 launchCode, char* const argv[]);
|
||||
void __OSLaunchTitlelForSystem(u64 titleId, u32 launchCode, const char* arg, ...);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // REVOLUTION_OS_LAUNCH_FOR_SYSTEM_H
|
||||
3289
libs/RVL_SDK/include/private/SjisUcs.h
Normal file
3289
libs/RVL_SDK/include/private/SjisUcs.h
Normal file
File diff suppressed because it is too large
Load Diff
27
libs/RVL_SDK/include/private/bus.h
Normal file
27
libs/RVL_SDK/include/private/bus.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef PRIVATE_BUS_H
|
||||
#define PRIVATE_BUS_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#define RAMRead32(a) (*(u32*) (a))
|
||||
#define RAMWrite32(a, v) (*(u32*) (a)) = ((u32)(v))
|
||||
#define BUSRead32(a) (*(vu32*)(a))
|
||||
#define BUSWrite32(a, v) (*(vu32*)(a)) = ((u32)(v))
|
||||
|
||||
#define RAMRead16(a) (*(u16*) (a))
|
||||
#define RAMWrite16(a, v) (*(u16*) (a)) = ((u16)(v))
|
||||
#define BUSRead16(a) (*(vu16*)(a))
|
||||
#define BUSWrite16(a, v) (*(vu16*)(a)) = ((u16)(v))
|
||||
|
||||
#define RAMRead8(a) (*(u8*) (a))
|
||||
#define RAMWrite8(a, v) (*(u8*) (a)) = ((u8)(v))
|
||||
#define BUSRead8(a) (*(vu8*)(a))
|
||||
#define BUSWrite8(a, v) (*(vu8*)(a)) = ((u8)(v))
|
||||
|
||||
#define RAMReadPtr32(a) ((void*)(BUSRead32(a)))
|
||||
|
||||
#define SET_FLAG(x, b) (x) |= (b)
|
||||
#define CLEAR_FLAG(x, b) (x) &= (~(b))
|
||||
#define HAS_FLAG(x, b) ((x) & b)
|
||||
|
||||
#endif // PRIVATE_BUS_H
|
||||
16
libs/RVL_SDK/include/private/db.h
Normal file
16
libs/RVL_SDK/include/private/db.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef REVOLUTION_DB_H
|
||||
#define REVOLUTION_DB_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
#include <revolution/os/OSException.h>
|
||||
|
||||
BOOL __DBIsExceptionMarked(__OSException exception);
|
||||
|
||||
void DBPrintf(const char* format, ...);
|
||||
|
||||
#define DB_EXCEPTIONOFFSET_USEDEBUGGER 0x00
|
||||
#define DB_EXCEPTIONOFFSET_MASK 0x04
|
||||
#define DB_EXCEPTIONOFFSET_HOOK 0x08
|
||||
#define DB_EXCEPTIONOFFSET_HOOKLR 0x0C
|
||||
|
||||
#endif // REVOLUTION_DB_H
|
||||
28
libs/RVL_SDK/include/private/dvd.h
Normal file
28
libs/RVL_SDK/include/private/dvd.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef PRIVATE_DVD_H
|
||||
#define PRIVATE_DVD_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
#include <revolution/os/OSAlarm.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
u32 __DVDGetCoverStatus();
|
||||
void __DVDResetWithNoSpinup();
|
||||
|
||||
BOOL __DVDTestAlarm(OSAlarm* alarm);
|
||||
|
||||
enum {
|
||||
DVD_COVER_BUSY = 0,
|
||||
DVD_COVER_OPENED,
|
||||
DVD_COVER_CLOSED,
|
||||
};
|
||||
|
||||
#define DVD_DEVICE_CODE (1 << 15)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_DVD_H
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef REVOLUTION_ES_H
|
||||
#define REVOLUTION_ES_H
|
||||
#ifndef PRIVATE_ES_H
|
||||
#define PRIVATE_ES_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
#include <private/estypes.h>
|
||||
#include <private/es/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -26,4 +26,4 @@ BOOL ES_VerifyCK2(); // Check for "Common Key 2" (The Korean Key)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // REVOLUTION_ES_H
|
||||
#endif // PRIVATE_ES_H
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef REVOLUTION_ES_TYPES_H
|
||||
#define REVOLUTION_ES_TYPES_H
|
||||
#ifndef PRIVATE_ES_TYPES_H
|
||||
#define PRIVATE_ES_TYPES_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
@@ -12,29 +12,51 @@ extern "C" {
|
||||
|
||||
typedef s32 ESError;
|
||||
|
||||
typedef u32 ESId;
|
||||
typedef u32 ESDeviceId;
|
||||
typedef u32 ESContentId;
|
||||
|
||||
typedef u32 ESTitleId32;
|
||||
typedef u64 ESTitleId;
|
||||
|
||||
typedef u64 ESTicketId;
|
||||
|
||||
typedef u8 ESVersion;
|
||||
typedef u16 ESTitleVersion;
|
||||
typedef ESTitleId ESSysVersion;
|
||||
typedef u64 ESSysVersion;
|
||||
|
||||
typedef u32 ESTitleType;
|
||||
typedef u16 ESContentType;
|
||||
|
||||
typedef u8 ESTmdReserved[62];
|
||||
typedef u8 ESTicketReserved[48];
|
||||
|
||||
typedef u8 ESSysAccessMask[2];
|
||||
typedef u8 ESCidxMask[64];
|
||||
|
||||
#define ES_CHANNEL_ID(t64) ((ESId)(((ESTitleId)t64 & 0xFFFFFFFF00000000) >> 32))
|
||||
#define ES_TITLE_ID(t64) ((ESId)((ESTitleId)t64 & 0x00000000FFFFFFFF))
|
||||
#define ES_CHANNEL_ID(t64) ((ESTitleId32)(((ESTitleId)t64 & 0xFFFFFFFF00000000) >> 32))
|
||||
#define ES_TITLE_ID(t64) ((ESTitleId32)((ESTitleId)t64 & 0x00000000FFFFFFFF))
|
||||
|
||||
#define ES_MAX_CONTENT 512
|
||||
|
||||
#define ES_REGION_JPN 0
|
||||
#define ES_REGION_USA 1
|
||||
#define ES_REGION_PAL 2
|
||||
#define ES_REGION_ALL 3
|
||||
#define ES_REGION_KOR 4
|
||||
|
||||
#pragma pack(push, 1)
|
||||
|
||||
typedef struct ESTmdReserved {
|
||||
u32 region; // 0x00
|
||||
u8 ratings[16]; // 0x04
|
||||
u8 empty_0x14[4];
|
||||
|
||||
u8 driveSpin; // 0x18
|
||||
u8 empty_0x19[7];
|
||||
|
||||
u8 ipcMask[12]; // 0x20
|
||||
u8 empty_0x2C[18]; // 0x2C
|
||||
} ESTmdReserved;
|
||||
|
||||
#pragma pack(pop)
|
||||
#pragma pack(push, 4)
|
||||
|
||||
typedef struct {
|
||||
u32 code; // 0x00
|
||||
u32 limit; // 0x04
|
||||
@@ -44,7 +66,7 @@ typedef struct ESTicketView {
|
||||
ESVersion version; // 0x00
|
||||
|
||||
ESTicketId ticketId; // 0x04
|
||||
ESId deviceId; // 0x0C
|
||||
ESDeviceId deviceId; // 0x0C
|
||||
ESTitleId titleId; // 0x10
|
||||
|
||||
ESSysAccessMask sysAccessMask; // 0x18
|
||||
@@ -55,14 +77,14 @@ typedef struct ESTicketView {
|
||||
u32 accessTitleMask; // 0x20
|
||||
|
||||
u8 license; // 0x24
|
||||
ESTicketReserved reserved; // 0x25
|
||||
u8 reserved[0x30]; // 0x25
|
||||
u8 audit; // 0x55
|
||||
|
||||
ESCidxMask cidxMask; // 0x56
|
||||
u8 cidxMask[0x40]; // 0x56
|
||||
ESLpEntry limits[8]; // 0x98
|
||||
} ESTicketView;
|
||||
|
||||
#pragma pack(push, 4)
|
||||
/* TMD */
|
||||
|
||||
typedef struct ESTmdViewHeader {
|
||||
ESVersion version; // 0x00
|
||||
@@ -94,35 +116,37 @@ typedef struct ESTmdView {
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#define ES_ERR_OK 0
|
||||
enum {
|
||||
ES_ERR_OK = 0,
|
||||
|
||||
#define ES_ERR_DONT_EXISTS -106
|
||||
ES_ERR_DONT_EXISTS = -106,
|
||||
|
||||
#define ES_ERR_INVALID_PUB_KEY_TYPE -1005
|
||||
#define ES_ERR_FILE_READ_FAILED -1009
|
||||
#define ES_ERR_FILE_WRITE_FAILED -1010
|
||||
#define ES_ERR_INVALID_SIGNATURE -1012
|
||||
#define ES_ERR_TMD_FD_OVERFLOW -1016
|
||||
#define ES_ERR_INVALID_ARGUMENTS -1017
|
||||
#define ES_ERR_INVALID_DEVICE_ID -1020
|
||||
#define ES_ERR_INVALID_CONTENT_HASH -1022
|
||||
#define ES_ERR_MEMORY_ERROR -1024
|
||||
#define ES_ERR_NO_TMD_FILE_FOUND -1025
|
||||
#define ES_ERR_TMD_INVALID_RIGHT -1026
|
||||
#define ES_ERR_ISSUER_NOT_FOUND -1027
|
||||
#define ES_ERR_TICKET_NOT_FOUND -1028
|
||||
#define ES_ERR_INVALID_TICKET -1029
|
||||
#define ES_ERR_INVALID_BOOT2 -1031
|
||||
#define ES_ERR_UNKNOWN_FATAL -1032
|
||||
#define ES_ERR_TICKET_EXPIRED -1033
|
||||
#define ES_ERR_INVALID_TITLE_VER -1035
|
||||
#define ES_ERR_BAD_SYSMENU_TICKET -1036
|
||||
#define ES_ERR_BAD_SYSMENU_CONTENTS -1037
|
||||
ES_ERR_INVALID_PUB_KEY_TYPE = -1005,
|
||||
ES_ERR_FILE_READ_FAILED = -1009,
|
||||
ES_ERR_FILE_WRITE_FAILED = -1010,
|
||||
ES_ERR_INVALID_SIGNATURE = -1012,
|
||||
ES_ERR_TMD_FD_OVERFLOW = -1016,
|
||||
ES_ERR_INVALID_ARGUMENTS = -1017,
|
||||
ES_ERR_INVALID_DEVICE_ID = -1020,
|
||||
ES_ERR_INVALID_CONTENT_HASH = -1022,
|
||||
ES_ERR_MEMORY_ERROR = -1024,
|
||||
ES_ERR_NO_TMD_FILE_FOUND = -1025,
|
||||
ES_ERR_TMD_INVALID_RIGHT = -1026,
|
||||
ES_ERR_ISSUER_NOT_FOUND = -1027,
|
||||
ES_ERR_TICKET_NOT_FOUND = -1028,
|
||||
ES_ERR_INVALID_TICKET = -1029,
|
||||
ES_ERR_INVALID_BOOT2 = -1031,
|
||||
ES_ERR_UNKNOWN_FATAL = -1032,
|
||||
ES_ERR_TICKET_EXPIRED = -1033,
|
||||
ES_ERR_INVALID_TITLE_VER = -1035,
|
||||
ES_ERR_BAD_SYSMENU_TICKET = -1036,
|
||||
ES_ERR_BAD_SYSMENU_CONTENTS = -1037,
|
||||
|
||||
#define ES_ERR_NO_DISC_NAND_TMD -1039
|
||||
ES_ERR_NO_DISC_NAND_TMD = -1039,
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // REVOLUTION_ES_TYPES_H
|
||||
#endif // PRIVATE_ES_TYPES_H
|
||||
123
libs/RVL_SDK/include/private/exi.h
Normal file
123
libs/RVL_SDK/include/private/exi.h
Normal file
@@ -0,0 +1,123 @@
|
||||
#ifndef PRIVATE_EXI_H
|
||||
#define PRIVATE_EXI_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
#include <revolution/os.h>
|
||||
#include <revolution/os/OSContext.h>
|
||||
#include <revolution/os/OSMemMap.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef DEFINED_EXI_CHANS
|
||||
#define DEFINED_EXI_CHANS
|
||||
#define EXI_CHAN_0 0
|
||||
#define EXI_CHAN_1 1
|
||||
#define EXI_CHAN_2 2
|
||||
#define EXI_CHAN_MAX 3
|
||||
#endif // DEFINED_EXI_CHANS
|
||||
|
||||
enum {
|
||||
EXI_FREQ_1MHZ = 0,
|
||||
EXI_FREQ_2MHZ,
|
||||
EXI_FREQ_4MHZ,
|
||||
EXI_FREQ_8MHZ,
|
||||
EXI_FREQ_16MHZ,
|
||||
EXI_FREQ_32HZ,
|
||||
EXI_MAX_FREQ
|
||||
};
|
||||
|
||||
enum {
|
||||
EXI_DEV_EXT = 0,
|
||||
EXI_DEV_INT,
|
||||
EXI_DEV_NET,
|
||||
EXI_MAX_DEV
|
||||
};
|
||||
|
||||
enum {
|
||||
EXI_READ = 0,
|
||||
EXI_WRITE
|
||||
};
|
||||
|
||||
enum {
|
||||
EXI_STATE_IDLE = 0,
|
||||
EXI_STATE_DMA = 1,
|
||||
EXI_STATE_IMM = 2,
|
||||
EXI_STATE_BUSY = 3,
|
||||
EXI_STATE_SELECTED = 4,
|
||||
EXI_STATE_ATTACHED = 8,
|
||||
EXI_STATE_LOCKED = 16,
|
||||
};
|
||||
|
||||
s32 __EXIProbeStartTime[2] ADDRESS(OS_BASE_CACHED | OS_ADDR_EXI_LAST_PROBES);
|
||||
|
||||
extern const u32 __EXIFreq;
|
||||
|
||||
typedef void (*EXICallback)(s32 chan, OSContext* context);
|
||||
|
||||
void EXIInit();
|
||||
|
||||
BOOL EXIImm(s32 chan, void* buffer, s32 length, u32 type, EXICallback callback);
|
||||
BOOL EXIImmEx(s32 chan, u8* buffer, s32 length, u32 mode);
|
||||
|
||||
BOOL EXIDma(s32 chan, void* buffer, s32 length, u32 type, EXICallback callback);
|
||||
|
||||
BOOL EXISync(s32 chan);
|
||||
|
||||
u32 EXIClearInterrupts(s32 chan, BOOL clearExi, BOOL clearTc, BOOL clearExt);
|
||||
|
||||
EXICallback EXISetExiCallback(s32 chan, EXICallback exiCallback);
|
||||
|
||||
void EXIProbeReset();
|
||||
|
||||
BOOL EXIProbe(s32 chan);
|
||||
s32 EXIProbeEx(s32 chan);
|
||||
|
||||
BOOL EXIAttach(s32 chan, EXICallback extCallback);
|
||||
BOOL EXIDetach(s32 chan);
|
||||
|
||||
BOOL EXISelectSD(s32 chan, u32 dev, u32 freq);
|
||||
BOOL EXISelect(s32 chan, u32 dev, u32 freq);
|
||||
BOOL EXISelectEx(s32 chan, u32 dev, u32 freq);
|
||||
BOOL EXIDeselect(s32 chan);
|
||||
BOOL EXIDeselectEx(s32 chan);
|
||||
|
||||
BOOL EXILock(s32 chan, u32 dev, EXICallback unlockedCallback);
|
||||
BOOL EXIUnlock(s32 chan);
|
||||
|
||||
u32 EXIGetState(s32 chan);
|
||||
|
||||
BOOL EXIGetID(s32 chan, u32 dev, u32* id);
|
||||
BOOL EXIGetIDEx(s32 chan, u32 dev, u32* id);
|
||||
|
||||
void __OSEnableBarnacle(s32 chan, u32 dev);
|
||||
|
||||
typedef struct EXIQueue {
|
||||
u32 device; // 0x00
|
||||
EXICallback cb; // 0x04
|
||||
} EXIQueue;
|
||||
|
||||
typedef struct EXIControl {
|
||||
EXICallback exiCallback; // 0x00
|
||||
EXICallback tcCallback; // 0x04
|
||||
EXICallback extCallback; // 0x08
|
||||
|
||||
vu32 state; // 0x0C
|
||||
|
||||
int immLen; // 0x10
|
||||
u8* immBuf; // 0x14
|
||||
|
||||
u32 dev; // 0x18
|
||||
u32 id; // 0x1C
|
||||
s32 idTime; // 0x20
|
||||
int items; // 0x24
|
||||
|
||||
EXIQueue queue[3]; // 0x28
|
||||
} EXIControl;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_EXI_H
|
||||
@@ -1,31 +0,0 @@
|
||||
#ifndef REVOLUTION_FLIPPER_H
|
||||
#define REVOLUTION_FLIPPER_H
|
||||
|
||||
#include <revolution/os.h>
|
||||
|
||||
#define VI_REG_ADDRESS 0x0C002000
|
||||
vu16 __VIRegs[59] ADDRESS(OS_BASE_UNCACHED + VI_REG_ADDRESS);
|
||||
|
||||
#define PI_REG_ADDRESS 0x0C003000
|
||||
vu32 __PIRegs[12] ADDRESS(OS_BASE_UNCACHED + PI_REG_ADDRESS);
|
||||
#define PI_REG(X) (__PIRegs[X >> 2])
|
||||
|
||||
#define DSP_REG_ADDRESS 0x0C005000
|
||||
vu16 __DSPRegs[32] ADDRESS(OS_BASE_UNCACHED + DSP_REG_ADDRESS);
|
||||
|
||||
#define AI_REG_ADDRESS 0x0C006C00
|
||||
vu32 __AIRegs[8] ADDRESS(OS_BASE_UNCACHED + AI_REG_ADDRESS);
|
||||
|
||||
#define EXI_REG_ADDRESS 0x0D006800
|
||||
vu32 __EXIRegs[16] ADDRESS(OS_BASE_UNCACHED + EXI_REG_ADDRESS);
|
||||
|
||||
#define MEM_REG_ADDRESS 0x0D004000
|
||||
vu16 __MEMRegs[64] ADDRESS(OS_BASE_UNCACHED + MEM_REG_ADDRESS);
|
||||
|
||||
#define DI_REG_ADDRESS 0x0D006000
|
||||
vu32 __DIRegs[16] ADDRESS(OS_BASE_UNCACHED + DI_REG_ADDRESS);
|
||||
|
||||
#define SI_REG_ADDRESS 0x0D006400
|
||||
vu32 __SIRegs[64] ADDRESS(OS_BASE_UNCACHED + SI_REG_ADDRESS);
|
||||
|
||||
#endif // REVOLUTION_FLIPPER_H
|
||||
13
libs/RVL_SDK/include/private/hollywood.h
Normal file
13
libs/RVL_SDK/include/private/hollywood.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef PRIVATE_HOLLYWOOD_H
|
||||
#define PRIVATE_HOLLYWOOD_H
|
||||
|
||||
#include <private/hollywood/flipper.h>
|
||||
#include <private/hollywood/hw_reg.h>
|
||||
|
||||
#define HOLLYWOOD_ES_1_0 0x00000000
|
||||
#define HOLLYWOOD_ES_1_1 0x00000001
|
||||
#define HOLLYWOOD_ES_1_2 0x00000002
|
||||
#define HOLLYWOOD_ES_2_0 0x00000010
|
||||
#define HOLLYWOOD_ES_2_1 0x00000011
|
||||
|
||||
#endif // PRIVATE_HOLLYWOOD_H
|
||||
130
libs/RVL_SDK/include/private/hollywood/flipper.h
Normal file
130
libs/RVL_SDK/include/private/hollywood/flipper.h
Normal file
@@ -0,0 +1,130 @@
|
||||
#ifndef PRIVATE_FLIPPER_H
|
||||
#define PRIVATE_FLIPPER_H
|
||||
|
||||
#include <revolution/os.h>
|
||||
|
||||
#include <private/bus.h>
|
||||
|
||||
#define __flipper_set_bit(x, b) SET_FLAG(x, b)
|
||||
#define __flipper_clear_bit(x, b) CLEAR_FLAG(x, b)
|
||||
#define __flipper_has_bit(x, b) HAS_FLAG(x, b)
|
||||
|
||||
/* Video Interface */
|
||||
|
||||
#define VI_REG_ADDRESS 0x0C002000
|
||||
vu16 __VIRegs[64] ADDRESS(OS_BASE_UNCACHED + VI_REG_ADDRESS);
|
||||
|
||||
#define VI_WRITE_REG(x, v) __VIRegs[(x) >> 1] = ((u16)v)
|
||||
#define VI_READ_REG(x) __VIRegs[(x) >> 1]
|
||||
|
||||
#define VI_WRITE_REG32(x, v) *(u32*)&__VIRegs[(x) >> 1] = ((u32)v)
|
||||
#define VI_READ_REG32(x) *(u32*)&__VIRegs[(x) >> 1]
|
||||
|
||||
#define VI_SET_REG_F(x, v) __flipper_set_bit (__VIRegs[(x) >> 1], v)
|
||||
#define VI_DEL_REG_F(x, v) __flipper_clear_bit(__VIRegs[(x) >> 1], v)
|
||||
#define VI_HAS_REG_F(x, v) __flipper_has_bit (__VIRegs[(x) >> 1], v)
|
||||
|
||||
#include <private/hollywood/flipper/vi_reg.h>
|
||||
|
||||
/* Processor Interface */
|
||||
|
||||
#define PI_REG_ADDRESS 0x0C003000
|
||||
vu32 __PIRegs[64] ADDRESS(OS_BASE_UNCACHED + PI_REG_ADDRESS);
|
||||
|
||||
#define PI_WRITE_REG(x, v) __PIRegs[(x) >> 2] = ((u32)v)
|
||||
#define PI_READ_REG(x) __PIRegs[(x) >> 2]
|
||||
|
||||
#define PI_SET_REG_F(x, v) __flipper_set_bit (__PIRegs[(x) >> 2], v)
|
||||
#define PI_DEL_REG_F(x, v) __flipper_clear_bit(__PIRegs[(x) >> 2], v)
|
||||
#define PI_HAS_REG_F(x, v) __flipper_has_bit (__PIRegs[(x) >> 2], v)
|
||||
|
||||
#include <private/hollywood/flipper/pi_reg.h>
|
||||
|
||||
/* Audio DSP */
|
||||
|
||||
#define DSP_REG_ADDRESS 0x0C005000
|
||||
vu16 __DSPRegs[128] ADDRESS(OS_BASE_UNCACHED + DSP_REG_ADDRESS);
|
||||
|
||||
#define DSP_WRITE_REG(x, v) __DSPRegs[(x) >> 1] = ((u16)v)
|
||||
#define DSP_READ_REG(x) __DSPRegs[(x) >> 1]
|
||||
|
||||
#define DSP_WRITE_REG32(x, v) *(u32*)&__DSPRegs[(x) >> 1] = ((u32)v)
|
||||
#define DSP_READ_REG32(x) *(u32*)&__DSPRegs[(x) >> 1]
|
||||
|
||||
#define DSP_SET_REG_F(x, v) __flipper_set_bit (__DSPRegs[(x) >> 1], v)
|
||||
#define DSP_DEL_REG_F(x, v) __flipper_clear_bit(__DSPRegs[(x) >> 1], v)
|
||||
#define DSP_HAS_REG_F(x, v) __flipper_has_bit (__DSPRegs[(x) >> 1], v)
|
||||
|
||||
#include <private/hollywood/flipper/dsp_reg.h>
|
||||
|
||||
/* Audio Inerface */
|
||||
|
||||
#define AI_REG_ADDRESS 0x0D006C00
|
||||
vu32 __AIRegs[8] ADDRESS(OS_BASE_UNCACHED + AI_REG_ADDRESS);
|
||||
|
||||
#define AI_WRITE_REG(x, v) __AIRegs[(x) >> 2] = ((u32)v)
|
||||
#define AI_READ_REG(x) __AIRegs[(x) >> 2]
|
||||
|
||||
#define AI_SET_REG_F(x, v) __flipper_set_bit (__AIRegs[(x) >> 2], v)
|
||||
#define AI_DEL_REG_F(x, v) __flipper_clear_bit(__AIRegs[(x) >> 2], v)
|
||||
#define AI_HAS_REG_F(x, v) __flipper_has_bit (__AIRegs[(x) >> 2], v)
|
||||
|
||||
#include <private/hollywood/flipper/ai_reg.h>
|
||||
|
||||
/* External Inerface */
|
||||
|
||||
#define EXI_REG_ADDRESS 0x0D006800
|
||||
vu32 __EXIRegs[30] ADDRESS(OS_BASE_UNCACHED + EXI_REG_ADDRESS);
|
||||
|
||||
#define EXI_WRITE_REG(x, v) __EXIRegs[(x) >> 2] = ((u32)v)
|
||||
#define EXI_READ_REG(x) __EXIRegs[(x) >> 2]
|
||||
|
||||
#define EXI_SET_REG_F(x, v) __flipper_set_bit (__EXIRegs[(x) >> 2], v)
|
||||
#define EXI_DEL_REG_F(x, v) __flipper_clear_bit(__EXIRegs[(x) >> 2], v)
|
||||
#define EXI_HAS_REG_F(x, v) __flipper_has_bit (__EXIRegs[(x) >> 2], v)
|
||||
|
||||
#include <private/hollywood/flipper/exi_reg.h>
|
||||
|
||||
/* Memory Interface */
|
||||
|
||||
#define MEM_REG_ADDRESS 0x0C004000
|
||||
vu16 __MEMRegs[52] ADDRESS(OS_BASE_UNCACHED + MEM_REG_ADDRESS);
|
||||
|
||||
#define MEM_WRITE_REG(x, v) __MEMRegs[(x) >> 1] = ((u16)v)
|
||||
#define MEM_READ_REG(x) __MEMRegs[(x) >> 1]
|
||||
|
||||
#define MEM_SET_REG_F(x, v) __flipper_set_bit (__MEMRegs[(x) >> 2], v)
|
||||
#define MEM_DEL_REG_F(x, v) __flipper_clear_bit(__MEMRegs[(x) >> 2], v)
|
||||
#define MEM_HAS_REG_F(x, v) __flipper_has_bit (__MEMRegs[(x) >> 2], v)
|
||||
|
||||
#include <private/hollywood/flipper/mem_reg.h>
|
||||
|
||||
/* Drive Interface */
|
||||
|
||||
#define DI_REG_ADDRESS 0x0D006000
|
||||
vu32 __DIRegs[16] ADDRESS(OS_BASE_UNCACHED + DI_REG_ADDRESS);
|
||||
|
||||
#define DI_WRITE_REG(x, v) __DIRegs[(x) >> 2] = ((u32)v)
|
||||
#define DI_READ_REG(x) __DIRegs[(x) >> 2]
|
||||
|
||||
#define DI_SET_REG_F(x, v) __flipper_set_bit (__DIRegs[(x) >> 2], v)
|
||||
#define DI_DEL_REG_F(x, v) __flipper_clear_bit(__DIRegs[(x) >> 2], v)
|
||||
#define DI_HAS_REG_F(x, v) __flipper_has_bit (__DIRegs[(x) >> 2], v)
|
||||
|
||||
#include <private/hollywood/flipper/di_reg.h>
|
||||
|
||||
/* Serial Interface */
|
||||
|
||||
#define SI_REG_ADDRESS 0x0D006400
|
||||
vu32 __SIRegs[64] ADDRESS(OS_BASE_UNCACHED + SI_REG_ADDRESS);
|
||||
|
||||
#define SI_WRITE_REG(x, v) __SIRegs[(x) >> 2] = ((u32)v)
|
||||
#define SI_READ_REG(x) __SIRegs[(x) >> 2]
|
||||
|
||||
#define SI_SET_REG_F(x, v) __flipper_set_bit (__SIRegs[(x) >> 2], v)
|
||||
#define SI_DEL_REG_F(x, v) __flipper_clear_bit(__SIRegs[(x) >> 2], v)
|
||||
#define SI_HAS_REG_F(x, v) __flipper_has_bit (__SIRegs[(x) >> 2], v)
|
||||
|
||||
#include <private/hollywood/flipper/si_reg.h>
|
||||
|
||||
#endif // PRIVATE_FLIPPER_H
|
||||
17
libs/RVL_SDK/include/private/hollywood/flipper/ai_reg.h
Normal file
17
libs/RVL_SDK/include/private/hollywood/flipper/ai_reg.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef PRIVATE_HOLLYWOOD_FLIPPER_AI_REGS_H
|
||||
#define PRIVATE_HOLLYWOOD_FLIPPER_AI_REGS_H
|
||||
|
||||
#define AI_CONTROL 0x0000
|
||||
#define AI_CONTROL_PSTAT 0
|
||||
#define AI_CONTROL_AFR 1
|
||||
#define AI_CONTROL_AIINTMSK 2
|
||||
#define AI_CONTROL_AIINT 3
|
||||
#define AI_CONTROL_AIINTVLD 4
|
||||
#define AI_CONTROL_SCRESET 5
|
||||
#define AI_CONTROL_SAMPLERATE 6
|
||||
|
||||
#define AI_VOLUME 0x0004
|
||||
#define AI_AISCNT 0x0008
|
||||
#define AI_AIIT 0x000C
|
||||
|
||||
#endif // PRIVATE_HOLLYWOOD_FLIPPER_AI_REGS_H
|
||||
19
libs/RVL_SDK/include/private/hollywood/flipper/di_reg.h
Normal file
19
libs/RVL_SDK/include/private/hollywood/flipper/di_reg.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef PRIVATE_HOLLYWOOD_FLIPPER_DI_REGS_H
|
||||
#define PRIVATE_HOLLYWOOD_FLIPPER_DI_REGS_H
|
||||
|
||||
#define DI_STATUS 0x0000
|
||||
#define DI_COVER 0x0004
|
||||
|
||||
#define DI_CMD_BUFFER_0 0x0008
|
||||
#define DI_CMD_BUFFER_1 0x000C
|
||||
#define DI_CMD_BUFFER_2 0x0010
|
||||
|
||||
#define DI_DMA_MEM_ADDRESS 0x0014
|
||||
#define DI_DMA_TRANSFER_LENGTH 0x0018
|
||||
|
||||
#define DI_CONTROL 0x001C
|
||||
|
||||
#define DI_IMMEDIATE_DATA_BUF 0x0020
|
||||
#define DI_CONFIG 0x0024
|
||||
|
||||
#endif // PRIVATE_HOLLYWOOD_FLIPPER_DI_REGS_H
|
||||
49
libs/RVL_SDK/include/private/hollywood/flipper/dsp_reg.h
Normal file
49
libs/RVL_SDK/include/private/hollywood/flipper/dsp_reg.h
Normal file
@@ -0,0 +1,49 @@
|
||||
#ifndef PRIVATE_HOLLYWOOD_FLIPPER_DSP_REGS_H
|
||||
#define PRIVATE_HOLLYWOOD_FLIPPER_DSP_REGS_H
|
||||
|
||||
#define DSP_MAILBOX 0x0000
|
||||
#define DSP_MAILBOX_SET 15
|
||||
#define DSP_MAILBOX_H 0x0000
|
||||
#define DSP_MAILBOX_L 0x0002
|
||||
|
||||
#define DSP_CPUMAILBOX 0x0004
|
||||
#define DSP_CPUMAILBOX_SET 15
|
||||
#define DSP_CPUMAILBOX_H 0x0004
|
||||
#define DSP_CPUMAILBOX_L 0x0006
|
||||
|
||||
#define DSP_CONTROL_STATUS 0x000A
|
||||
#define DSP_CONTROL_STATUS_RESET 11 /* Apparently this also could be "BOOTMODE" */
|
||||
#define DSP_CONTROL_STATUS_DMASTAT 10
|
||||
#define DSP_CONTROL_STATUS_ARDMASTAT 9
|
||||
#define DSP_CONTROL_STATUS_DMAINTMSK 8
|
||||
#define DSP_CONTROL_STATUS_DSPINT 7
|
||||
#define DSP_CONTROL_STATUS_ARINTMSK 6
|
||||
#define DSP_CONTROL_STATUS_ARINT 5
|
||||
#define DSP_CONTROL_STATUS_AIDINTMSK 4
|
||||
#define DSP_CONTROL_STATUS_AIDINT 3
|
||||
#define DSP_CONTROL_STATUS_HALT 2
|
||||
#define DSP_CONTROL_STATUS_PIINT 1
|
||||
#define DSP_CONTROL_STATUS_RES 0
|
||||
|
||||
#define DSP_AR_SIZE 0x0012
|
||||
#define DSP_AR_MODE 0x0016
|
||||
#define DSP_AR_REFRESH 0x001A
|
||||
#define DSP_AR_DMA_MMADDR 0x0020
|
||||
#define DSP_AR_DMA_MMADDR_H 0x0020
|
||||
#define DSP_AR_DMA_MMADDR_L 0x0022
|
||||
#define DSP_AR_DMA_ARADDR 0x0024
|
||||
#define DSP_AR_DMA_ARADDR_H 0x0024
|
||||
#define DSP_AR_DMA_ARADDR_L 0x0026
|
||||
#define DSP_AR_DMA_SIZE 0x0028
|
||||
#define DSP_AR_DMA_SIZE_H 0x0028
|
||||
#define DSP_AR_DMA_SIZE_L 0x002A
|
||||
|
||||
#define DSP_DMA_START_ADDR_H 0x0030
|
||||
#define DSP_DMA_START_ADDR_L 0x0032
|
||||
|
||||
#define DSP_DMA_CONTROL_LENGTH 0x0036
|
||||
#define DSP_DMA_CONTROL_LENGTH_CTRL 15
|
||||
|
||||
#define DSP_DMA_BYTES_LEFT 0x003A
|
||||
|
||||
#endif // PRIVATE_HOLLYWOOD_FLIPPER_DSP_REGS_H
|
||||
54
libs/RVL_SDK/include/private/hollywood/flipper/exi_reg.h
Normal file
54
libs/RVL_SDK/include/private/hollywood/flipper/exi_reg.h
Normal file
@@ -0,0 +1,54 @@
|
||||
#ifndef PRIVATE_HOLLYWOOD_FLIPPER_EXI_REGS_H
|
||||
#define PRIVATE_HOLLYWOOD_FLIPPER_EXI_REGS_H
|
||||
|
||||
#ifndef DEFINED_EXI_CHANS
|
||||
#define DEFINED_EXI_CHANS
|
||||
#define EXI_CHAN_0 0
|
||||
#define EXI_CHAN_1 1
|
||||
#define EXI_CHAN_2 2
|
||||
#define EXI_CHAN_MAX 3
|
||||
#endif // DEFINED_EXI_CHANS
|
||||
|
||||
#define EXI_CHAN_PARAM 0x0000
|
||||
#define EXI_MEM_ADDRESS 0x0004
|
||||
#define EXI_LENGTH 0x0008
|
||||
#define EXI_CONTROL 0x000C
|
||||
#define EXI_DATA 0x0010
|
||||
|
||||
#define EXI_REG_SIZE 0x0014
|
||||
|
||||
#define EXI_0_CHAN_PARAM 0x0000
|
||||
#define EXI_0_MEM_ADDRESS 0x0004
|
||||
#define EXI_0_LENGTH 0x0008
|
||||
#define EXI_0_CONTROL 0x000C
|
||||
#define EXI_0_DATA 0x0010
|
||||
|
||||
#define EXI_1_CHAN_PARAM 0x0014
|
||||
#define EXI_1_MEM_ADDRESS 0x0018
|
||||
#define EXI_1_LENGTH 0x001C
|
||||
#define EXI_1_CONTROL 0x0020
|
||||
#define EXI_1_DATA 0x0024
|
||||
|
||||
#define EXI_2_CHAN_PARAM 0x0028
|
||||
#define EXI_2_MEM_ADDRESS 0x002C
|
||||
#define EXI_2_LENGTH 0x0030
|
||||
#define EXI_2_CONTROL 0x0034
|
||||
#define EXI_2_DATA 0x0038
|
||||
|
||||
#define EXI_CHAN_PARAM_INTMASK 0
|
||||
#define EXI_CHAN_PARAM_INT 1
|
||||
#define EXI_CHAN_PARAM_TCINTMASK 2
|
||||
#define EXI_CHAN_PARAM_TCINT 3
|
||||
#define EXI_CHAN_PARAM_CLK 4
|
||||
#define EXI_CHAN_PARAM_CS 7
|
||||
#define EXI_CHAN_PARAM_EXTINTMASK 10
|
||||
#define EXI_CHAN_PARAM_EXTINT 11
|
||||
#define EXI_CHAN_PARAM_EXT 12
|
||||
#define EXI_CHAN_PARAM_ROMDIS 13 /* For Gekko, this was the GC's IPL. But for hollywood, this is unknown. */
|
||||
|
||||
#define EXI_CONTROL_TSTART 0
|
||||
#define EXI_CONTROL_DMA 1
|
||||
#define EXI_CONTROL_RW 2
|
||||
#define EXI_CONTROL_TLEN 4
|
||||
|
||||
#endif // PRIVATE_HOLLYWOOD_FLIPPER_EXI_REGS_H
|
||||
113
libs/RVL_SDK/include/private/hollywood/flipper/mem_reg.h
Normal file
113
libs/RVL_SDK/include/private/hollywood/flipper/mem_reg.h
Normal file
@@ -0,0 +1,113 @@
|
||||
#ifndef PRIVATE_HOLLYWOOD_FLIPPER_MEM_REGS_H
|
||||
#define PRIVATE_HOLLYWOOD_FLIPPER_MEM_REGS_H
|
||||
|
||||
#define MEM_MARR0_START 0x0000
|
||||
#define MEM_MARR0_END 0x0002
|
||||
#define MEM_MARR1_START 0x0004
|
||||
#define MEM_MARR1_END 0x0006
|
||||
#define MEM_MARR2_START 0x0008
|
||||
#define MEM_MARR2_END 0x000A
|
||||
#define MEM_MARR3_START 0x000C
|
||||
#define MEM_MARR3_END 0x000E
|
||||
|
||||
#define MEM_MARR_CONTROL 0x0010
|
||||
|
||||
#define MEM_CP_BW_DIAL 0x0012
|
||||
#define MEM_TC_BW_DIAL 0x0014
|
||||
#define MEM_PE_BW_DIAL 0x0016
|
||||
#define MEM_CPUR_BW_DIAL 0x0018
|
||||
#define MEM_CPUW_BW_DIAL 0x001A
|
||||
|
||||
#define MEM_INT_ENBL 0x001C
|
||||
#define MEM_INT_STAT 0x001E
|
||||
#define MEM_INT_CLR 0x0020
|
||||
#define MEM_INT_ADDR 0x0022
|
||||
#define MEM_INT_ADDRL 0x0022
|
||||
#define MEM_INT_ADDRH 0x0024
|
||||
|
||||
#define MEM_REFRESH 0x0026
|
||||
|
||||
#define MEM_CONFIG 0x0028
|
||||
|
||||
#define MEM_LATENCY 0x002A
|
||||
|
||||
#define MEM_RDTORD 0x002E
|
||||
#define MEM_WRTORD 0x0030
|
||||
|
||||
#define MEM_CP_REQCOUNT 0x0032
|
||||
#define MEM_CP_REQCOUNTH 0x0032
|
||||
#define MEM_CP_REQCOUNTL 0x0034
|
||||
|
||||
#define MEM_TC_REQCOUNT 0x0036
|
||||
#define MEM_TC_REQCOUNTH 0x0036
|
||||
#define MEM_TC_REQCOUNTL 0x0038
|
||||
|
||||
#define MEM_CPUR_REQCOUNT 0x003A
|
||||
#define MEM_CPUR_REQCOUNTH 0x003A
|
||||
#define MEM_CPUR_REQCOUNTL 0x003C
|
||||
|
||||
#define MEM_CPUW_REQCOUNT 0x003E
|
||||
#define MEM_CPUW_REQCOUNTH 0x003E
|
||||
#define MEM_CPUW_REQCOUNTL 0x0040
|
||||
|
||||
#define MEM_DSP_REQCOUNT 0x0042
|
||||
#define MEM_DSP_REQCOUNTH 0x0042
|
||||
#define MEM_DSP_REQCOUNTL 0x0044
|
||||
|
||||
#define MEM_IO_REQCOUNT 0x0046
|
||||
#define MEM_IO_REQCOUNTH 0x0046
|
||||
#define MEM_IO_REQCOUNTL 0x0048
|
||||
|
||||
#define MEM_VI_REQCOUNT 0x004A
|
||||
#define MEM_VI_REQCOUNTH 0x004A
|
||||
#define MEM_VI_REQCOUNTL 0x004C
|
||||
|
||||
#define MEM_PE_REQCOUNT 0x004E
|
||||
#define MEM_PE_REQCOUNTH 0x004E
|
||||
#define MEM_PE_REQCOUNTL 0x0050
|
||||
|
||||
#define MEM_RF_REQCOUNT 0x0052
|
||||
#define MEM_RF_REQCOUNTH 0x0052
|
||||
#define MEM_RF_REQCOUNTL 0x0054
|
||||
|
||||
#define MEM_FI_REQCOUNT 0x0056
|
||||
#define MEM_FI_REQCOUNTH 0x0056
|
||||
#define MEM_FI_REQCOUNTL 0x0058
|
||||
|
||||
#define MEM_DRV_STRENGTH 0x005A
|
||||
|
||||
#define MEM_REFRSH_THHD 0x005C
|
||||
|
||||
#define MEM_CPUAHMR_REQCOUNT 0x0060
|
||||
#define MEM_CPUAHMR_REQCOUNTH 0x0060
|
||||
#define MEM_CPUAHMR_REQCOUNTL 0x0062
|
||||
|
||||
#define MEM_CPUAHMW_REQCOUNT 0x0064
|
||||
#define MEM_CPUAHMW_REQCOUNTH 0x0064
|
||||
#define MEM_CPUAHMW_REQCOUNTL 0x0066
|
||||
|
||||
#define MEM_DMAAHMR_REQCOUNT 0x0068
|
||||
#define MEM_DMAAHMR_REQCOUNTH 0x0068
|
||||
#define MEM_DMAAHMR_REQCOUNTL 0x006A
|
||||
|
||||
#define MEM_DMAAHMW_REQCOUNT 0x006C
|
||||
#define MEM_DMAAHMW_REQCOUNTH 0x006C
|
||||
#define MEM_DMAAHMW_REQCOUNTL 0x006E
|
||||
|
||||
#define MEM_ACC_REQCOUNT 0x0070
|
||||
#define MEM_ACC_REQCOUNTH 0x0070
|
||||
#define MEM_ACC_REQCOUNTL 0x0072
|
||||
|
||||
#define MEM_DDRREG_ADDR 0x0074
|
||||
|
||||
#define MEM_DDRREG_DATA 0x0076
|
||||
|
||||
#define MEM_DRV_PSTRENGTH 0x0078
|
||||
|
||||
#define MEM_INT_MEM_0 0
|
||||
#define MEM_INT_MEM_1 1
|
||||
#define MEM_INT_MEM_2 2
|
||||
#define MEM_INT_MEM_3 3
|
||||
#define MEM_INT_MEM_ADDRESS 4
|
||||
|
||||
#endif // PRIVATE_HOLLYWOOD_FLIPPER_MEM_REGS_H
|
||||
29
libs/RVL_SDK/include/private/hollywood/flipper/pi_reg.h
Normal file
29
libs/RVL_SDK/include/private/hollywood/flipper/pi_reg.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef PRIVATE_HOLLYWOOD_FLIPPER_PI_REGS_H
|
||||
#define PRIVATE_HOLLYWOOD_FLIPPER_PI_REGS_H
|
||||
|
||||
#define PI_INTERRUPT_CAUSE 0x0000
|
||||
#define PI_INTERRUPT_ERROR 0
|
||||
#define PI_INTERRUPT_RSW 1
|
||||
#define PI_INTERRUPT_DI 2
|
||||
#define PI_INTERRUPT_SI 3
|
||||
#define PI_INTERRUPT_EXI 4
|
||||
#define PI_INTERRUPT_AI 5
|
||||
#define PI_INTERRUPT_DSP 6
|
||||
#define PI_INTERRUPT_MEM 7
|
||||
#define PI_INTERRUPT_VI 8
|
||||
#define PI_INTERRUPT_PE_TOKEN 9
|
||||
#define PI_INTERRUPT_PE_FINISH 10
|
||||
#define PI_INTERRUPT_CP 11
|
||||
#define PI_INTERRUPT_DEBUG 12
|
||||
#define PI_INTERRUPT_HSP 13
|
||||
#define PI_INTERRUPT_ACR 14 /* HOLLYWOOD EXCLUSIVE */
|
||||
#define PI_INTERRUPT_RSW_STATE 16
|
||||
|
||||
#define PI_INTERRUPT_MASK 0x0004
|
||||
|
||||
#define PI_RESET_REQUEST 0x0024
|
||||
#define PI_UNIT_INFO 0x002C
|
||||
#define PI_UNIT_INFO_TYPE 28
|
||||
#define PI_UNIT_INFO_TYPE_EB 31
|
||||
|
||||
#endif // PRIVATE_HOLLYWOOD_FLIPPER_PI_REGS_H
|
||||
30
libs/RVL_SDK/include/private/hollywood/flipper/si_reg.h
Normal file
30
libs/RVL_SDK/include/private/hollywood/flipper/si_reg.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef PRIVATE_HOLLYWOOD_FLIPPER_SI_REGS_H
|
||||
#define PRIVATE_HOLLYWOOD_FLIPPER_SI_REGS_H
|
||||
|
||||
#define SI_0_OUT_BUFFER 0x0000
|
||||
#define SI_0_BUTTON_BUFFER 0x0004
|
||||
#define SI_0_BUTTON_2_BUFFER 0x0008
|
||||
|
||||
#define SI_1_OUT_BUFFER 0x000C
|
||||
#define SI_1_BUTTON_BUFFER 0x0010
|
||||
#define SI_1_BUTTON_2_BUFFER 0x0014
|
||||
|
||||
#define SI_2_OUT_BUFFER 0x0018
|
||||
#define SI_2_BUTTON_BUFFER 0x001C
|
||||
#define SI_2_BUTTON_2_BUFFER 0x0020
|
||||
|
||||
#define SI_3_OUT_BUFFER 0x0024
|
||||
#define SI_3_BUTTON_BUFFER 0x0028
|
||||
#define SI_3_BUTTON_2_BUFFER 0x002C
|
||||
|
||||
#define SI_JOY_POLL 0x0030
|
||||
|
||||
#define SI_CONTROL_STATUS 0x0034
|
||||
|
||||
#define SI_STATUS 0x0038
|
||||
|
||||
#define SI_EXI_CLOCK 0x003C
|
||||
|
||||
#define SI_IO_BUFFER 0x0080
|
||||
|
||||
#endif // PRIVATE_HOLLYWOOD_FLIPPER_SI_REGS_H
|
||||
55
libs/RVL_SDK/include/private/hollywood/flipper/vi_reg.h
Normal file
55
libs/RVL_SDK/include/private/hollywood/flipper/vi_reg.h
Normal file
@@ -0,0 +1,55 @@
|
||||
#ifndef PRIVATE_HOLLYWOOD_FLIPPER_VI_REGS_H
|
||||
#define PRIVATE_HOLLYWOOD_FLIPPER_VI_REGS_H
|
||||
|
||||
#define VI_VERTICAL_TIME 0x0000
|
||||
|
||||
#define VI_DISPLAY_CONFIG 0x0002
|
||||
|
||||
#define VI_HORIZONTAL_TIME0 0x0004
|
||||
#define VI_HORIZONTAL_TIME1 0x0008
|
||||
|
||||
#define VI_VERTICAL_TIME_ODD_FIELD 0x000C
|
||||
#define VI_VERTICAL_TIME_EVEN_FIELD 0x0010
|
||||
|
||||
#define VI_BURST_BLANK_ODD_FIELD 0x0014
|
||||
#define VI_BURST_BLANK_EVEN_FIELD 0x0018
|
||||
|
||||
#define VI_TOP_FIELD_BASE_L 0x001C
|
||||
#define VI_TOP_FIELD_BASE_R 0x0020
|
||||
|
||||
#define VI_BOTTOM_FIELD_BASE_L 0x0024
|
||||
#define VI_BOTTOM_FIELD_BASE_R 0x0028
|
||||
|
||||
#define VI_VERTICAL_POSITION 0x002C
|
||||
#define VI_HORIZONTAL_POSITION 0x002E
|
||||
|
||||
#define VI_DISPLAY_INTERRUPT_0 0x0030
|
||||
#define VI_DISPLAY_INTERRUPT_1 0x0034
|
||||
#define VI_DISPLAY_INTERRUPT_2 0x0038
|
||||
#define VI_DISPLAY_INTERRUPT_3 0x003C
|
||||
|
||||
#define VI_DISPLAY_L_INTERRUPT_0 0x0040
|
||||
#define VI_DISPLAY_L_INTERRUPT_1 0x0044
|
||||
|
||||
#define VI_SCALE_WIDTH 0x0048
|
||||
#define VI_HORIZONTAL_SCALE 0x004A
|
||||
|
||||
#define VI_FILTER_TABLE_0 0x004C
|
||||
#define VI_FILTER_TABLE_1 0x0050
|
||||
#define VI_FILTER_TABLE_2 0x0054
|
||||
#define VI_FILTER_TABLE_3 0x0058
|
||||
#define VI_FILTER_TABLE_4 0x005C
|
||||
#define VI_FILTER_TABLE_5 0x0060
|
||||
#define VI_FILTER_TABLE_6 0x0064
|
||||
|
||||
#define VI_UNKNOWN_AA_STUFF 0x0068
|
||||
|
||||
#define VI_CLOCK_SELECT 0x006C
|
||||
#define VI_DTV_STATUS 0x006E
|
||||
|
||||
#define VI_UNKNOWN_70 0x0070
|
||||
|
||||
#define VI_HBE_BOEDER 0x0072
|
||||
#define VI_HBS_BOEDER 0x0074
|
||||
|
||||
#endif // PRIVATE_HOLLYWOOD_FLIPPER_VI_REGS_H
|
||||
201
libs/RVL_SDK/include/private/hollywood/hw_reg.h
Normal file
201
libs/RVL_SDK/include/private/hollywood/hw_reg.h
Normal file
@@ -0,0 +1,201 @@
|
||||
#ifndef PRIVATE_HOLLYWOOD_REGISTERS_H
|
||||
#define PRIVATE_HOLLYWOOD_REGISTERS_H
|
||||
|
||||
#include <revolution/os.h>
|
||||
|
||||
#include <private/bus.h>
|
||||
|
||||
#define __hw_set_bit(x, b) SET_FLAG(x, b)
|
||||
#define __hw_clear_bit(x, b) CLEAR_FLAG(x, b)
|
||||
#define __hw_has_bit(x, b) HAS_FLAG(x, b)
|
||||
|
||||
/* IPC */
|
||||
#define HW_IPC_PPCMSG 0x000
|
||||
#define HW_IPC_PPCCTRL 0x004
|
||||
#define HW_IPC_ARMMSG 0x008
|
||||
#define HW_IPC_ARMCTRL 0x00C
|
||||
|
||||
/* IOP (Starlet) Timer */
|
||||
#define HW_TIMER 0x010
|
||||
#define HW_ALARM 0x014
|
||||
|
||||
/* Video related */
|
||||
#define HW_VI1CFG 0x018
|
||||
#define HW_VIDIM 0x01C
|
||||
#define HW_VISOLID 0x024
|
||||
|
||||
/* IRQ Controllers */
|
||||
#define HW_PPCIRQFLAG 0x030
|
||||
#define HW_PPCIRQMASK 0x034
|
||||
#define HW_ARMIRQFLAG 0x038
|
||||
#define HW_ARMIRQMASK 0x03C
|
||||
#define HW_ARMFIQMASK 0x040
|
||||
#define HW_IOPINTPPC 0x044
|
||||
#define HW_WDGINTSTS 0x048
|
||||
#define HW_WDGCFG 0x04C
|
||||
#define HW_DMAADRINTSTS 0x050
|
||||
#define HW_CPUADRINTSTS 0x054
|
||||
#define HW_DBGINTSTS 0x058
|
||||
#define HW_DBGINTEN 0x05C
|
||||
|
||||
/* Bus controlling */
|
||||
#define HW_SRNPROT 0x060
|
||||
#define HW_AHBPROT 0x064
|
||||
|
||||
#define HW_I2CIOPINTEN 0x068
|
||||
#define HW_I2CIOPINTSTS 0x06C
|
||||
|
||||
#define HW_AIPPROT 0x070
|
||||
#define HW_AIPIOCTRL 0x074
|
||||
|
||||
#define HW_VIINTEN 0x078
|
||||
#define HW_VIINTSTS 0x07C
|
||||
|
||||
/* USB related */
|
||||
#define HW_USBDBG0 0x080
|
||||
#define HW_USBDBG1 0x084
|
||||
#define HW_USBFRCRST 0x088
|
||||
#define HW_USBIOTEST 0x08C
|
||||
|
||||
/* "Embedded logic-analyzer" stuff */
|
||||
#define HW_ELA_REG_ADDR 0x090
|
||||
#define HW_ELA_REG_DATA 0x094
|
||||
|
||||
#define HW_MEMTSTN 0x098
|
||||
#define HW_MEMTSTP 0x09C
|
||||
|
||||
/* Hollywood GPIOs */
|
||||
#define HW_GPIOB_OUT 0x0C0
|
||||
#define HW_GPIOB_DIR 0x0C4
|
||||
#define HW_GPIOB_IN 0x0C8
|
||||
#define HW_GPIOB_INTLVL 0x0CC
|
||||
#define HW_GPIOB_INTFLAG 0x0D0
|
||||
#define HW_GPIOB_INTMASK 0x0D4
|
||||
#define HW_GPIOB_STRAPS 0x0D8
|
||||
#define HW_GPIO_ENABLE 0x0DC
|
||||
#define HW_GPIO_OUT 0x0E0
|
||||
#define HW_GPIO_DIR 0x0E4
|
||||
#define HW_GPIO_IN 0x0E8
|
||||
#define HW_GPIO_INTLVL 0x0EC
|
||||
#define HW_GPIO_INTFLAG 0x0F0
|
||||
#define HW_GPIO_INTMASK 0x0F4
|
||||
#define HW_GPIO_STRAPS 0x0F8
|
||||
#define HW_GPIO_OWNER 0x0FC
|
||||
|
||||
/* AHB related? */
|
||||
#define HW_ARB_CFG_M0 0x100
|
||||
#define HW_ARB_CFG_M1 0x104
|
||||
#define HW_ARB_CFG_M2 0x108
|
||||
#define HW_ARB_CFG_M3 0x10C
|
||||
#define HW_ARB_CFG_M4 0x110
|
||||
#define HW_ARB_CFG_M5 0x114
|
||||
#define HW_ARB_CFG_M6 0x118
|
||||
#define HW_ARB_CFG_M7 0x11C
|
||||
#define HW_ARB_CFG_M8 0x120
|
||||
#define HW_ARB_CFG_M9 0x124
|
||||
#define HW_ARB_CFG_MA 0x128 /* \ Not documented anywhere but assuming they exist */
|
||||
#define HW_ARB_CFG_MB 0x12C /* / */
|
||||
#define HW_ARB_CFG_MC 0x130
|
||||
#define HW_ARB_CFG_MD 0x134
|
||||
#define HW_ARB_CFG_ME 0x138
|
||||
#define HW_ARB_CFG_MF 0x13C
|
||||
#define HW_ARB_CFG_CPU 0x140
|
||||
#define HW_ARB_CFG_DMA 0x144
|
||||
#define HW_ARB_PCNTCFG 0x148
|
||||
#define HW_ARB_PCNTSTS 0x14C
|
||||
|
||||
#define HW_I2CSCTRL 0x150
|
||||
#define HW_I2CSSTS 0x154
|
||||
#define HW_I2CSRDEN 0x158
|
||||
#define HW_I2CSTRAP 0x160
|
||||
#define HW_I2CSCTRL_MIRROR 0x164 /* Apparently */
|
||||
#define HW_I2CSVISETYUV 0x168
|
||||
#define HW_I2CSVISETFILT 0x16C
|
||||
|
||||
#define HW_SPARE2 0x170
|
||||
#define HW_SPARE3 0x174
|
||||
|
||||
/* Some system related stuff */
|
||||
#define HW_COMPAT 0x180
|
||||
#define HW_RESET_AHB 0x184
|
||||
#define HW_SPARE0 0x188
|
||||
#define HW_BOOT0 0x18C
|
||||
#define HW_CLOCKS 0x190
|
||||
#define HW_RESETS 0x194
|
||||
#define HW_IFPOWER 0x198
|
||||
|
||||
/* PLL/Clock related(?) */
|
||||
#define HW_PLLDR 0x19C
|
||||
#define HW_PLLSYSEXT1 0x1A0
|
||||
#define HW_PLLSYSEXT2 0x1A4
|
||||
#define HW_PLLAIEXT1 0x1A8
|
||||
#define HW_PLLATEXT2 0x1AC
|
||||
#define HW_PLLSYS 0x1B0
|
||||
#define HW_PLLSYSEXT 0x1B4
|
||||
#define HW_PLLDSK 0x1B8
|
||||
#define HW_PLLDDR 0x1BC
|
||||
#define HW_PLLDDREXT 0x1C0
|
||||
#define HW_PLLVI 0x1C4
|
||||
#define HW_PLLVIEXT 0x1C8
|
||||
#define HW_PLLAI 0x1CC
|
||||
|
||||
#define HW_PLLAIEXT 0x1D0
|
||||
#define HW_PLLAIEXT_PLL_A 30
|
||||
#define HW_PLLAIEXT_PLL_B 31
|
||||
|
||||
#define HW_PLLUSB 0x1D4
|
||||
#define HW_PLLUSBEXT 0x1D8
|
||||
|
||||
#define HW_IOPWRCTRL 0x1DC
|
||||
|
||||
/* More clock related? */
|
||||
#define HW_IOSTRCTRL0 0x1E0
|
||||
#define HW_IOSTRCTRL1 0x1E4
|
||||
#define HW_CLKSTRCTRL 0x1E8
|
||||
|
||||
/* OTP related */
|
||||
#define HW_OTPCMD 0x1EC
|
||||
#define HW_OTPDATA 0x1F0
|
||||
|
||||
/* Debug related */
|
||||
#define HW_DBGCLK 0x1F4
|
||||
#define HW_OBSCLKOCTRL 0x1F8
|
||||
#define HW_OBSCLKICTRL 0x1FC
|
||||
#define HW_DBGPORT 0x200
|
||||
|
||||
/* SI Related */
|
||||
#define HW_SICLKDIV 0x204
|
||||
#define HW_SICTRL 0x208
|
||||
#define HW_SIDATA 0x20C
|
||||
#define HW_SIINT 0x210
|
||||
|
||||
#define HW_VERSION 0x214
|
||||
|
||||
#define HW_DBGBUSRD 0x218
|
||||
|
||||
/* Hollywood Registers Maros */
|
||||
|
||||
#define ACR_REG_ADDRESS 0x0D000000
|
||||
vu32 __ACRRegs[256] ADDRESS(OS_BASE_UNCACHED + ACR_REG_ADDRESS);
|
||||
|
||||
#define ACR_WRITE_REG32(x, v) __ACRRegs[x >> 2] = v
|
||||
#define ACR_READ_REG32(x) __ACRRegs[x >> 2]
|
||||
|
||||
#define ACR_SET_REG_F(x, v) __hw_set_bit (__ACRRegs[x >> 2], v)
|
||||
#define ACR_DEL_REG_F(x, v) __hw_clear_bit(__ACRRegs[x >> 2], v)
|
||||
#define ACR_HAS_REG_F(x, v) __hw_has_bit (__ACRRegs[x >> 2], v)
|
||||
|
||||
// From the PPC, this would do nothing different and act the same as `__ACRRegs`.
|
||||
// But the SDK, which is from the PPC, still chooses to use this.
|
||||
|
||||
#define AHB_TRUSTED_OFFSET 0x00800000
|
||||
vu32 __ACRIOPRegs[256] ADDRESS(OS_BASE_UNCACHED + ACR_REG_ADDRESS + AHB_TRUSTED_OFFSET);
|
||||
|
||||
#define ACRIOP_WRITE_REG32(x, v) __ACRIOPRegs[x >> 2] = v
|
||||
#define ACRIOP_READ_REG32(x) __ACRIOPRegs[x >> 2]
|
||||
|
||||
#define ACRIOP_SET_REG_F(x, v) __hw_set_bit (__ACRIOPRegs[x >> 2], v)
|
||||
#define ACRIOP_DEL_REG_F(x, v) __hw_clear_bit(__ACRIOPRegs[x >> 2], v)
|
||||
#define ACRIOP_HAS_REG_F(x, v) __hw_has_bit (__ACRIOPRegs[x >> 2], v)
|
||||
|
||||
#endif // PRIVATE_HOLLYWOOD_REGISTERS_H
|
||||
8
libs/RVL_SDK/include/private/ios.h
Normal file
8
libs/RVL_SDK/include/private/ios.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef PRIVATE_IOS_H
|
||||
#define PRIVATE_IOS_H
|
||||
|
||||
#include <private/ios/types.h>
|
||||
|
||||
#include <private/ios/clt.h>
|
||||
|
||||
#endif // PRIVATE_IPC_PRIVATE_IOS_HH
|
||||
22
libs/RVL_SDK/include/private/ios/clt.h
Normal file
22
libs/RVL_SDK/include/private/ios/clt.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef PRIVATE_IOS_CLT_H
|
||||
#define PRIVATE_IOS_CLT_H
|
||||
|
||||
#include <private/ios/types.h>
|
||||
|
||||
typedef struct IOSIoVector {
|
||||
u8* base; // 0x00
|
||||
u32 length; // 0x04
|
||||
} IOSIoVector;
|
||||
|
||||
typedef IOSError (*IOSIpcCb)(IOSError ret, void *context);
|
||||
|
||||
IOSError IOS_Open(const char *path, u32 flags);
|
||||
|
||||
IOSError IOS_Ioctlv(IOSFd fd, s32 cmd, u32 readCount, u32 writeCount, IOSIoVector* vector);
|
||||
IOSError IOS_IoctlvAsync(IOSFd fd, s32 cmd, u32 readCount, u32 writeCount, IOSIoVector* vector, IOSIpcCb cb, void* cbArg);
|
||||
|
||||
IOSError IOS_Ioctl(IOSFd fd, s32 cmd, void* input, u32 inputLen, void* output, u32 outputLen);
|
||||
IOSError IOS_IoctlAsync(IOSFd fd, s32 cmd, void* input, u32 inputLen, void* output, u32 outputLen, IOSIpcCb cb, void* cbArg);
|
||||
|
||||
|
||||
#endif // PRIVATE_IOS_CLT_H
|
||||
9
libs/RVL_SDK/include/private/ios/types.h
Normal file
9
libs/RVL_SDK/include/private/ios/types.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef PRIVATE_IOS_TYPES_H
|
||||
#define PRIVATE_IOS_TYPES_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
typedef s32 IOSError;
|
||||
typedef s32 IOSFd;
|
||||
|
||||
#endif // PRIVATE_IOS_TYPES_H
|
||||
8
libs/RVL_SDK/include/private/ipc.h
Normal file
8
libs/RVL_SDK/include/private/ipc.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef PRIVATE_IPC_H
|
||||
#define PRIVATE_IPC_H
|
||||
|
||||
#include <private/ios.h>
|
||||
|
||||
#include <private/ipc/clt.h>
|
||||
|
||||
#endif // PRIVATE_IPC_H
|
||||
11
libs/RVL_SDK/include/private/ipc/clt.h
Normal file
11
libs/RVL_SDK/include/private/ipc/clt.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef PRIVATE_IPC_CLT_H
|
||||
#define PRIVATE_IPC_CLT_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#include <private/ios/clt.h>
|
||||
#include <private/ios/types.h>
|
||||
|
||||
void IPCCltInit();
|
||||
|
||||
#endif // PRIVATE_IPC_CLT_H
|
||||
92
libs/RVL_SDK/include/private/os.h
Normal file
92
libs/RVL_SDK/include/private/os.h
Normal file
@@ -0,0 +1,92 @@
|
||||
#ifndef PRIVATE_OS_H
|
||||
#define PRIVATE_OS_H
|
||||
|
||||
#include <revolution/os.h>
|
||||
|
||||
#include <revolution/os/OSMemMap.h>
|
||||
#include <revolution/os/OSLink.h>
|
||||
|
||||
#include <private/os/OSInterrupt.h>
|
||||
#include <private/os/OSAudioSystem.h>
|
||||
#include <private/os/OSError.h>
|
||||
#include <private/os/OSExec.h>
|
||||
#include <private/os/OSIpc.h>
|
||||
#include <private/os/OSSram.h>
|
||||
#include <private/os/OSRtc.h>
|
||||
#include <private/os/OSSync.h>
|
||||
#include <private/os/OSReset.h>
|
||||
#include <private/os/OSStateTM.h>
|
||||
#include <private/os/OSThread.h>
|
||||
#include <private/os/OSMutex.h>
|
||||
#include <private/os/OSTime.h>
|
||||
#include <private/os/OSPlayRecord.h>
|
||||
#include <private/os/OSPlayTime.h>
|
||||
#include <private/os/OSBootInfo2.h>
|
||||
#include <private/os/OSNandbootInfo.h>
|
||||
#include <private/os/OSStateFlags.h>
|
||||
|
||||
/* Global declarations */
|
||||
|
||||
extern BOOL __OSInIPL;
|
||||
extern BOOL __OSInReboot;
|
||||
extern BOOL __OSInNandBoot;
|
||||
extern BOOL __OSIsGcam;
|
||||
|
||||
extern OSExecParams __OSRebootParams;
|
||||
|
||||
/* Global declarations in ram */
|
||||
|
||||
volatile OSContext* __OSCurrentContext ADDRESS(OS_BASE_CACHED | OS_ADDR_CURRENT_CONTEXT);
|
||||
volatile OSContext* __OSFPUContext ADDRESS(OS_BASE_CACHED | OS_ADDR_CURRENT_FPU_CONTEXT);
|
||||
|
||||
OSThreadQueue __OSActiveThreadQueue ADDRESS(OS_BASE_CACHED | OS_ADDR_ACTIVE_THREAD_QUEUE);
|
||||
OSThread* __OSCurrentThread ADDRESS(OS_BASE_CACHED | OS_ADDR_CURRENT_THREAD);
|
||||
|
||||
vu16 __OSDeviceCode ADDRESS(OS_BASE_CACHED | OS_ADDR_DEVICE_CODE);
|
||||
|
||||
OSModuleQueue __OSModuleInfoList ADDRESS(OS_BASE_CACHED | OS_ADDR_LINK_MODULE_LIST);
|
||||
const void* __OSStringTable ADDRESS(OS_BASE_CACHED | OS_ADDR_LINK_STRING_TABLE);
|
||||
|
||||
OSExecParams* __OSExecParamsAddr ADDRESS(OS_BASE_CACHED | OS_ADDR_LAUNCH_EXEC_PARAMS);
|
||||
|
||||
OSTime __OSSystemTime ADDRESS(OS_BASE_CACHED | OS_ADDR_SYSTEM_TIME);
|
||||
|
||||
/* Revision get */
|
||||
|
||||
u32 __OSGetHollywoodRev();
|
||||
|
||||
typedef struct OSIOSRev {
|
||||
u8 reserved; // 0x00
|
||||
u8 major; // 0x01
|
||||
u8 minor; // 0x02
|
||||
u8 micro; // 0x03
|
||||
u8 month; // 0x04
|
||||
u8 date; // 0x05
|
||||
u16 year; // 0x06
|
||||
} OSIOSRev;
|
||||
|
||||
void __OSGetIOSRev(OSIOSRev* iosRev);
|
||||
|
||||
/* Initialize subsystems */
|
||||
|
||||
void OSExceptionInit();
|
||||
|
||||
void __OSInitMemoryProtection();
|
||||
|
||||
void __OSInitAlarm();
|
||||
void __OSCacheInit();
|
||||
void __OSContextInit();
|
||||
void __OSInterruptInit();
|
||||
void __OSInitIPCBuffer();
|
||||
void __OSModuleInit();
|
||||
void __OSThreadInit();
|
||||
void __OSInitNet();
|
||||
void __OSInitPlayTime();
|
||||
|
||||
u32 __OSGetDIConfig();
|
||||
|
||||
/* Misc */
|
||||
|
||||
BOOL __OSSetVIForceDimming(BOOL enable, u32 shiftY, u32 shiftX);
|
||||
|
||||
#endif // PRIVATE_OS_H
|
||||
17
libs/RVL_SDK/include/private/os/OSAudioSystem.h
Normal file
17
libs/RVL_SDK/include/private/os/OSAudioSystem.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef PRIVATE_OS_AUDIO_SYSTEM_H
|
||||
#define PRIVATE_OS_AUDIO_SYSTEM_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void __OSInitAudioSystem();
|
||||
void __OSStopAudioSystem();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_AUDIO_SYSTEM_H
|
||||
33
libs/RVL_SDK/include/private/os/OSBootInfo2.h
Normal file
33
libs/RVL_SDK/include/private/os/OSBootInfo2.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#ifndef PRIVATE_OS_BOOT_INFO_2_H
|
||||
#define PRIVATE_OS_BOOT_INFO_2_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
#include <revolution/os/OSMemMap.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define BI2_SIZE 0x2000
|
||||
|
||||
#define BI2_ADDR OS_ADDR_BOOT_INFO_2
|
||||
|
||||
#define BI2_OFFSET_DBMONITORSIZE 0x0000
|
||||
#define BI2_OFFSET_SIMULATEDMEM1SIZE 0x0004
|
||||
#define BI2_OFFSET_ARGOFFSET 0x0008
|
||||
#define BI2_OFFSET_DEBUGFLAG 0x000C
|
||||
#define BI2_OFFSET_TRACKLOCATION 0x0010
|
||||
#define BI2_OFFSET_TRACKSIZE 0x0014
|
||||
#define BI2_OFFSET_COUNTRYCODE 0x0018
|
||||
#define BI2_OFFSET_PADSPEC 0x0024
|
||||
#define BI2_OFFSET_CODELIMIT 0x0028
|
||||
#define BI2_OFFSET_SIMULATEDMEM2SIZE 0x002C
|
||||
#define BI2_OFFSET_NANDBOOT 0x0FE0
|
||||
|
||||
#define BI2_OFFSET_ARGS BI2_SIZE
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_BOOT_INFO_2_H
|
||||
27
libs/RVL_SDK/include/private/os/OSError.h
Normal file
27
libs/RVL_SDK/include/private/os/OSError.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef PRIVATE_OS_ERROR_H
|
||||
#define PRIVATE_OS_ERROR_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#include <revolution/os/OSError.h>
|
||||
|
||||
#include <revolution/base/PPCArch.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern OSErrorHandler __OSErrorTable[OS_EXCEPTION_MAX];
|
||||
extern u32 __OSFpscrEnableBits;
|
||||
|
||||
#define FPSCR_ENABLE (FPSCR_VE | FPSCR_OE | FPSCR_UE | FPSCR_ZE | FPSCR_XE)
|
||||
|
||||
#define OS_FPSCR_ENABLE (__OSFpscrEnableBits & FPSCR_ENABLE)
|
||||
|
||||
void __OSUnhandledException(__OSException exception, OSContext* context, u32 dsisr, u32 dar);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_ERROR_H
|
||||
48
libs/RVL_SDK/include/private/os/OSExec.h
Normal file
48
libs/RVL_SDK/include/private/os/OSExec.h
Normal file
@@ -0,0 +1,48 @@
|
||||
#ifndef PRIVATE_OS_EXEC_H
|
||||
#define PRIVATE_OS_EXEC_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#include <revolution/esp.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OSExecParams {
|
||||
BOOL valid; // 0x00
|
||||
|
||||
u32 restartCode; // 0x04
|
||||
u32 bootDol; // 0x08
|
||||
|
||||
void* regionStart; // 0x0C
|
||||
void* regionEnd; // 0x10
|
||||
|
||||
BOOL argsUseDefault; // 0x14
|
||||
void* argsAddr; // 0x18
|
||||
} OSExecParams;
|
||||
|
||||
#define EXEC_WORK_ARENA_LO ((void*)0x81280000)
|
||||
#define EXEC_WORK_ARENA_HI ((void*)0x812F0000)
|
||||
|
||||
#define EXEC_SYSTEM_MENU_ID 0x0000000100000002
|
||||
|
||||
void __OSGetExecParams(OSExecParams *params);
|
||||
BOOL __OSCheckCompanyCode(ESTitleId titleId, BOOL diskApp);
|
||||
BOOL __OSCheckTmdCountryCode(ESTmdView* tmd);
|
||||
|
||||
int __OSGetValidTicketIndex(ESTicketView *ticketViewList, u32 numTickets);
|
||||
|
||||
void __OSLaunchMenu();
|
||||
void __OSLaunchTitle(ESTitleId titleId);
|
||||
|
||||
void __OSLaunchTitlevForSystem(ESTitleId titleId, u32 launchCode, const char** argv);
|
||||
void __OSLaunchTitlelForSystem(ESTitleId titleId, u32 launchCode, const char* arg0, ...);
|
||||
|
||||
void __OSReturnToMenul(u32 launchArg, const char *arg0, ...);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_EXEC_H
|
||||
174
libs/RVL_SDK/include/private/os/OSInterrupt.h
Normal file
174
libs/RVL_SDK/include/private/os/OSInterrupt.h
Normal file
@@ -0,0 +1,174 @@
|
||||
|
||||
|
||||
#ifndef PRIVATE_OS_INTERRUPT_H
|
||||
#define PRIVATE_OS_INTERRUPT_H
|
||||
|
||||
#include <decomp.h>
|
||||
|
||||
#include <revolution/types.h>
|
||||
#include <revolution/os/OSContext.h>
|
||||
#include <revolution/os/OSException.h>
|
||||
#include <revolution/os/OSTime.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum {
|
||||
__OS_INTERRUPT_MEM_0 = 0,
|
||||
__OS_INTERRUPT_MEM_1,
|
||||
__OS_INTERRUPT_MEM_2,
|
||||
__OS_INTERRUPT_MEM_3,
|
||||
__OS_INTERRUPT_MEM_ADDRESS,
|
||||
__OS_INTERRUPT_DSP_AI,
|
||||
__OS_INTERRUPT_DSP_ARAM,
|
||||
__OS_INTERRUPT_DSP_DSP,
|
||||
__OS_INTERRUPT_AI_AI,
|
||||
__OS_INTERRUPT_EXI_0_EXI,
|
||||
__OS_INTERRUPT_EXI_0_TC,
|
||||
__OS_INTERRUPT_EXI_0_EXT,
|
||||
__OS_INTERRUPT_EXI_1_EXI,
|
||||
__OS_INTERRUPT_EXI_1_TC,
|
||||
__OS_INTERRUPT_EXI_1_EXT,
|
||||
__OS_INTERRUPT_EXI_2_EXI,
|
||||
__OS_INTERRUPT_EXI_2_TC,
|
||||
__OS_INTERRUPT_PI_CP,
|
||||
__OS_INTERRUPT_PI_PE_TOKEN,
|
||||
__OS_INTERRUPT_PI_PE_FINISH,
|
||||
__OS_INTERRUPT_PI_SI,
|
||||
__OS_INTERRUPT_PI_DI,
|
||||
__OS_INTERRUPT_PI_RSW,
|
||||
__OS_INTERRUPT_PI_ERROR,
|
||||
__OS_INTERRUPT_PI_VI,
|
||||
__OS_INTERRUPT_PI_DEBUG,
|
||||
__OS_INTERRUPT_PI_HSP,
|
||||
__OS_INTERRUPT_PI_ACR,
|
||||
|
||||
__OS_INTERRUPT_MAX = 32
|
||||
};
|
||||
|
||||
#define OS_INTERRUPTMASK(intr) (1 << (31 - intr))
|
||||
|
||||
/* Memory Interface */
|
||||
|
||||
#define OS_INTERRUPTMASK_MEM_0 OS_INTERRUPTMASK(__OS_INTERRUPT_MEM_0)
|
||||
#define OS_INTERRUPTMASK_MEM_1 OS_INTERRUPTMASK(__OS_INTERRUPT_MEM_1)
|
||||
#define OS_INTERRUPTMASK_MEM_2 OS_INTERRUPTMASK(__OS_INTERRUPT_MEM_2)
|
||||
#define OS_INTERRUPTMASK_MEM_3 OS_INTERRUPTMASK(__OS_INTERRUPT_MEM_3)
|
||||
#define OS_INTERRUPTMASK_MEM_ADDRESS OS_INTERRUPTMASK(__OS_INTERRUPT_MEM_ADDRESS)
|
||||
|
||||
#define OS_INTERRUPTMASK_MEM_RESET (OS_INTERRUPTMASK_MEM_0 | \
|
||||
OS_INTERRUPTMASK_MEM_1 | \
|
||||
OS_INTERRUPTMASK_MEM_2 | \
|
||||
OS_INTERRUPTMASK_MEM_3)
|
||||
#define OS_INTERRUPTMASK_MEM (OS_INTERRUPTMASK_MEM_0 | \
|
||||
OS_INTERRUPTMASK_MEM_1 | \
|
||||
OS_INTERRUPTMASK_MEM_2 | \
|
||||
OS_INTERRUPTMASK_MEM_3 | \
|
||||
OS_INTERRUPTMASK_MEM_ADDRESS)
|
||||
|
||||
/* DSP */
|
||||
|
||||
#define OS_INTERRUPTMASK_DSP_AI OS_INTERRUPTMASK(__OS_INTERRUPT_DSP_AI)
|
||||
#define OS_INTERRUPTMASK_DSP_ARAM OS_INTERRUPTMASK(__OS_INTERRUPT_DSP_ARAM)
|
||||
#define OS_INTERRUPTMASK_DSP_DSP OS_INTERRUPTMASK(__OS_INTERRUPT_DSP_DSP)
|
||||
|
||||
#define OS_INTERRUPTMASK_DSP (OS_INTERRUPTMASK_DSP_AI | \
|
||||
OS_INTERRUPTMASK_DSP_ARAM | \
|
||||
OS_INTERRUPTMASK_DSP_DSP)
|
||||
|
||||
/* Audio Interface */
|
||||
|
||||
#define OS_INTERRUPTMASK_AI_AI OS_INTERRUPTMASK(__OS_INTERRUPT_AI_AI)
|
||||
|
||||
#define OS_INTERRUPTMASK_AI (OS_INTERRUPTMASK_AI_AI)
|
||||
|
||||
/* External interface */
|
||||
|
||||
#define OS_INTERRUPTMASK_EXI_0_EXI OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_0_EXI)
|
||||
#define OS_INTERRUPTMASK_EXI_0_TC OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_0_TC)
|
||||
#define OS_INTERRUPTMASK_EXI_0_EXT OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_0_EXT)
|
||||
|
||||
#define OS_INTERRUPTMASK_EXI_0 (OS_INTERRUPTMASK_EXI_0_EXI | \
|
||||
OS_INTERRUPTMASK_EXI_0_TC | \
|
||||
OS_INTERRUPTMASK_EXI_0_EXT)
|
||||
|
||||
#define OS_INTERRUPTMASK_EXI_1_EXI OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_1_EXI)
|
||||
#define OS_INTERRUPTMASK_EXI_1_TC OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_1_TC)
|
||||
#define OS_INTERRUPTMASK_EXI_1_EXT OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_1_EXT)
|
||||
|
||||
#define OS_INTERRUPTMASK_EXI_1 (OS_INTERRUPTMASK_EXI_1_EXI | \
|
||||
OS_INTERRUPTMASK_EXI_1_TC | \
|
||||
OS_INTERRUPTMASK_EXI_1_EXT)
|
||||
|
||||
#define OS_INTERRUPTMASK_EXI_2_EXI OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_2_EXI)
|
||||
#define OS_INTERRUPTMASK_EXI_2_TC OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_2_TC)
|
||||
#define OS_INTERRUPTMASK_EXI_2 (OS_INTERRUPTMASK_EXI_2_EXI | \
|
||||
OS_INTERRUPTMASK_EXI_2_TC)
|
||||
|
||||
#define OS_INTERRUPTMASK_EXI (OS_INTERRUPTMASK_EXI_0_EXI | \
|
||||
OS_INTERRUPTMASK_EXI_0_TC | \
|
||||
OS_INTERRUPTMASK_EXI_0_EXT | \
|
||||
OS_INTERRUPTMASK_EXI_1_EXI | \
|
||||
OS_INTERRUPTMASK_EXI_1_TC | \
|
||||
OS_INTERRUPTMASK_EXI_1_EXT | \
|
||||
OS_INTERRUPTMASK_EXI_2_EXI | \
|
||||
OS_INTERRUPTMASK_EXI_2_TC)
|
||||
|
||||
/* Processor interface */
|
||||
|
||||
#define OS_INTERRUPTMASK_PI_PE_TOKEN OS_INTERRUPTMASK(__OS_INTERRUPT_PI_PE_TOKEN)
|
||||
#define OS_INTERRUPTMASK_PI_PE_FINISH OS_INTERRUPTMASK(__OS_INTERRUPT_PI_PE_FINISH)
|
||||
|
||||
#define OS_INTERRUPTMASK_PI_PE (OS_INTERRUPTMASK_PI_PE_TOKEN | \
|
||||
OS_INTERRUPTMASK_PI_PE_FINISH)
|
||||
|
||||
#define OS_INTERRUPTMASK_PI_CP OS_INTERRUPTMASK(__OS_INTERRUPT_PI_CP)
|
||||
#define OS_INTERRUPTMASK_PI_SI OS_INTERRUPTMASK(__OS_INTERRUPT_PI_SI)
|
||||
#define OS_INTERRUPTMASK_PI_DI OS_INTERRUPTMASK(__OS_INTERRUPT_PI_DI)
|
||||
#define OS_INTERRUPTMASK_PI_RSW OS_INTERRUPTMASK(__OS_INTERRUPT_PI_RSW)
|
||||
#define OS_INTERRUPTMASK_PI_ERROR OS_INTERRUPTMASK(__OS_INTERRUPT_PI_ERROR)
|
||||
#define OS_INTERRUPTMASK_PI_VI OS_INTERRUPTMASK(__OS_INTERRUPT_PI_VI)
|
||||
#define OS_INTERRUPTMASK_PI_DEBUG OS_INTERRUPTMASK(__OS_INTERRUPT_PI_DEBUG)
|
||||
#define OS_INTERRUPTMASK_PI_HSP OS_INTERRUPTMASK(__OS_INTERRUPT_PI_HSP)
|
||||
#define OS_INTERRUPTMASK_PI_ACR OS_INTERRUPTMASK(__OS_INTERRUPT_PI_ACR)
|
||||
|
||||
#define OS_INTERRUPTMASK_PI (OS_INTERRUPTMASK_PI_CP | \
|
||||
OS_INTERRUPTMASK_PI_SI | \
|
||||
OS_INTERRUPTMASK_PI_DI | \
|
||||
OS_INTERRUPTMASK_PI_RSW | \
|
||||
OS_INTERRUPTMASK_PI_ERROR | \
|
||||
OS_INTERRUPTMASK_PI_VI | \
|
||||
OS_INTERRUPTMASK_PI_PE_TOKEN | \
|
||||
OS_INTERRUPTMASK_PI_PE_FINISH | \
|
||||
OS_INTERRUPTMASK_PI_DEBUG | \
|
||||
OS_INTERRUPTMASK_PI_HSP | \
|
||||
OS_INTERRUPTMASK_PI_ACR)
|
||||
#define OS_INTERRUPTMASK_INVALID 0xFFFFFFFF
|
||||
|
||||
typedef u32 OSInterruptMask;
|
||||
typedef s16 __OSInterrupt;
|
||||
|
||||
extern volatile OSTime __OSLastInterruptTime;
|
||||
extern volatile __OSInterrupt __OSLastInterrupt;
|
||||
extern volatile OSInterruptMask __OSLastInterruptSrr0;
|
||||
|
||||
typedef void (*__OSInterruptHandler)(__OSInterrupt interrupt, OSContext* context);
|
||||
|
||||
__OSInterruptHandler __OSSetInterruptHandler(__OSInterrupt interrupt, __OSInterruptHandler handler);
|
||||
|
||||
__OSInterruptHandler __OSGetInterruptHandler(__OSInterrupt interrupt);
|
||||
|
||||
void __OSDispatchInterrupt(__OSException exception, OSContext* context);
|
||||
|
||||
OSInterruptMask __OSMaskInterrupts(OSInterruptMask mask);
|
||||
OSInterruptMask __OSUnmaskInterrupts(OSInterruptMask mask);
|
||||
|
||||
extern void __RAS_OSDisableInterrupts_begin();
|
||||
extern void __RAS_OSDisableInterrupts_end();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_INTERRUPT_H
|
||||
17
libs/RVL_SDK/include/private/os/OSIpc.h
Normal file
17
libs/RVL_SDK/include/private/os/OSIpc.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef PRIVATE_OS_IPC_H
|
||||
#define PRIVATE_OS_IPC_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void* __OSGetIPCBufferHi();
|
||||
void* __OSGetIPCBufferLo();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_IPC_H
|
||||
20
libs/RVL_SDK/include/private/os/OSMutex.h
Normal file
20
libs/RVL_SDK/include/private/os/OSMutex.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef PRIVATE_OS_MUTEX_H
|
||||
#define PRIVATE_OS_MUTEX_H
|
||||
|
||||
#include <revolution/os/OSMutex.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void __OSUnlockAllMutex(OSThread* thread);
|
||||
|
||||
BOOL __OSCheckDeadLock(OSThread* thread);
|
||||
BOOL __OSCheckMutex(OSMutex* mutex);
|
||||
BOOL __OSCheckMutexes(OSThread* thread);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_MUTEX_H
|
||||
43
libs/RVL_SDK/include/private/os/OSNandbootInfo.h
Normal file
43
libs/RVL_SDK/include/private/os/OSNandbootInfo.h
Normal file
@@ -0,0 +1,43 @@
|
||||
#ifndef PRIVATE_OS_NANDBOOT_INFO_H
|
||||
#define PRIVATE_OS_NANDBOOT_INFO_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OSNandbootInfo {
|
||||
u32 checkSum; // 0x00
|
||||
u32 argsOff; // 0x04
|
||||
|
||||
u8 padding_0x08[2];
|
||||
|
||||
u8 prevAppType; // 0x0A
|
||||
u8 returnValue; // 0x0B
|
||||
|
||||
u32 argValue; // 0x0C
|
||||
|
||||
u8 padding_0x10[8];
|
||||
|
||||
u64 prevTitleId; // 0x18
|
||||
|
||||
u8 args[0x1000]; // 0x20
|
||||
} OSNandbootInfo;
|
||||
|
||||
enum {
|
||||
OS_NANDBOOT_RETURN_GAME = 2,
|
||||
OS_NANDBOOT_RETURN_MENU = 4,
|
||||
};
|
||||
|
||||
#define OS_NANDBOOT_CHECKSUM_SIZE (sizeof(OSNandbootInfo) - 4)
|
||||
|
||||
BOOL __OSCreateNandbootInfo();
|
||||
BOOL __OSWriteNandbootInfo(OSNandbootInfo* info);
|
||||
BOOL __OSReadNandbootInfo(OSNandbootInfo *info);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_NANDBOOT_INFO_H
|
||||
53
libs/RVL_SDK/include/private/os/OSPlayRecord.h
Normal file
53
libs/RVL_SDK/include/private/os/OSPlayRecord.h
Normal file
@@ -0,0 +1,53 @@
|
||||
#ifndef PRIVATE_OS_PLAY_RECORD_H
|
||||
#define PRIVATE_OS_PLAY_RECORD_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define OS_RECORD_NAND_PATH "/title/00000001/00000002/data/play_rec.dat"
|
||||
|
||||
#define OS_RECORD_CHECKSUM_SIZE (sizeof(OSPlayRecord) - 4)
|
||||
|
||||
#define OS_RECORD_TITLE_LENGTH 21
|
||||
|
||||
typedef struct OSPlayRecord {
|
||||
u32 checkSum; // 0x00
|
||||
wchar_t titleName[2][OS_RECORD_TITLE_LENGTH]; // 0x04
|
||||
|
||||
s64 playStartTime; // 0x58
|
||||
s64 playTime; // 0x60
|
||||
|
||||
char gameCode[4]; // 0x68
|
||||
char companyCode[2]; // 0x6C
|
||||
char padding[0x12]; // 0x6E
|
||||
} OSPlayRecord;
|
||||
|
||||
enum {
|
||||
OS_RECORD_STATE_STARTED = 0,
|
||||
OS_RECORD_STATE_OPEN,
|
||||
OS_RECORD_STATE_READ,
|
||||
OS_RECORD_STATE_SEEK,
|
||||
OS_RECORD_STATE_SET_ALARM,
|
||||
OS_RECORD_STATE_WRITE,
|
||||
OS_RECORD_STATE_CLOSE,
|
||||
OS_RECORD_STATE_CLOSED,
|
||||
OS_RECORD_STATE_TIMEOUT,
|
||||
OS_RECORD_STATE_STOPPED
|
||||
};
|
||||
|
||||
void __OSCreatePlayRecord(wchar_t* titleName, char* gameCode, char* companyCode);
|
||||
BOOL __OSReadPlayRecord(OSPlayRecord *record);
|
||||
|
||||
void __OSStartPlayRecord();
|
||||
void __OSStopPlayRecord();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_PLAY_RECORD_H
|
||||
26
libs/RVL_SDK/include/private/os/OSPlayTime.h
Normal file
26
libs/RVL_SDK/include/private/os/OSPlayTime.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef PRIVATE_OS_PLAYTIME_H
|
||||
#define PRIVATE_OS_PLAYTIME_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#include <revolution/os/OSAlarm.h>
|
||||
|
||||
#include <revolution/esp.h>
|
||||
|
||||
typedef enum OSPlayTimeType {
|
||||
OS_PLAYTIME_PERMANENT = 0,
|
||||
OS_PLAYTIME_TIME_LIMIT = 1,
|
||||
OS_PLAYTIME_LAUNCH_LIMIT = 4,
|
||||
OS_PLAYTIME_UNKNOWN = 9,
|
||||
} OSPlayTimeType;
|
||||
|
||||
typedef void (*OSPlayTimeCallbackFunc)();
|
||||
|
||||
BOOL __OSWriteExpiredFlag();
|
||||
BOOL __OSWriteExpiredFlagIfSet();
|
||||
|
||||
s32 __OSPlayTimeGetConsumption(ESTicketView *ticket, ESLpEntry *lpEntry, u32 *entries);
|
||||
|
||||
s32 __OSGetPlayTime(ESTicketView* ticket, OSPlayTimeType* type, u32* arg);
|
||||
|
||||
#endif // PRIVATE_OS_PLAYTIME_H
|
||||
33
libs/RVL_SDK/include/private/os/OSReset.h
Normal file
33
libs/RVL_SDK/include/private/os/OSReset.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#ifndef PRIVATE_OS_RESET_H
|
||||
#define PRIVATE_OS_RESET_H
|
||||
|
||||
#include <revolution/esp.h>
|
||||
|
||||
enum {
|
||||
OS_SHUTDOWN_STANDBY = 2, /* or idle */
|
||||
OS_SHUTDOWN_RESTART = 4,
|
||||
OS_SHUTDOWN_RETURN_MENU = 5,
|
||||
OS_SHUTDOWN_LAUNCH = 6,
|
||||
};
|
||||
|
||||
enum {
|
||||
OS_SETTING_NONE = 0,
|
||||
OS_SETTING_CALENDAR,
|
||||
OS_SETTING_DISPLAY,
|
||||
OS_SETTING_SOUND,
|
||||
OS_SETTING_PARENTAL_CONTROL,
|
||||
OS_SETTING_INTERNET,
|
||||
OS_SETTING_WIICONNECT24,
|
||||
OS_SETTING_UPDATE,
|
||||
};
|
||||
|
||||
BOOL __OSCallShutdownFunctions(BOOL final, u32 event);
|
||||
|
||||
void __OSShutdownDevices(u32 id);
|
||||
|
||||
void __OSReturnToMenuForError();
|
||||
void __OSHotResetForError();
|
||||
|
||||
u8 __OSGetDiscState(u8 prev);
|
||||
|
||||
#endif // PRIVATE_OS_RESET_H
|
||||
21
libs/RVL_SDK/include/private/os/OSRtc.h
Normal file
21
libs/RVL_SDK/include/private/os/OSRtc.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef PRIVATE_OS_RTC_H
|
||||
#define PRIVATE_OS_RTC_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
BOOL __OSSetRTC(u32 rtc);
|
||||
BOOL __OSGetRTC(u32* rtc);
|
||||
|
||||
BOOL __OSGetRTCFlags(u32* flags);
|
||||
|
||||
BOOL __OSClearRTCFlags();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_RTC_H
|
||||
60
libs/RVL_SDK/include/private/os/OSSram.h
Normal file
60
libs/RVL_SDK/include/private/os/OSSram.h
Normal file
@@ -0,0 +1,60 @@
|
||||
#ifndef PRIVATE_OS_SRAM_H
|
||||
#define PRIVATE_OS_SRAM_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct SramControl {
|
||||
u8 sram[64];
|
||||
u32 offset;
|
||||
BOOL enabled;
|
||||
BOOL locked;
|
||||
int sync;
|
||||
void (*callback)();
|
||||
} SramControl;
|
||||
|
||||
typedef struct OSSram {
|
||||
u16 checkSum;
|
||||
u16 checkSumInv;
|
||||
u32 ead0;
|
||||
u32 ead1;
|
||||
u32 counterBias;
|
||||
s8 displayOffsetH;
|
||||
u8 ntd;
|
||||
u8 language;
|
||||
u8 flags;
|
||||
} OSSram;
|
||||
|
||||
typedef struct OSSramEx {
|
||||
u8 flashID[2][12];
|
||||
u32 wirelessKeyboardID;
|
||||
u16 wirelessPadID[4];
|
||||
u8 dvdErrorCode;
|
||||
u8 reserved;
|
||||
u8 flashIDCheckSum[2];
|
||||
u16 gbs;
|
||||
u8 _pad1[2];
|
||||
} OSSramEx;
|
||||
|
||||
void __OSInitSram();
|
||||
|
||||
OSSram* __OSLockSram();
|
||||
OSSramEx* __OSLockSramEx();
|
||||
|
||||
BOOL __OSUnlockSram(int commit);
|
||||
BOOL __OSUnlockSramEx(int commit);
|
||||
|
||||
BOOL __OSSyncSram();
|
||||
|
||||
BOOL __OSCheckSram();
|
||||
|
||||
BOOL __OSReadROM(void * buffer, s32 length, s32 offset);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_SRAM_H
|
||||
23
libs/RVL_SDK/include/private/os/OSStateFlags.h
Normal file
23
libs/RVL_SDK/include/private/os/OSStateFlags.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef PRIVATE_OS_STATE_FLAGS_H
|
||||
#define PRIVATE_OS_STATE_FLAGS_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
typedef struct OSStateFlags {
|
||||
u32 checkSum;
|
||||
u8 lastBootApp;
|
||||
u8 lastShutdown;
|
||||
u8 lastDiscState;
|
||||
u8 menuMode;
|
||||
u8 padding[24];
|
||||
} OSStateFlags;
|
||||
|
||||
#define OS_STATE_FLAGS_NAND_PATH "/title/00000001/00000002/data/state.dat"
|
||||
|
||||
#define OS_STATE_FLAGS_CHECKSUM_SIZE (sizeof(OSStateFlags) - 4)
|
||||
|
||||
BOOL __OSCreateStateFlags();
|
||||
BOOL __OSWriteStateFlags(OSStateFlags* flags);
|
||||
BOOL __OSReadStateFlags(OSStateFlags* flags);
|
||||
|
||||
#endif // PRIVATE_OS_STATE_FLAGS_H
|
||||
32
libs/RVL_SDK/include/private/os/OSStateTM.h
Normal file
32
libs/RVL_SDK/include/private/os/OSStateTM.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#ifndef PRIVATE_OS_STATE_TM_H
|
||||
#define PRIVATE_OS_STATE_TM_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
#include <private/ios/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void __OSRegisterStateEvent();
|
||||
BOOL __OSGetResetButtonStateRaw();
|
||||
IOSError __OSUnRegisterStateEvent();
|
||||
|
||||
BOOL __OSInitSTM();
|
||||
|
||||
void __OSHotReset();
|
||||
|
||||
void __OSShutdownToSBY();
|
||||
void __OSShutdownToIDL();
|
||||
BOOL __OSSetVIForceDimming(BOOL enable, u32 shiftY, u32 shiftX);
|
||||
|
||||
s32 __OSSetIdleLEDMode(u32 mode);
|
||||
|
||||
s32 __OSUnRegisterStateEvent();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_STATE_TM_H
|
||||
10
libs/RVL_SDK/include/private/os/OSSync.h
Normal file
10
libs/RVL_SDK/include/private/os/OSSync.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef PRIVATE_OS_SYNC_H
|
||||
#define PRIVATE_OS_SYNC_H
|
||||
|
||||
#include <revolution/types.h>
|
||||
|
||||
extern void __OSSystemCallVectorStart();
|
||||
extern void __OSSystemCallVectorEnd();
|
||||
extern void __OSInitSystemCall();
|
||||
|
||||
#endif // PRIVATE_OS_SYNC_H
|
||||
15
libs/RVL_SDK/include/private/os/OSThread.h
Normal file
15
libs/RVL_SDK/include/private/os/OSThread.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef PRIVATE_OS_THREAD_H
|
||||
#define PRIVATE_OS_THREAD_H
|
||||
|
||||
#include <revolution/os/OSThread.h>
|
||||
|
||||
void __OSReschedule();
|
||||
|
||||
OSPriority __OSGetEffectivePriority(OSThread *thread);
|
||||
void __OSPromoteThread(OSThread *thread, OSPriority priority);
|
||||
|
||||
BOOL __OSIsThreadActive(OSThread* thread);
|
||||
|
||||
void __OSSwitchThread(OSThread* thread);
|
||||
|
||||
#endif // PRIVATE_OS_THREAD_H
|
||||
18
libs/RVL_SDK/include/private/os/OSTime.h
Normal file
18
libs/RVL_SDK/include/private/os/OSTime.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef PRIVATE_OS_TIME_H
|
||||
#define PRIVATE_OS_TIME_H
|
||||
|
||||
#include <revolution/os.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void __OSSetTime(OSTime time);
|
||||
OSTime __OSGetSystemTime();
|
||||
OSTime __OSTimeToSystemTime();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PRIVATE_OS_TIME_H
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user