Commit Graph

523 Commits

Author SHA1 Message Date
Nekotekina
9767cc84b0 16b atomic load fix 2017-02-05 15:49:51 +03:00
Nekotekina
6537909fd2 sys_event_queue... 2017-02-04 20:39:04 +03:00
Nekotekina
16944b0c4c sys_cond, sys_mutex 2017-02-04 20:39:03 +03:00
Nekotekina
b7a7a5c582 #2314 fix 2017-01-31 20:37:02 +03:00
Nekotekina
aef5113d49 Fix #2300 2017-01-29 22:52:07 +03:00
Nekotekina
be8d8ded3f replace high_resolution_clock 2017-01-29 19:52:19 +03:00
Nekotekina
a5a2d43d7c Thread.cpp refinement
Hide thread mutex
Safe notify() method
Other refactoring
2017-01-29 19:52:19 +03:00
Ryan Gonzalez
11e2965b5c Switch to always using a steady clock (closes #2200) 2017-01-29 03:07:08 +03:00
Nekotekina
d4c3905355 Debug build fix 2017-01-28 15:32:45 +03:00
Nekotekina
307da1fe39 Fixed fs::file::open 2017-01-28 13:11:06 +03:00
Nekotekina
4ecf05aa13 cellFsUtime implemented 2017-01-26 20:01:16 +03:00
Nekotekina
591a6c8671 IdManager improved 2017-01-25 23:29:36 +03:00
Nekotekina
9232ddf0ab Minor changes 2017-01-25 04:43:12 +03:00
Nekotekina
1c14d872a8 New shared_mutex
Experimental sync utils
New semaphore<>
New cond_variable
New owned_mutex
2017-01-25 00:38:07 +03:00
Nekotekina
98fc131d47 util::dynamic_import
Futex implementation
2017-01-25 00:38:07 +03:00
Nekotekina
7a356d3294 is_leaf_function fix (Linux) 2017-01-22 18:50:55 +03:00
Ivan
fb56c14853 LLVM fix (skylake) (#2269) 2017-01-21 23:40:37 +03:00
Vincent Lejeune
c24fba89e8 Add variant.hpp from mapbox 2016-08-24 21:58:59 +02:00
Nekotekina
e3bc2273d3 fs::dir improved
FindFirstFileExW used
Immediate directory read
2016-08-18 15:14:08 +03:00
Nekotekina
bbb0effe23 Minor fixes
cellSyncMutexTryLock fixed
2016-08-17 19:50:20 +03:00
Nekotekina
ad174eb12c error_code implemented
Reports based on formatting system
ppu_error_code removed
arm_error_code removed
2016-08-16 18:57:44 +03:00
Nekotekina
3c82e1a58d Silly macro removed-3 2016-08-15 18:30:33 +03:00
Nekotekina
dbcb5df172 WRAP_EXPR macro removed 2016-08-15 17:11:45 +03:00
Nekotekina
dafb6b5c92 %p fmt fix 2016-08-15 16:57:51 +03:00
Nekotekina
84d0d396ed EXPECTS usage removed 2016-08-15 16:29:38 +03:00
Nekotekina
56b9b38c9c verify() fix 2016-08-15 14:59:19 +03:00
Nekotekina
05fb57baff VERIFY macro removed 2016-08-15 03:13:31 +03:00
Nekotekina
cc46f2d7e6 LOG macro improved 2016-08-15 00:04:42 +03:00
Nekotekina
1f3433464c ENSURES usage removed 2016-08-14 22:41:01 +03:00
Nekotekina
b0f5796c90 New narrow() implementation 2016-08-14 20:28:56 +03:00
Nekotekina
0f87c4485d Silly macro removed-2 2016-08-14 18:19:42 +03:00
Nekotekina
949200cd3e Type hacks removed 2016-08-14 18:07:32 +03:00
Nekotekina
7a2802a5e0 Silly macro removed 2016-08-12 19:31:28 +03:00
Vincent Lejeune
c382ce5260 Add optional files. 2016-08-11 19:47:14 +02:00
Nekotekina
8c8242345e bts/btr/btc support improved 2016-08-10 16:12:34 +03:00
Nekotekina
130f7905ba Error report fix 2016-08-10 14:17:07 +03:00
Nekotekina
912072e60c LLVM: minor fixes (JIT.cpp) 2016-08-10 13:09:11 +03:00
Nekotekina
bdeccd889f cpu_type removed, system_type added
cpu_state -> cpu_flag
vm::stack_allocator template improved
ppu_cmd type changed to enum, cmd64 type added
2016-08-09 17:14:41 +03:00
Nekotekina
a7e808b35b EXCEPTION macro removed
fmt::throw_exception<> implemented
::narrow improved
Minor fixes
2016-08-08 19:19:32 +03:00
Nekotekina
46735d6b3d New bitsets (experimental) 2016-08-08 16:29:37 +03:00
Nekotekina
71441819e5 multicast<> rewritten 2016-08-07 17:06:37 +03:00
Nekotekina
1a7ea2d235 fmt_unveil<> fix 2016-08-07 17:05:35 +03:00
Nekotekina
9245308ff2 Improve fatal error report 2016-08-06 15:09:44 +03:00
Nekotekina
3cd2f735a7 Fmt fix 2016-08-06 13:39:01 +03:00
Nekotekina
d646fbb94f Fmt/Log fixes 2016-08-05 20:59:25 +03:00
Nekotekina
5a36c57c57 Formatting system improved
`unveil<>` renamed to `fmt_unveil<>`, now packs args to u64 imitating va_args
`bijective...` removed, `cfg::enum_entry` now uses formatting system
`fmt_class_string<>` added, providing type-specific "%s" handler function
Added `fmt::append`, removed `fmt::narrow` (too obscure)
Utilities/cfmt.h: C-style format template function (WIP)
Minor formatting fixes and cleanup
2016-08-04 21:34:00 +03:00
Nekotekina
f8719c1230 PPUThread refactoring
`CallbackManager` removed, added _gcm_intr_thread for cellGcmSys
`PPUThread` renamed to `ppu_thread`, inheritance allowed
Added lightweight command queue for `ppu_thread`
Implemented call stack dump for PPU
`get_current_thread_mutex` removed
`thread_ctrl::spawn`: minor initialization fix
`thread_ctrl::wait_for` added
`named_thread`: some methods added
`cpu_thread::run` added
Some bugs fixes, including SPU channels
2016-07-30 16:35:02 +03:00
Nekotekina
44bee7d0ba LLVM: Use small code model
Global variables modified:
__mptr: pointer to memory base addr
__cptr: pointer to function map addr

Use 32 bit pointers in function map
2016-07-25 18:26:02 +03:00
Nekotekina
a026d35c97 sys_interrupt_thread_eoi fixed
thread_ctrl::interrupt improved
BIND_FUNC improved: preparations
2016-07-24 21:06:07 +03:00
Nekotekina
7ccdea7822 Removed std::enable_shared_from_this
Minor ID manager refactoring
2016-07-24 21:06:05 +03:00