Skip to content
This repository has been archived by the owner on Dec 13, 2017. It is now read-only.

Change the parameters of start #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

roblabla
Copy link
Contributor

@roblabla roblabla commented Dec 2, 2017

On the switch, start takes two parameters : an exception pointer, and a handle to the main thread. For libtransistor, we'll also add a third one: a context handle. This should allow ace_loader to start apps expecting the usual switch treatment, while still providing the context to libtransistor binaries.

We get the main_thread from the main thread's context when locating the webkit threads to kill.

Should be merged together with reswitched/libtransistor#45

On the switch, `start` takes two parameters : an exception pointer,
and a handle to the main thread. For libtransistor, we'll also add
a third one: a context handle. This should allow ace_loader to start
apps expecting the usual switch treatment, while still providing the
context to libtransistor binaries.
@roblabla
Copy link
Contributor Author

roblabla commented Dec 7, 2017

Changed this PR a bit to use svcGetThreadId to acquire the thread handle, instead of stealing it from webkit's TLS (which was more fragile, and less portable).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant