James Benton
4c780f47e3
Try fix zlib includes.
2018-06-15 08:08:46 +01:00
James Benton
26af965373
Update some doxygen related headers.
2018-06-14 14:11:22 +01:00
James Benton
2420cf70d5
When building intree zlib, build zlibstatic not shared.
2018-06-14 14:06:03 +01:00
James Benton
b48055dcb5
Fix some doxygen header groups.
2018-06-14 13:34:39 +01:00
James Benton
10a085dd23
be_val: Remove usage of constexpr for supporting older gcc versions.
2018-06-14 13:33:42 +01:00
James Benton
9ffe296274
doxygen: Define __cplusplus
2018-06-14 13:33:26 +01:00
James Benton
2888e3f666
Merge branch 'rewrite'
2018-06-14 13:01:34 +01:00
James
ae8c35a613
Update README.md
2018-06-14 12:57:27 +01:00
James
88558de76f
Update README.md
2018-06-14 12:36:10 +01:00
James Benton
78440eafe5
share/wut.cmake: Update to be a bit more idiot proof.
...
Only allows calling each wut_enable_* once, also wut_enable_stdcpp now
automatically calls wut_enable_newlib.
2018-06-14 12:26:44 +01:00
James
3c119996bf
Update README.md
2018-06-14 12:26:25 +01:00
James Benton
36e3995e5c
Update README.md
2018-06-14 11:49:42 +01:00
James
3d2400dc25
Update README.md
2018-06-14 11:46:25 +01:00
James Benton
e89b248a15
Cleanup some CMake stuff
2018-06-14 11:44:23 +01:00
James Benton
546a356697
RIP Windows build support.
2018-06-14 11:44:04 +01:00
James Benton
d315b4bb34
Add new wutmalloc library.
...
This overwrites malloc and redirects it to alloc from default heap.
Also sets __wut_heap_max_size to limit sbrk heap now that malloc no longer
uses it.
2018-06-14 09:33:16 +01:00
James Benton
98b6f6ec2f
wutnewlib: Allow custom fixed sbrk heap size.
...
So now either uses 90% of the available base heap, or allocates a fixed
sized heap from the default heap.
2018-06-14 09:32:37 +01:00
James Benton
0b5ff33be1
Update CMakeLists.txt to allow optional building of tools & ppc libs.
2018-06-14 09:31:05 +01:00
James Benton
6344e56090
Add missing include to utils.h
2018-06-13 18:54:21 +01:00
James Benton
1471ea4338
Change wutnewlib to implement malloc family of functions.
...
This allows us to forward them straight to default heap functions, this
is better than having to allocate a fixed heap for sbrk as it allows
people to better mix usage malloc & default heap functions.
2018-06-13 18:38:53 +01:00
James Benton
c4214cef35
sysapp: Change unknown structure to a struct typedef.
2018-06-13 17:36:12 +01:00
James Benton
76c6e555d0
Update .gitignore
2018-06-13 17:35:50 +01:00
James Benton
4026ad081a
samples: Rename helloworld_std_thread to helloworld_cpp.
2018-06-13 17:35:03 +01:00
James Benton
adfd1c4e91
Fix nn/ac.h including removed header.
2018-06-13 13:39:42 +01:00
James Benton
865af4609c
Rename wutdevoptab to wutdevoptab_sd
2018-06-13 13:36:15 +01:00
James Benton
c2a993a4dd
samples: Add swkbd sample.
2018-06-13 12:14:11 +01:00
James Benton
75784dbb52
Add nn::swkbd library.
2018-06-13 12:12:22 +01:00
James Benton
9beff5dd0b
Add padscore/kpad.h for a stubbed KPADStatus typedef.
2018-06-13 12:11:00 +01:00
James Benton
060d9df5cb
Update linker script to include all fimport & dimport sections.
2018-06-13 12:10:27 +01:00
James Benton
dc29e49a13
Fix nn/ac.h includes.
2018-06-13 12:10:15 +01:00
James Benton
2770867c97
nn_ac: Move to nn/ac and start the C++ API.
2018-06-11 17:34:05 +01:00
James Benton
2d0db54e65
elf2rpl: Bump up cafe SDK version in file info sections.
...
Matches latest SDK version.
2018-06-11 16:46:35 +01:00
James Benton
4edd7a5901
cafe: Move to autogenerated export files for all cafe libraries.
2018-06-11 15:46:36 +01:00
James Benton
a00804a22d
readrpl: Add --exports-def to generate exports.def file for an rpl.
2018-06-11 15:36:21 +01:00
James Benton
0556f4627b
cmake: Explicitly set CMAKE_CROSSCOMPILING.
...
Not actually required because it is implicitly set when you modify
CMAKE_SYSTEM_NAME, but it's nice to be explicit.
2018-06-04 18:09:49 +01:00
James Benton
7019171841
cmake: Set BUILD_SHARED_LIBS OFF.
...
devkitPPC does not support building shared libraries.
2018-06-04 18:09:10 +01:00
James Benton
01606fba86
wut: Define __WIIU__ and __WUT__ for builds.
2018-06-02 10:37:02 +01:00
James Benton
3c054375db
wutstdc++: Fix __wut_key_t.
2018-06-02 10:36:28 +01:00
James Benton
f11112ca0f
Change LATTE_SQ_SEL to GX2_SQ_SEL.
...
latte is private stuff yo.
2018-05-31 11:19:39 +01:00
James Benton
62cb2757b9
wut_add_exports: Use target name when generating exports.
...
This helps keep the filename unique.
2018-05-31 10:30:58 +01:00
James Benton
3d2e190d31
samples/custom_default_heap: Fix install filename
2018-05-31 10:30:35 +01:00
James Benton
9a0930e5b3
Add install for samples/content.
2018-05-31 10:30:24 +01:00
James Benton
9f5066d75a
samples: Add gx2 triangle sample.
2018-05-31 10:20:16 +01:00
James Benton
4e2099a2e4
whb: Add missing GX2Invalidate call.
...
GX2RUnlockBuffer is supposed to be calling invalidate for us.... but it
does not seem to work and we require an explicit invalidate instead?!?!
2018-05-31 10:10:10 +01:00
James Benton
38ae220cd6
elf2rpl: Simplify fixLoaderVirtualAddresses to only move STRTAB + SYMTAB.
...
Until we can get ld to give these alloc flags we will always need this.
2018-05-30 22:52:20 +01:00
James Benton
e52affa9d5
elf2rpl: Remove unused functions.
2018-05-30 22:51:51 +01:00
James Benton
6a116a8e41
elf2rpl: Remove reorderSectionIndex.
...
Not needed.
2018-05-30 22:43:41 +01:00
James Benton
0ef7dcfa32
elf2rpl: Remove fixRoDataFlags.
...
This is covered by linker script.
2018-05-30 22:42:05 +01:00
James Benton
ae70d3a4a9
elf2rpl: Remove fixSectionAlign.
...
Not needed.
2018-05-30 22:40:53 +01:00
James Benton
c15e185762
elf2rpl: Remove fixBssNoBits transform.
...
Not needed since we updated linker script to have (NOLOAD)!
2018-05-30 22:40:41 +01:00