본문 바로가기

학부_대학원/대학원_학과공부정리

(37)
GIT Gitgit init : 처음 작업할 Dir을 설정한다. git config --user.name "richong" : user name을 설정한다. git config --user.email "richong@richong.com" : user email을 설정한다. git add .[dot] : 파일의 변경유무를 확인하기 위해서는 git이 감시하고 있어야한다. 파일이 추가되거나 할 경우, git add .을 통해서 해당 파일을 감시하라~라고 지시하는것 같다. git commit .[dot] or filename : 코드의 변경이 생겼으면 변경이 생긴 내용을 snapshot 찍듯이 찍는것이다. 그리고 comment를 적을 수있다. 해당 commit에서 즉 이번 사진에서는 어딜 갔다 이렇게 적어 놓는것, ..
xen-정리필요 메모리 보호되어 있는 글입니다.
[Lecture] LaTeX - 6 보호되어 있는 글입니다.
[Lecture] LaTeX - 5 보호되어 있는 글입니다.
[Lecture] LaTeX - 4 보호되어 있는 글입니다.
[Lecture] LaTeX - 3 보호되어 있는 글입니다.
GeekOS - pro0 Target : 5.1 The AssignmentAdd code to the kernel to create a new kernel mode thread. The kernel mode thread should print out ”Hellofrom xxx” where xxx is your name. It should then call the keyboard input routine Wait_For_Key() repeatly(and echo each character entered) until the termination character (control-d) is entered. Wait_For_Key()를 먼저 살펴본다. Keycode Wait_For_Key(void){ bool gotKey, iflag;..
GeekOS - pre knowledge GEEKOS 사전 지식? 사용가능 함수memcpystrcpysnprintfmallocfreePrint 스택의 한계각 스레드마다 4K Stack 제한이 있음. Memory Protectionprotect mode가 아니여서 코딩 할 때 조심 해야한다. Project를 진행하면서 좋은 습관.. Use Assertions : KASSERT() BOOL TYPE 변수들을 확인 할 때 사용된다. 만약에 false가 나오면 커널을 멈추고 Message를 호출해준다. --> 오류 수정시 편하다. Use Print Statements현재 상황을 눈으로 보는것 만큼 좋은것은 없다. 물론.. 눈으로 본다는 것은 print와 같은 함수로상황을 체크하는 것이다. Test Early and often약간.. 자신을 믿지 말라는..