
주요 목표:
진행 방식:
User mode:
Kernel mode:
fork(), exec(), exit()open(), read(), write(), close()ioctl(), read(), write()pipe(), shmget(), mmap()0: 표준 입력 (stdin)1: 표준 출력 (stdout)2: 표준 에러 (stderr)| 특징 | 32-bit OS | 64-bit OS |
|---|---|---|
| 메모리 주소 지정 | 최대 4GB | 이론상 16EB |
| 레지스터 크기 | 32비트 | 64비트 |
| 성능 | 상대적으로 낮음 | 높음 |
| 호환성 | 대부분의 레거시 소프트웨어와 호환 | 최신 소프트웨어 지원 |
$ sudo apt update
$ sudo apt install -y gcc make qemu-system-x86 python3$ git clone --bare https://github.com/casys-kaist/pintos-kaist.git
$ cd pintos-kaist.git
$ git push --mirror https://github.com/${팀ID}/pintos-kaist.git
$ cd ..
$ rm -rf pintos-kaist.git
$ git clone https://github.com/${팀ID}/pintos-kaist.git$ cd pintos-kaist
$ source ./activate
$ cd userprog
$ make checkuserprog 디렉토리에서 다음 테스트를 통과하도록 구현args-none, args-single, args-multiple, halt, exit 등create-normal, open-normal, write-normal 등fork-once, exec-once, wait-simple 등bad-read, bad-write, bad-jump 등💡 참고: