nachos 설치및 커널클래스분석
- 최초 등록일
- 2003.03.31
- 최종 저작일
- 2003.03
- 20페이지/ 한컴오피스
- 가격 1,000원
목차
1. cross-compiler 설치 및 개발환경 구성
2. Nachos compile 및 test
3. Test application 수행
4. Machine.main() 함수 및 Kernel class 분석
1) Machine.main()
2) Kernel.java 분석
3) ThreadedKernel.java 분석
4) UserKernel.java 분석
5) proj1/, proj2/ 두 디렉토리에서 nachos를 실행할 때 main()함수가 수행하는 작업의 차이점
6) Config, Security class 분석
본문내용
source 세부 분석
1 public static void main(final String[] args) {
2 System.out.print("nachos 5.0j initializing...");
■ main 함수시작
4 Lib.assert(Machine.args == null);
■ Lib.assert(boolean) 은 boolean 값이 true일 경우는 계속해서 프로그램을 수행하고 boolean값이 false 경우에는 에러처리 후 프로그램 종료
5 Machine.args = args;
■ command line arguments(명령행인자)를 Machine.args 에 저장
7 // get the current directory (.)
8 baseDirectory = new File(new File("").getAbsolutePath());
9 // get the nachos directory (./nachos)
10 nachosDirectory = new File(baseDirectory, "nachos");
11 // get the test directory (../test)
참고 자료
없음