[kernel] tweak a few thread apis to to take a const pointer

A bit of reformatting on some ARM code while was touching it.
This commit is contained in:
Travis Geiselbrecht
2025-09-20 13:40:10 -07:00
parent f5999d5a40
commit e739abc490
14 changed files with 110 additions and 92 deletions

View File

@@ -77,7 +77,7 @@ void arch_thread_initialize(thread_t *t) {
t->arch.sp = (vaddr_t)frame;
}
void arch_dump_thread(thread_t *t) {
void arch_dump_thread(const thread_t *t) {
if (t->state != THREAD_RUNNING) {
dprintf(INFO, "\tarch: ");
dprintf(INFO, "sp 0x%lx\n", t->arch.sp);