1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

add additional debug message

This commit is contained in:
Stefan Lankes 2016-06-03 17:17:56 +02:00
parent 3dea76c4b9
commit a0fab89608

View file

@ -88,7 +88,8 @@ int create_default_frame(task_t* task, entry_point_t ep, void* arg, uint32_t cor
if (BUILTIN_EXPECT(!task->stack, 0))
return -EINVAL;
kprintf("Task %d use use the memory region [%p - %p] as kernel stack\n", task->id, task->stack, (char*) task->stack + DEFAULT_STACK_SIZE - 1);
kprintf("Task %d use use the memory region [%p - %p] as stack\n", task->id, task->stack, (char*) task->stack + DEFAULT_STACK_SIZE - 1);
kprintf("Task %d use use the memory region [%p - %p] as IST1\n", task->id, task->ist_addr, (char*) task->ist_addr + DEFAULT_STACK_SIZE - 1);
memset(task->stack, 0xCD, DEFAULT_STACK_SIZE);