Ash Logan
c15ed46e7a
cmake: don't use include_directories (reverts add09e7)
...
Turns out this actually doesn't work? god only knows how it didn't get
caught.
2019-03-18 19:03:31 +11:00
rw-r-r-0644
4d7517a630
nsysnet: Add other supported socket options
2019-03-16 10:37:17 +00:00
rw-r-r-0644
34bfddb581
dmae: Add DMAECopyMem, DMAEFillMem and DMAEWaitDone ( #102 )
...
* dmae: Add DMAECopyMem, DMAEFillMem and DMAEWaitDone
* tests: Add dmae to header compile test list
2019-02-28 17:10:10 +11:00
rw-r-r-0644
6ea6625b78
devoptab: Fix double free in __wut_fs_stat
...
The double free caused apps to crash when attempting to run stat on a directory
2019-02-24 15:48:46 +00:00
rw-r-r-0644
254de47b15
makefile: Update wut-tools path.
2019-02-21 08:55:30 +00:00
Ash Logan
86a8526725
include/nn/ac: Document existing nn_ac functions
2019-02-21 08:55:08 +00:00
Ash Logan
b2e6bc52d0
include/nn: Basic nn::Result docs (IsSuccess, IsFailure)
2019-02-21 08:55:08 +00:00
Ash Logan
f955e734df
include/swkbd: First shot at documenting swkbd
...
Mostly based off wut's example, but hey, should be pretty good!
2019-02-21 08:55:08 +00:00
Ash Logan
0f4e01e769
include/coreinit: Add missing doxygen group end to memorymap.h
2019-02-21 08:55:08 +00:00
Ash Logan
b142d92e36
include/sysapp: Add title.h - SYSCheckTitleExists, SYSGetPFIDFromTitleID
2019-02-21 08:55:08 +00:00
Ash Logan
610ed35050
include/sysapp: Minor documentation updates (procui works!)
2019-02-21 08:55:08 +00:00
fincs
0b920cf9b9
Automatically link wutstdc++ when C++ is used
2019-02-12 12:46:34 +01:00
fincs
3e179891e9
Make sure .fexports/.dexports sections don't get garbage collected
2019-02-12 12:46:34 +01:00
fincs
26ac7b3ff2
wutmalloc: Bugfixes, see details:
...
- Added (dummy) __init/fini_wut_malloc stubs called by wutcrt
in order to ensure that wutmalloc gets linked in
- malloc/realloc/calloc now properly set errno to ENOMEM during failure
- realloc no longer fails if ptr==NULL (in this case it works
like a regular malloc)
- realloc no longer does an out of bounds copy if the new size
is smaller than the old size
- free(NULL) is now supported as per the C standard
- Disabled sbrk/malloc-lock support code in wutnewlib because
newlib's malloc is replaced with wutmalloc
2019-02-12 12:46:34 +01:00
fincs
ee3bb10df4
First pass at adopting a devkitPro-style build system, see details:
...
- Added wut_rules and wut/rpx/rpl.specs to share/
- Replaced wut's CMake-based buildsystem with a standard Makefile
- Conflated all wut libraries into a single libwut.a library
- wut's old buildsystems (CMake & plain make) are broken as a result,
this will be fixed in the future
- Docs, tests and samples are not buildable either at the moment
- wutcrt/wutnewlib:
- RPX start function is __rpx_start, while RPL is __rpl_start
- __init/fini_wut_* functions are no longer weak
- __init_wut/__fini_wut are instead weak
- Removed _exit implementation
- exit syscall now points to _Exit instead of pointing to itself
- wutstdc++:
- Renamed .cc files to .cpp
- Temporarily disabled, due to an issue that will be addressed shortly
- wutdevoptab:
- Fixed uninitialized variable warnings in __wut_fs_read/write
2019-02-12 12:46:28 +01:00
James
c86282fd7a
Update README.md
...
Fix travis badge url.
2019-01-28 18:02:56 +00:00
James
93da85e0df
Update README.md
2019-01-27 14:20:17 +00:00
James Benton
edd0753aeb
Use devkitpro installed wut-tools.
2019-01-27 14:14:52 +00:00
James Benton
7495a9997f
coreinit: Add __OSValidateAddressSpaceRange.
2019-01-10 10:24:27 +00:00
James Benton
7e47e4daf4
tests: Add avm/drc.h to header compile test list.
2019-01-10 10:05:14 +00:00
James Benton
58d967ce0c
cmake: Try find DEVKITPPC from PATH.
2019-01-10 10:05:14 +00:00
James Benton
9e0394aae3
avm: Add AVMGetDRCScanMode.
2019-01-10 10:05:14 +00:00
James Benton
5177d7a6ee
samples/swkbd: Rename output to swkbd_sample.rpx to avoid name conflict with swkbd.rpl
2019-01-10 10:05:14 +00:00
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