Compare commits
2 Commits
7ef751ba95
...
fa900df5a7
Author | SHA1 | Date |
---|---|---|
Bananymous | fa900df5a7 | |
Bananymous | 414f0f6cd9 |
|
@ -362,6 +362,10 @@ done:
|
||||||
dprintln("no handler for irq 0x{2H}", irq);
|
dprintln("no handler for irq 0x{2H}", irq);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto& current_thread = Thread::current();
|
||||||
|
if (current_thread.can_add_signal_to_execute())
|
||||||
|
current_thread.handle_signal();
|
||||||
|
|
||||||
Scheduler::get().reschedule_if_idling();
|
Scheduler::get().reschedule_if_idling();
|
||||||
|
|
||||||
ASSERT(Thread::current().state() != Thread::State::Terminated);
|
ASSERT(Thread::current().state() != Thread::State::Terminated);
|
||||||
|
|
|
@ -56,7 +56,8 @@ add_subdirectory(aoc2023)
|
||||||
|
|
||||||
foreach(USERSPACE_PROJECT ${USERSPACE_PROJECTS})
|
foreach(USERSPACE_PROJECT ${USERSPACE_PROJECTS})
|
||||||
target_compile_options(${USERSPACE_PROJECT} PRIVATE -g)
|
target_compile_options(${USERSPACE_PROJECT} PRIVATE -g)
|
||||||
add_dependencies(${USERSPACE_PROJECT} libc-install ban-install)
|
|
||||||
add_dependencies(userspace ${USERSPACE_PROJECT})
|
add_dependencies(userspace ${USERSPACE_PROJECT})
|
||||||
add_dependencies(userspace-install ${USERSPACE_PROJECT}-install)
|
add_dependencies(userspace-install ${USERSPACE_PROJECT}-install)
|
||||||
|
|
||||||
|
target_link_options(${USERSPACE_PROJECT} PRIVATE -nolibc)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
Loading…
Reference in New Issue