Commit graph

65 commits

Author SHA1 Message Date
misson20000 9b5b231345
Merge pull request #22 from maci0/master
Add Dockerfile and info how to run Mephisto from docker
2017-12-13 14:18:10 -08:00
Marcel Wysocki b8105e4efb add library path, use current uid at runtime, so homedir is accessible 2017-12-13 23:13:32 +01:00
Marcel Wysocki 2fe08ebcd9 use nobody users home directory 2017-12-13 22:56:57 +01:00
Marcel Wysocki daf97c5336 use nobody user for the container, minor readme changes 2017-12-13 22:00:54 +01:00
misson20000 ce938140e3
Merge pull request #21 from roblabla/dev
Bunch of fixes
2017-12-13 12:12:06 -08:00
Marcel Wysocki 8563f15123 Add Dockerfile and info how to run Mephisto from docker 2017-12-13 20:31:28 +01:00
roblabla 13c6df347e Avoid segfault when single stepping into an SVC 2017-12-10 21:49:14 +01:00
roblabla 437888490e Set TLS size to a single page (allows creating more thread). Unmap TLS once thread is terminated. 2017-12-10 21:49:14 +01:00
roblabla f4f2a37ca4 Handle sending thread signal from breakpoint 2017-12-10 21:49:14 +01:00
roblabla b8dc6830d6 Set return value for SleepThread when yielding 2017-12-10 21:49:14 +01:00
roblabla c586044616 Set return value for SvcWaitProcessWideKeyAtomic 2017-12-10 21:49:14 +01:00
misson20000 713d2643fe Merge remote-tracking branch 'roblabla/feature-gdbMultithread' 2017-12-06 17:56:39 -08:00
misson20000 290c38d9bd Merge remote-tracking branch 'roblabla/feature-sleepYield' 2017-12-06 17:53:24 -08:00
misson20000 112c75e6d9 Merge remote-tracking branch 'roblabla/bugfix-setHeapSize' 2017-12-06 17:44:34 -08:00
misson20000 d048209084 Merge remote-tracking branch 'roblabla/bugfix-tlsCtxNull' 2017-12-06 17:39:13 -08:00
misson20000 e0585722f4
Merge pull request #19 from yellows8/amhid
Added ipcimpl for am and hid.
2017-12-06 17:35:03 -08:00
yellows8 3faa896a4f Added ipcimpl for am and hid. 2017-12-06 17:44:25 -05:00
roblabla 4f5727427b Leave TLS pointer to NULL for userspace 2017-12-06 00:59:15 +01:00
roblabla a405227f02 Make SleepThread yield execution to other threads 2017-12-06 00:53:59 +01:00
roblabla 865528074f Tell GDB about the threads, allow switching between them when single stepping 2017-12-06 00:53:14 +01:00
misson20000 99c42d1edb
Merge pull request #14 from vgmoose/master
[macos] fix compiling issues
2017-11-22 19:53:04 -08:00
vgmoose 1f891f27a9
passthrough htons/ntohs values on macos for sa_family 2017-11-22 21:40:42 -05:00
roblabla 2eaeee712c Fix calling svcSetHeapSize multiple times 2017-11-18 22:03:00 +01:00
Caden Kline a2081b8b62
Merge pull request #1 from vgmoose/master
[macos] Fix printf differences for travis build
2017-11-15 20:13:21 -05:00
Caden Kline a78a882153
Merge branch 'master' into master 2017-11-15 20:13:00 -05:00
Caden Kline b515389738
Merge branch 'master' into master 2017-11-15 20:11:07 -05:00
vgmoose 2f5d055540
remove unused byteswap.h include (per 1955569) 2017-11-14 22:37:18 -05:00
vgmoose 76d620665d
add lz4 to travis.yml for macos 2017-11-14 21:01:52 -05:00
vgmoose 4e12e680df Merge branch 'master' of github.com:Pokemod97/Mephisto 2017-11-14 20:45:12 -05:00
vgmoose b1007d44f5
use different printf format on macos 2017-11-14 20:42:20 -05:00
Caden Kline 15a7c641e8 Merge remote-tracking branch 'reswitched/master' 2017-11-08 20:01:08 -05:00
misson20000 3b2063f6c7 updates and such from private 2017-11-05 11:15:26 -08:00
misson20000 6081adccfa fix IPC domain response header 2017-11-04 21:13:47 -07:00
Caden Kline 17dbc5b542 travis osx
https://github.com/reswitched/Mephisto/issues/9
2017-10-22 14:22:52 -04:00
misson20000 e7792e5319 Merge pull request #10 from RKX1209/remove_byteswap
Removed unnecessary include byteswap.h
2017-10-22 01:21:46 -07:00
rkx1209 1955569cd4 Removed unnecessary include byteswap.h
In macOS, byteswap.h does not exist.
It causes build error in such environment.
2017-10-22 14:21:48 +09:00
misson20000 6092782cc0 ugh. unnecessary __attribute__((packed)) isn't a warning on the version of clang I use 2017-10-13 22:42:51 -07:00
misson20000 2f48e02c95 update BSD stubs, add GetAddrInfo (pack/unpack addrinfo routines pretty much copied from libtransistor, so they're not very C++) 2017-10-13 22:36:12 -07:00
misson20000 176172f51c remove some debug output from stupid linker 2017-10-11 22:15:33 -07:00
misson20000 626063f3c9 Merge pull request #7 from d3m3vilurr/error-sm-get-service
Return error instead exit at input invalid service name
2017-10-10 20:07:38 -07:00
Sunguk Lee a9448738b9
Return error instead exit at input invalid service name
This patch resupport libnx.

libnx will pass intentionally wrong input on `smInitialize` API
for checking sm initialized information.

but libtransistor not yet implemented this checking.

https://github.com/switchbrew/libnx/blob/3926969/nx/source/services/sm.c#L16
2017-10-11 01:44:18 +09:00
misson20000 ce929dafbf implement bsd sendto and shutdown 2017-10-03 20:02:34 -07:00
misson20000 8b0fca1f5c add travis badge to README 2017-10-03 19:17:03 -07:00
misson20000 1b7e870eab return exit codes based off of what the guest's main returns with (if this breaks running any nintendo code I can probably come up with something else) 2017-10-03 19:14:17 -07:00
misson20000 2787a927b6 Merge pull request #5 from Pokemod97/patch-1
python2
2017-10-03 16:01:56 -07:00
misson20000 e8e6eb3c85 Merge pull request #6 from Pokemod97/master
Travis
2017-10-03 15:53:42 -07:00
caden 7f5e68692e new file: .travis.yml 2017-10-03 18:12:55 -04:00
Caden Kline c9f945bb2f python2 2017-10-03 07:58:57 -04:00
misson20000 ffdf4939bf more bsd impl 2017-10-02 16:50:30 -07:00
misson20000 09e5c7f9d6 Merge branch 'master' of github.com:reswitched/Mephisto 2017-10-01 21:40:20 -07:00