benben xiao xiaoxiaoben@hotmail.com writes:
I recently see the Fiasco resoure.I have a problem that I found main.cc 55 kernel_thread_t *kernel=new(&config::kernel_id); call main.cc 80 kernel_thread_t::operator new(size_t,threadid_t id);. I don't know how to transmit the parameter of type size_t.
You don't -- the compiler generates it implicitly. There is a difference between the "new" operator and the "operator new" function. For more information please consult a good book on C++.
Michael
l4-hackers@os.inf.tu-dresden.de