git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: kprintf now goes into dedicated pseudo-dev rather than flooding the framebuffer
[lunaix-os.git]
/
lunaix-os
/
kernel
/
process
/
process.c
diff --git
a/lunaix-os/kernel/process/process.c
b/lunaix-os/kernel/process/process.c
index 370a5425c8636f21f3a6d05ce8491dc840433b29..2a4bdb452c8314fbda85776c56fdaaf6fe2bea58 100644
(file)
--- a/
lunaix-os/kernel/process/process.c
+++ b/
lunaix-os/kernel/process/process.c
@@
-160,7
+160,7
@@
init_proc_user_space(struct proc_info* pcb)
int status = 0;
if ((status = mem_map(NULL, &mapped, USR_STACK, NULL, ¶m))) {
- kprint
_panic(
"fail to alloc user stack: %d", status);
+ kprint
f(KFATAL
"fail to alloc user stack: %d", status);
}
mapped->region_copied = __stack_copied;