38 Commits

Author SHA1 Message Date
twinaphex
16a1caa26a Updates 2020-06-04 23:47:40 +02:00
Vladimir Serbinenko
d45cba6215 Mark co_switch_arm as thumb function when using thumb
Without this we end up trying to execute thumb code as arm which results
in a crash
2020-05-01 23:47:55 +02:00
Vladimir Serbinenko
1c38a2289a Rewrite psp1 libco
Major differences:

1. Use of SceUID casted to void* as cothread_t. This fixes semantics of
   co_active which now cann be called several times with results staying valid
   and removes bunch of malloc and free
2. In co_create immediately suspend new thread to avoid it running
   simultaneoulsy with creating thread
2020-04-28 00:07:25 +02:00
Vladimir Serbinenko
d9725938f6 libco/amd64: Replace windows variant with code from higan
Current code does store and store for xmm registers instead of
store and restore. We can fix our code but it's better to resync it
with higan instead
2020-04-24 18:33:33 +02:00
Vladimir Serbinenko
cb7e0a6e28 libco/psp2.c: Delete
It's not actually used as vita (psp2) is covered by scefiber case which is also
more memory-efficient as it doesn't allocate 1MiB of RAM for 12-byte function.
2020-04-23 05:36:51 +02:00
twinaphex
4c71603e94 Updates 2020-01-07 23:00:13 +01:00
twinaphex
11ce906571 Updates 2019-02-02 05:12:52 +01:00
Emery Hemingway
9f8bf3ba8c Libco Genode support
Creating a co-thread on Genode needs support from the OS because stacks
are expecting to be located in a dedicated region with a specific
layout. Communication with the kernel and other components is not
possible from arbitrary stack regions.
2018-09-23 11:26:45 +02:00
twinaphex
a2e5a51fae Updates 2018-02-17 15:22:51 +01:00
twinaphex
1b9b91d28c Updates 2017-12-16 15:42:02 +01:00
twinaphex
d9a6674fe5 Update libco 2017-09-06 00:46:58 +02:00
twinaphex
fe4784e7ed Update 2016-09-11 11:54:34 +02:00
twinaphex
87b5ef252c Cleanups 2016-09-06 23:21:29 +02:00
twinaphex
4a7898fd48 Update 2016-09-06 00:39:21 +02:00
LEGOAnimal22
5fa0595dfd "crash" defined but not used 2016-08-26 21:58:15 -06:00
twinaphex
2064b82d81 Update 2016-08-20 21:56:10 +02:00
twinaphex
1d6815a1a6 Update 2016-08-15 04:28:32 +02:00
twinaphex
3c052a5cf8 Update 2016-03-31 13:32:04 +02:00
twinaphex
3592b70d22 Update libretro-common 2015-08-29 18:40:10 +02:00
Alcaro
d477618373 Synchronize with RetroArch 2015-06-26 16:03:40 +02:00
twinaphex
6b6800a32b Update 2015-04-26 05:38:38 +02:00
twinaphex
f78fbffc88 Update 2015-04-22 18:52:09 +02:00
Twinaphex
fec2a611d5 Merge pull request #1 from iKarith/master
git doesn't really like trailing whitespace, remove it
2015-03-18 16:37:30 +01:00
Alcaro
393b9c7b34 Update libco some more. 2015-03-18 15:06:55 +01:00
T. Joseph Carter
0c3bf638d1 git doesn't really like trailing whitespace, remove it 2015-03-18 06:32:28 -07:00
twinaphex
b18eb08adc Update 2015-02-10 19:00:37 +01:00
Alcaro
185f727b97 Fix libco under OS X. 2015-01-30 22:30:46 +01:00
Alcaro
3ac6c942f8 Fix build errors under C++. Stupid name mangling. 2015-01-23 09:54:11 +01:00
Alcaro
aa5ae38ce4 Whoops, apparently I based that on an older libco. Merging... 2015-01-12 10:20:22 +01:00
Alcaro
8a62f15fd8 Mirror these changes from bsnes-mercury. 2015-01-12 10:18:15 +01:00
twinaphex
1f5e72280d Update SDK 2014-12-10 17:59:57 +01:00
twinaphex
82e1a39ccc (Libco ARM) Add back <malloc.h> header include 2014-10-29 20:33:42 +01:00
twinaphex
e1fdc06e93 Update SDK 2014-10-25 06:18:31 +02:00
Alcaro
84e99f7f8d Disassemble these three for improved readability. 2014-10-23 23:55:57 +02:00
twinaphex
785cb434e5 Update SDK 2014-10-23 08:20:16 +02:00
twinaphex
ff0281b775 Update SDK 2014-10-21 19:26:21 +02:00
twinaphex
2d85c516d4 (libco) Indenting nits 2014-10-20 02:07:25 +02:00
twinaphex
0e9cdfc4d5 Add libco 2014-10-20 01:38:33 +02:00