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

Method run

lab8/src/7/src/kernel/shell.cpp:15–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15void Shell::run()
16{
17 move_cursor(0, 0);
18 for(int i = 0; i < 25; ++i ) {
19 for(int j = 0; j < 80; ++j ) {
20 printf(" ");
21 }
22 }
23 move_cursor(0, 0);
24
25 printLogo();
26
27 move_cursor(7, 26);
28 printf("Welcome to SUMMER Project!\n");
29 printf(" https://gitee.com/nelsoncheung/sysu-2021-spring-operating-system/\n\n");
30 printf(" SUMMER is an OS course project.\n\n"
31 " Proposed and led by\n"
32 " Prof. PengFei Chen.\n\n"
33 " Developed by\n"
34 " Prof. PengFei Chen,\n"
35 " HPC and AI students in grade 2019,\n"
36 " HongYang Chen,\n"
37 " WenXin Xie,\n"
38 " YuZe Fu,\n"
39 " Nelson Cheung.\n\n"
40 );
41
42
43 asm_halt();
44}
45
46void Shell::printLogo()
47{

Callers 1

first_processFunction · 0.80

Calls 2

move_cursorFunction · 0.85
printfFunction · 0.70

Tested by

no test coverage detected