Commit graph

1492 commits

Author SHA1 Message Date
Yuri Kunde Schlesner
ff3eee27da Kernel: Don't re-assign object's handle when duplicating one 2015-01-04 00:28:07 -02:00
Yuri Kunde Schlesner
08096a5015 Thread: Fix nullptr access in a logging function 2015-01-04 00:28:06 -02:00
Yuri Kunde Schlesner
32ce2b92c7 Thread: Rename thread_queue => thread_list 2015-01-04 00:28:06 -02:00
Yuri Kunde Schlesner
b0d9242bc7 [fixup] Replace boost::intrusive_ptr with std::shared_ptr 2015-01-04 00:28:02 -02:00
Yuri Kunde Schlesner
6480d24a8c Kernel: Start using boost::intrusive_ptr for lifetime management 2015-01-03 23:35:23 -02:00
Yuri Kunde Schlesner
934343368f Thread: Mark file-private functions as static 2015-01-03 15:02:19 -02:00
Yuri Kunde Schlesner
1d1a55e63d Thread: Remove some redundant functions 2015-01-03 15:02:19 -02:00
Yuri Kunde Schlesner
26f1524053 Thread: Remove orphan function declaration 2015-01-03 15:02:18 -02:00
Yuri Kunde Schlesner
c91d2e959b Thread: Remove the last Handle-based interfaces from Thread.cpp 2015-01-03 15:02:18 -02:00
Yuri Kunde Schlesner
5619e790b8 Thread: Convert thread_ready_queue to pointers 2015-01-03 15:02:18 -02:00
Yuri Kunde Schlesner
0b64705384 Thread: Convert thread_queue to pointers 2015-01-03 15:02:17 -02:00
Yuri Kunde Schlesner
906da53958 Thread: Replace a for-loop with range-for 2015-01-03 15:02:17 -02:00
Yuri Kunde Schlesner
db0a526fbb Thread: Convert wait_handle member to a pointer 2015-01-03 15:02:16 -02:00
Yuri Kunde Schlesner
5eb52c950d Thread: Convert waiting_threads list from Handle to pointers 2015-01-03 15:02:16 -02:00
Yuri Kunde Schlesner
e19dc7e6f0 Thread: Remove unused static global 2015-01-03 15:02:16 -02:00
Yuri Kunde Schlesner
ce6b967f4e Thread: Move ResumeThreadFromWait into member function 2015-01-03 15:02:15 -02:00
Yuri Kunde Schlesner
eae3d8e6d8 Thread: Move StopThread to a member function 2015-01-03 15:02:15 -02:00
Yuri Kunde Schlesner
4637df2721 Thread: Convert some uses of handles to pointers 2015-01-03 15:02:14 -02:00
Yuri Kunde Schlesner
333557152c Thread: Move more helper functions into members 2015-01-03 15:02:14 -02:00
Yuri Kunde Schlesner
d1b7587647 Thread: Move Get/SetThreadPriority to be Thread members 2015-01-03 15:02:13 -02:00
Yuri Kunde Schlesner
ff992edecf Thread: Move CreateThread into a static Kernel::Create function 2015-01-03 15:02:13 -02:00
Yuri Kunde Schlesner
3ac3803b92 Kernel: Move Thread's definition to the header file 2015-01-03 15:02:12 -02:00
Yuri Kunde Schlesner
4aa829b367 Move ThreadContext to core/core.h and deal with the fallout 2015-01-03 15:02:12 -02:00
bunnei
edbb47d967 Merge pull request #396 from bunnei/default-dyncom
Core: Change default CPU to dyncom.
2015-01-03 11:59:42 -05:00
bunnei
caa6d431ee Merge pull request #398 from lioncash/sm
dyncom: Implement SMLAW
2015-01-03 11:47:01 -05:00
Lioncash
6adc0a4622 dyncom: Implement SMLAW 2015-01-03 03:13:49 -05:00
bunnei
9ac2272e25 Merge pull request #397 from bunnei/vfp-cleanup
VFP: Minor cleanup, functionally the same.
2015-01-03 01:28:53 -05:00
bunnei
b11518c272 VFP: Minor cleanup, functionally the same. 2015-01-03 01:22:38 -05:00
bunnei
dd21f986b8 Merge pull request #395 from lioncash/rev
dyncom: Implement REVSH
2015-01-02 22:44:39 -05:00
Lioncash
2f19acf064 dyncom: Implement REVSH
Also joins the REV ops into one common place.
2015-01-02 22:40:43 -05:00
bunnei
853b46c681 Core: Change default CPU to dyncom. 2015-01-02 22:33:53 -05:00
bunnei
b26fd93bbe Merge pull request #394 from lioncash/sm
dyncom: Implement SMLALD/SMLSLD
2015-01-02 22:17:44 -05:00
Lioncash
e0e54f55d7 dyncom: Implement SMLALD/SMLSLD 2015-01-02 22:08:26 -05:00
bunnei
031237e52c Merge pull request #381 from Subv/savedatacheck
Implemented the SaveDataCheck archive
2015-01-02 21:50:57 -05:00
bunnei
3e230d6c9e Merge pull request #392 from lioncash/sm
dyncom: Implement SMMLA/SMMUL/SMMLS
2015-01-02 21:47:53 -05:00
Lioncash
64161bcb41 dyncom: Implement SMMLA/SMMUL/SMMLS 2015-01-02 21:40:29 -05:00
Subv
22cfa55302 IVFCArchive: Use a critical log to notify of invalid operations. 2015-01-02 21:39:31 -05:00
Subv
0d03fdec71 SaveDataCheck: Remove unneeded constructor from a class 2015-01-02 21:28:46 -05:00
Subv
2f9a2d410d Archives: Added some documentation to IVFCArchive 2015-01-02 21:13:55 -05:00
Subv
aade417b14 Archives: Reduced duplicate code in RomFS and SaveCheck.
Fixed a few warnings and cleaned up the code
2015-01-02 21:13:54 -05:00
Subv
13efbdc201 SaveDataCheck: Preliminary work in this archive.
This allows Steel Diver to boot further, some files are needed.

