MCPcopy Create free account
hub / github.com/YatSenOS/YatSenOS-Tutorial-Volume-1 / first_thread

Function first_thread

lab7/src/4/src/kernel/setup.cpp:18–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16MemoryManager memoryManager;
17
18void first_thread(void *arg)
19{
20 // 第1个线程不可以返回
21 // stdio.moveCursor(0);
22 // for (int i = 0; i < 25 * 80; ++i)
23 // {
24 // stdio.print(' ');
25 // }
26 // stdio.moveCursor(0);
27
28 asm_halt();
29}
30
31extern "C" void setup_kernel()
32{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected