Commit Graph

594 Commits

Author SHA1 Message Date
James Benton
7bee4c7ca4 coreinit: Add OSIsAddressValid. 2019-01-10 10:05:14 +00:00
James Benton
80f57713b8 coreinit: Add DisassemblePPCOpcode. 2019-01-10 10:05:14 +00:00
BullyWiiPlaza
41e96a5421 Add missing wut offset checks 2019-01-09 09:47:28 +00:00
BullyWiiPlaza
ed4b52408b Add missing OSContext fields from Diibugger 2019-01-09 09:47:28 +00:00
James
3d1b0f3774
Update README.md 2019-01-07 12:21:11 +00:00
James Benton
8676bcdc01 tools/common: Add byte_swap fallbacks for unknown platforms. 2019-01-06 11:19:09 +00:00
Ash
56f70b2865 toolchain.cmake: Use include_directories instead of -I
This helps some cmake analysers and the like to better get an idea of how wut works, while having the same effect in terms of actual compiling.
2018-12-09 11:37:57 +00:00
Maschell
ea5dd93e1e Readme: Building on Windows: "build-essentials" -> "build-essential" 2018-12-04 03:26:59 -08:00
Ash
39ccbcfc0f make: Strip debug sections before elf2rpl 2018-11-07 11:52:39 +00:00
Ash
f87b3f9347 make: Fix comparisons for sh compatibility
Thanks to @rw-r-r-0644 for this one
2018-11-07 11:52:39 +00:00
Ash
e950c6b937 make: Allow disabling the depends or compilation rules 2018-11-07 11:52:39 +00:00
Ash
24f46559da make: extra space in CFLAGS removed 2018-11-07 11:52:39 +00:00
Ash
c0d3788b8e make: Add wut makefile 2018-11-07 11:52:39 +00:00
rw-r-r-0644
7055d69c4f Strip debug sections before running elf2rpl to prevent crashes 2018-11-06 19:42:45 +00:00
James Benton
f281a995b3 gx2: Add GX2_COMP_MAP and GX2_SQ_SEL_{RGBA} to utils.h 2018-10-21 15:25:32 +01:00
James Benton
fb4a54fc4c Rename GX2_SQ_SELMASK macro to GX2_SEL_MASK. 2018-10-21 15:24:25 +01:00
rw-r-r-0644
5201b78bd0 gx2: Add points primitive mode 2018-10-21 15:20:33 +01:00
James Benton
857fcd8eea Build libraries with -Wall and -Werror. 2018-10-06 10:50:32 +01:00
James Benton
069e28acec Make the devoptab code more consistent. 2018-10-06 10:41:24 +01:00
James Benton
63119deb63 Fix calculateSectionOffsets for import sections.
Fuck.
2018-09-30 10:49:09 +01:00
James Benton
b03e4afc49 elf2rpl: Include import sections in the read section offsets. 2018-09-30 09:08:47 +01:00
James Benton
ea009ce10b wutcrt: Forward newlib _exit to the coreinit.rpl _Exit 2018-09-30 08:40:38 +01:00
James Benton
b6c024fc5c elf2rpl: Set file offset to 0 for the SHT_NOBITS and SHT_NULL sections. 2018-09-30 08:40:38 +01:00
James Benton
400318c3d1 Rename rpl_main to rpl_entry. 2018-09-30 08:40:38 +01:00
James
9a3483638e
Merge pull request #86 from QuarkTheAwesome/master
include/sysapp: Add basic documentation
2018-09-17 10:43:29 +01:00
James Benton
74a29ac77a elf2rpl: Fix calculateSectionOffsets. 2018-09-17 10:40:30 +01:00
James Benton
7a29fb7c85 readrpl: Fix verifyFileBounds. 2018-09-17 10:40:17 +01:00
James Benton
e0c27d8a2f Fix IOSVec. 2018-09-14 11:39:03 +01:00
James Benton
3605823849 Add missing datamem section allocation for .bss
Only worked before out of luck with the ALIGNs!
2018-09-14 09:53:06 +01:00
James Benton
7c9120db96 Add alignas specifiers for OSContext, OSSpinLock, OSThread. 2018-09-14 09:02:46 +01:00
James Benton
f9fb0d8f24 Remove alignment for data sections from linker script. 2018-09-14 08:45:05 +01:00
James Benton
bc9ececcc1 Add some missing fields in FSStat. 2018-09-14 08:43:46 +01:00
James Benton
a5053a2a1a Fix padding in sockaddr_storage 2018-09-02 09:33:56 +01:00
Ash
6db746212c include/sysapp: Add basic documentation 2018-08-28 19:50:41 +10:00
James
4ff6c40f2c
Merge pull request #83 from QuarkTheAwesome/master
COS Docs: Enable JAVADOC_AUTOBRIEF
2018-07-26 00:26:44 -07:00
Ash
c9b2013b72 include/coreinit: Fix up some more Doxygen briefs 2018-07-25 10:45:06 +10:00
Ash
33ae7587d6 include/coreinit: Shorten/rephrase some particularly long briefs 2018-07-25 10:38:31 +10:00
Ash
70157eedab docs: Add JAVADOC_AUTOBRIEF option to CMakeLists 2018-07-25 10:37:54 +10:00
James
41073579f2
Merge pull request #82 from QuarkTheAwesome/master
COS Docs: Add Doxygen for coreinit/cache, coreinit/core and coreinit/screen
2018-07-24 05:37:53 -07:00
Ash
e32369dbba
include/coreinit/screen: Add Doxygen docs for OSScreen 2018-07-24 22:04:20 +10:00
James Benton
e555fe48d2 elf2rpl: Set the file info section compressionLevel to 6.
This is the zlib level we use for compressing sections.
2018-07-19 08:51:41 +01:00
James Benton
5165813af9 Fix incorrect usage of WUT_CHECK_OFFSET in nn/swkbd/swkbd_cpp.h 2018-07-19 08:51:41 +01:00
James Benton
3423f6d1ae Add compile headers test for c99 and c11. 2018-07-19 08:51:41 +01:00
James Benton
c655780c34 Fix WUT_CHECK_ macros not being evaluated on C++.
static_assert is only defined for C11.
2018-07-19 08:51:40 +01:00
James Benton
690bd6ccbd Revert "Rename wutdevoptab to wutdevoptab_sd"
This reverts commit 865af4609c.
Turns out it is for whole filesystem. oops.
2018-07-19 08:51:40 +01:00
Ash
9db6278915
include/coreinit/core.h: Add Doxygen docs for Core group. 2018-07-18 21:33:50 +10:00
Ash
2e9643e342
include/coreinit/cache: Document Cache function group 2018-07-18 21:26:39 +10:00
James
91973a3b14
Merge pull request #81 from QuarkTheAwesome/master
include/vpad: Documentation style tweaks, add VPADLcdMode, more docs
2018-07-08 23:47:11 -07:00
Ash
2ee317599e
include/vpad: Documentation style tweaks, add VPADLcdMode, more docs 2018-07-05 10:11:48 +10:00
James
5f97c75efa
Merge pull request #80 from Maschell/feature_gx2_surface
Add GX2ResolveAAColorBuffer
2018-07-03 03:14:39 -07:00