Browse Source
fix compile on linux
remotes/1785372757367212240/tmp_refs/heads/variable-page-size
Exverge
1 month ago
No known key found for this signature in database
GPG Key ID: DAD399BCC5FB77E4
1 changed files with
1 additions and
1 deletions
-
src/core/arm/nce/arm_nce.cpp
|
|
@ -605,7 +605,7 @@ void ArmNce::SignalInterrupt(Kernel::KThread* thread) { |
|
|
// We should signal to the running thread.
|
|
|
// We should signal to the running thread.
|
|
|
// The running thread will unlock the thread context.
|
|
|
// The running thread will unlock the thread context.
|
|
|
#if defined(__linux__)
|
|
|
#if defined(__linux__)
|
|
|
syscall(SYS_tkill, m_thread_id, BreakFromRunCodeSignal); |
|
|
|
|
|
|
|
|
syscall(SYS_tkill, m_thread_id, SIGURG); // BreakFromRunCodeSignal
|
|
|
#elif defined(__APPLE__)
|
|
|
#elif defined(__APPLE__)
|
|
|
asm volatile( |
|
|
asm volatile( |
|
|
"mov x0, %0\n" // m_thread_id
|
|
|
"mov x0, %0\n" // m_thread_id
|
|
|
|