This is still not ready and needs a big cleanup, this will possibly be delayed until the way we handle archives is fixed (with factory classes instead of ahead-of-time creation of archives)
2015-01-02 21:13:53 -05:00
bunnei
3d9bf13439 Merge pull request #391 from lioncash/pedantic
archive/elf: Minor misc changes.
2015-01-02 21:04:49 -05:00
bunnei
bd8949b8c2 Merge pull request #385 from bunnei/dyncom-ldrex-strex-h-d
dyncom: Implemented LDREXD/STREXD/LDREXH/STREXH
2015-01-02 21:01:54 -05:00
bunnei
dd8a57cb80 dyncom: Implemented LDREXD/STREXD/LDREXH/STREXH 2015-01-02 20:51:54 -05:00
bunnei
3b2da87080 Merge pull request #390 from lioncash/wut
dyncom: Remove dead function InterpreterInitInstLength
2015-01-02 20:40:29 -05:00
bunnei
6ae381ac9e Merge pull request #388 from lioncash/sm
dyncom: Implement SMLAD/SMUAD/SMLSD/SMUSD
2015-01-02 20:39:36 -05:00
bunnei
84856a4549 Merge pull request #389 from lioncash/fmt
soc_u: Fix a missing formatting argument
2015-01-02 20:38:48 -05:00
Lioncash
bf23f94571 elf: Make DidRelocate const 2015-01-02 20:32:16 -05:00
Lioncash
0d81b1e75b archive: Fix initializer list order 2015-01-02 20:30:57 -05:00
Lioncash
67187c15a0 dyncom: Remove dead function InterpreterInitInstLength
Technically eliminates two memory leaks as well.
2015-01-02 20:24:00 -05:00