Commit Graph

111 Commits

Author SHA1 Message Date
James Benton
1145044517 Start doxygen documentation. 2016-01-07 16:04:01 +00:00
James Benton
c6de879cbc Add pragma pack 1 byte alignment for OSThread.
Struct size seems to be rounded up to 8 byte alignment.
2016-01-07 06:21:02 -08:00
James Benton
4bebe2242d Remove WUT_LIB_HEADER_START. 2016-01-07 14:09:43 +00:00
James Benton
e8b6b9b308 Add taskqueue functions. 2016-01-07 13:42:22 +00:00
James Benton
297a0d7068 Add messagequeue functions 2016-01-07 13:32:55 +00:00
James Benton
517c8a8389 Alphabetti spaghetti. 2016-01-07 13:21:20 +00:00
James Benton
512fee7d94 Add unit heap functions. 2016-01-07 13:21:00 +00:00
James Benton
0aa7d4b2c4 Add memlist functions. 2016-01-07 13:20:45 +00:00
James Benton
b3da4d60c1 Add frameheap functions. 2016-01-07 13:20:32 +00:00
James Benton
948f03758a Add baseheap functions. 2016-01-07 13:20:05 +00:00
James Benton
2f89fed96c Move memexpandedheap.h to expandedheap.h 2016-01-07 13:19:50 +00:00
James Benton
2e776838ff Use a macro WUT_LIB_HEADER_{START,END}...
So we don't have to extern C and pragma pack in every header file.
2016-01-07 05:02:17 -08:00
James Benton
f3241113f5 Update helloworld to say hello from every core. 2016-01-07 04:48:45 -08:00
James Benton
7669e4b4ee Simple formatting changes. 2016-01-07 04:48:11 -08:00
James Benton
7219164f4b Add missing OSMutexQueue typedef. 2016-01-07 04:47:58 -08:00
James Benton
7fb39a71bd Fix unknown size in OSThread 2016-01-07 04:47:45 -08:00
James Benton
92511be884 Fix thread entry point to use int as return and argc type. 2016-01-07 04:47:36 -08:00
James Benton
35dd3f23e1 Remove second OSCondition definition in mutex.h 2016-01-07 04:47:16 -08:00
James Benton
ca212889b4 Move OSFastCondition to it's own header file. 2016-01-07 04:47:08 -08:00
James Benton
d58b264cab Remove some internal decaf functions that snuck in. 2016-01-07 04:46:55 -08:00
James Benton
b08f267220 Add missing core.h exports 2016-01-07 04:46:10 -08:00
James Benton
fcf59a8dd8 Add missing OSInitAlarmQueueEx function 2016-01-07 04:46:02 -08:00
James Benton
e123ba272f Fix enum typedefs so we now define storage type. 2016-01-07 04:45:44 -08:00
James Benton
04fd92f05f Fix struct forward declarations. 2016-01-07 04:45:18 -08:00
James Benton
acfffa6d85 Apparently static const struct members don't exist in C.
Let's use #defines, that's much better ... C is nice language Kappa
2016-01-07 04:44:44 -08:00
James Benton
9f42cfa12e Add a bunch of coreinit functions. 2016-01-07 12:07:13 +00:00
James Benton
9cd1940bc8 Calculate crc of sections.
Close #1.
2016-01-05 15:45:05 -08:00
James
9f6e28ea92 Update README.md 2016-01-05 23:39:24 +00:00
James Benton
83e6b4c004 Remove some out dated TODO comments. 2016-01-05 15:27:01 -08:00
James Benton
300c0e45ba Update include layout. 2016-01-05 15:25:22 -08:00
James Benton
47f4819213 Fix formatting. 2016-01-05 15:25:22 -08:00
James Benton
34d44919b6 Change crt0.S to call exit(int) instead of _Exit(void) 2016-01-05 15:25:22 -08:00
James Benton
1798d782f3 Add -lcoreinit to rpl.mk as it is required by crt0.S 2016-01-05 15:25:22 -08:00
James Benton
fe5327c69d Fix relocations into data section. 2016-01-05 15:22:39 -08:00
James Benton
950ca647d0 Calculate SHT_RPL_FILEINFO textSize, dataSize and loadSize. 2016-01-05 22:36:33 +00:00
James
df304a7205 Update README.md 2016-01-05 14:11:08 +00:00
James Benton
f723c4c462 Fix readrpl Makefile 2016-01-04 09:17:48 -08:00
James Benton
0df2531623 Add readrpl tool. 2016-01-04 17:10:32 +00:00
James Benton
747be9e29e Add .rpx build rule. 2016-01-04 06:35:58 -08:00
James Benton
e781efe156 Update makefile for elf2rpl 2016-01-04 05:46:52 -08:00
James Benton
44225e4c28 Fix LIBRARY_NAME 2016-01-04 05:20:36 -08:00
James Benton
397426de37 Add elf2rpl src. 2016-01-04 13:17:43 +00:00
James Benton
a582c9b61f Reorder symbol/string table entries. 2015-12-28 06:18:48 -08:00
James Benton
086cf3b42f Separate data relocations. 2015-12-28 06:18:35 -08:00
James Benton
fdc0e1ec41 Merge .rplTramp.text into .text section 2015-12-28 06:18:08 -08:00
James Benton
e46445c3ec Set linker page size to reduce padding.
Previously every PHDR had align(0x1000) creating huge amounts of padding.
Changing page size to 64 changes PHDR align to 0x40, reducing elf size.
2015-12-27 20:02:20 -08:00
James Benton
dcee7f253f Cleanup indentation in linker script. 2015-12-27 16:28:29 -08:00
James Benton
8a0c2ed4d1 Cleanup data/rodata sections for C++ objects. 2015-12-27 16:24:14 -08:00
James Benton
2c54b692c3 Split relocation sections between ones used for linking and ones for runtime. 2015-12-27 16:23:48 -08:00
James Benton
b771f474df Remove unnecessary KEEP in linker script. 2015-12-27 16:23:00 -08:00