James Benton
ec59508010
wutstdc++: Implement __gthread_cond_timedwait.
2018-05-25 18:45:19 +01:00
James Benton
750a2370d8
wutstdc++: Move gthread code to source files.
2018-05-25 18:15:39 +01:00
James Benton
675549474a
wutstdc++: Implement gthread keys.
2018-05-25 18:06:54 +01:00
James Benton
b4e5bf4106
Change OS{Get,Set}ThreadSpecific to use void *.
2018-05-25 18:06:25 +01:00
James Benton
3336fbaf5d
Implement __gthread_once.
2018-05-25 17:35:21 +01:00
James Benton
b00b5af1ec
wutstdc++: Add gthr-default.h to CMakeLists.txt
2018-05-25 17:35:07 +01:00
James Benton
a9abdd3e09
Add a samples root CMakeLists.txt
2018-05-25 17:23:11 +01:00
James Benton
a9829a3226
Add support for C++ std::thread.
...
Overwrites bits/gthr-default.h to implement gthreads.
2018-05-25 17:22:10 +01:00
James Benton
a5a1bac28c
wutnewlib: Add sleep and usleep implementation.
2018-05-25 17:13:54 +01:00
James Benton
76844067dd
Add OSSeconds to time.h
2018-05-25 17:13:40 +01:00
James Benton
607b59fb1b
Skip zlib install.
2018-05-25 14:48:13 +01:00
James Benton
425f6a9972
appveyor attempt #2
2018-05-25 14:26:49 +01:00
James Benton
29d1190fd1
appveyor attempt #1
2018-05-25 13:58:21 +01:00
James Benton
35c9b5bfdd
Do not use ExternalProject_Add for tools.
2018-05-25 13:58:07 +01:00
James Benton
17ea24cdb0
Add zlib as a submodule.
2018-05-25 13:57:47 +01:00
James Benton
cdc540938a
Improve the helloworld sample.
2018-05-25 11:48:37 +01:00
James Benton
4a32445ed5
whb: Add a log console.
2018-05-25 11:48:14 +01:00
James Benton
5b8b60b390
Add newlib syscalls.
2018-05-25 11:31:44 +01:00
James Benton
11adfb8f07
elf2rpl: Change fixLoaderVirtualAddress to use section type instead of name.
2018-05-25 00:17:22 +01:00
James Benton
a1072fc729
elf2rpl: Fix .rodata section flags to have WRITE.
...
Yes, READ ONLY data requires a WRITE flag.
2018-05-25 00:16:57 +01:00
James Benton
0a4a7c66b3
elf2rpl: Process sections by type, not by name.
2018-05-24 23:48:33 +01:00
James Benton
d6478d831e
elf2rpl: Add support for section deflation.
2018-05-24 23:32:35 +01:00
James Benton
55b2695eaf
Add some .rpl verification to readrpl
2018-05-24 23:32:08 +01:00
dibas
203dc66527
WHBGfx - Separate ClearColor() and allow custom colors.
2018-05-24 21:00:36 +01:00
James Benton
8add0d0503
elf2rpl: Align textSize, dataSize, loadSize.
2018-05-23 17:32:12 +01:00
James Benton
bc12c9abef
elf2rpl: Fix REL32 -> REL16 conversion.
2018-05-23 16:11:50 +01:00
James Benton
ba2df5be91
wut.ld: Add missing fimport sections.
2018-05-23 15:36:35 +01:00
James Benton
c7325899be
readRpl: Add SHT_RPL_CRCS value check
2018-05-23 15:36:25 +01:00
James Benton
541676ce38
elf2rpl: Fix SHT_RPL_CRCS section
2018-05-23 15:36:07 +01:00
James Benton
9bcf22e40f
Add tools readrpl, udplogserver.
2018-05-23 12:35:24 +01:00
James Benton
959e4897c1
Fix type cast warnings in elf2rpl.
2018-05-23 11:25:49 +01:00
James Benton
09606f873e
tools: Add be_val.h
2018-05-23 11:25:38 +01:00
James Benton
7e788f47af
Add libdefaultheap, libgfd, libwhb.
2018-05-23 11:10:10 +01:00
James Benton
161331c4f4
Add CMake docs target which runs doxygen.
2018-05-23 11:09:54 +01:00
James Benton
fc10605172
Rewrite!
2018-05-23 09:47:28 +01:00
James
da8975303c
Merge pull request #62 from CreeperMario/escape-paths
...
wut-toolchain: Properly escape include/lib paths
2018-01-11 02:37:17 -08:00
James
5ae8226d68
Merge pull request #61 from CreeperMario/crash-fix
...
libWHB exception handler now works
2018-01-11 02:37:03 -08:00
CreeperMario
eb1a610f92
whb: Exception handler now works
...
* The context structure for the crash handler thread needs to be aligned
to at least 8 bytes.
* In my cases, the entry at the bottom of my stack always has a
back-chain value of 0x1. Of course, this address is not likely to be
part of the stack, so this should be considered to be the end of the
stack.
* During ISI exceptions, only a stack trace is printed, and during DSI,
disassembly and stack information is printed. For some unknown reason, I
never see register dumps.
2018-01-11 18:21:06 +10:30
CreeperMario
7dd128fe94
wut-toolchain: Properly escape include/lib paths
...
* This allows WUT to successfully operate within a path that contains spaces.
2017-12-23 09:37:32 +10:30
James Benton
d0f43d24b7
Fix size of OSThread structure
2017-11-01 11:00:18 +00:00
James
1ce68f6d58
Merge pull request #57 from CreeperMario/udp-log-fixes
...
More Miscellaneous Fixes and Features
2017-10-10 13:54:53 +01:00
CreeperMario
39d4599896
whb: Command Server connection stream now stays open.
...
* The stream will stay open until either an error occurs,
WHBCommandServerStop is called, or a null string is returned (the client
socket had been closed).
* The header file now includes wut.h, so that BOOL is defined.
2017-10-10 11:53:06 +10:30
CreeperMario
240514eff2
whb: Separate log dispatching into a separate inline function
2017-10-10 09:43:59 +10:30
CreeperMario
758e91f65f
Revert "whb: Use MEM2 heap instead of DefaultHeap in logging functions"
...
This reverts commit ef34f600c7
, meaning that MEMAllocFromDefaultHeapEx is now used again, instead of MEMAllocFromExpHeapEx and MEMGetBaseHeapHandle.
2017-10-10 09:22:13 +10:30
CreeperMario
76a8b8e292
readrpl: Return -1 instead of false in main()
...
* This suppresses a compiler warning emitted by clang, about returning a
boolean value when an integer is expected.
2017-10-10 09:12:54 +10:30
CreeperMario
23d6f0f5cb
whb: Correct header file for command server
...
* Why did this NOT generate a build warning?
2017-09-02 07:16:57 +09:30
CreeperMario
5e84d0321d
CI Ambulance
2017-09-01 21:01:46 +09:30
CreeperMario
0b2ca7c05e
travis: Add macOS build target
...
* This is currently untested, and will be fixed if necessary during the PR process.
2017-09-01 18:26:10 +09:30
CreeperMario
ace7c0b364
whb: Implement a basic TCP-based command server kit.
...
* This server will listen for connections, and then listen on that
connection stream for, well, text. It will then close the connection and
send the string back to the main program.
2017-09-01 18:13:51 +09:30
CreeperMario
ef34f600c7
whb: Use MEM2 heap instead of DefaultHeap in logging functions
2017-09-01 14:30:08 +09:30