libc in kernel space or user space?
Posted: Tue Jul 10, 2007 10:44 am
Sorry for such a dumb question. I'm new to OS development. I've been looking up information on newlib and am interested in porting it to my OS. I don't really understand how this works. I've found some instructions detailing how to actually go about the porting, but once I've done that, do I link it with user space applications or not?
Basically what I am asking is that once I port newlib, can I use functions like malloc and free in my kernel code, or is libc designed specifically for use by user space applications?
Basically what I am asking is that once I port newlib, can I use functions like malloc and free in my kernel code, or is libc designed specifically for use by user space applications?