There was an error fetching the commit references. Please try again later.
Scheduler refactor Pt. 1
* Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid for a thread at any given point in the system. * Removes dead code from thread.cpp. * Moves the implementation of resetting a ThreadContext to the corresponding core's implementation. Other changes: * Fixed comments in arm interfaces. * Updated comments in thread.cpp * Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp. * Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation.
Showing
- src/core/arm/arm_interface.h 9 additions, 0 deletionssrc/core/arm/arm_interface.h
- src/core/arm/dyncom/arm_dyncom.cpp 10 additions, 0 deletionssrc/core/arm/dyncom/arm_dyncom.cpp
- src/core/arm/dyncom/arm_dyncom.h 1 addition, 56 deletionssrc/core/arm/dyncom/arm_dyncom.h
- src/core/hle/kernel/kernel.cpp 1 addition, 5 deletionssrc/core/hle/kernel/kernel.cpp
- src/core/hle/kernel/thread.cpp 175 additions, 185 deletionssrc/core/hle/kernel/thread.cpp
- src/core/hle/kernel/thread.h 82 additions, 33 deletionssrc/core/hle/kernel/thread.h
- src/core/hle/svc.cpp 9 additions, 5 deletionssrc/core/hle/svc.cpp
This diff is collapsed.
Please register or sign in to comment