在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → pintos project2 源代码.rar

pintos project2 源代码.rar

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:2.56M
  • 下载次数:1
  • 浏览次数:60
  • 发布时间:2021-12-09
  • 实例类别:一般编程问题
  • 发 布 人:js2021
  • 文件格式:.rar
  • 所需积分:2
 

实例介绍

【实例简介】
pintos的project2源代码, project1是队友做的就不传了
【实例截图】
【核心代码】
4744302543408706068.rar
└── proj2
├── devices
│   ├── block.c
│   ├── block.h
│   ├── ide.c
│   ├── ide.h
│   ├── input.c
│   ├── input.h
│   ├── intq.c
│   ├── intq.h
│   ├── kbd.c
│   ├── kbd.h
│   ├── partition.c
│   ├── partition.h
│   ├── pit.c
│   ├── pit.h
│   ├── rtc.c
│   ├── rtc.h
│   ├── serial.c
│   ├── serial.h
│   ├── shutdown.c
│   ├── shutdown.h
│   ├── speaker.c
│   ├── speaker.h
│   ├── timer.c
│   ├── timer.h
│   ├── vga.c
│   └── vga.h
├── examples
│   ├── bubsort.c
│   ├── cat.c
│   ├── cmp.c
│   ├── cp.c
│   ├── echo.c
│   ├── halt.c
│   ├── hex-dump.c
│   ├── insult.c
│   ├── lib
│   │   └── user
│   ├── lineup.c
│   ├── ls.c
│   ├── Makefile
│   ├── matmult.c
│   ├── mcat.c
│   ├── mcp.c
│   ├── mkdir.c
│   ├── pwd.c
│   ├── recursor.c
│   ├── rm.c
│   └── shell.c
├── filesys
│   ├── directory.c
│   ├── directory.h
│   ├── file.c
│   ├── file.h
│   ├── filesys.c
│   ├── filesys.h
│   ├── free-map.c
│   ├── free-map.h
│   ├── fsutil.c
│   ├── fsutil.h
│   ├── inode.c
│   ├── inode.h
│   ├── Makefile
│   ├── Make.vars
│   └── off_t.h
├── lib
│   ├── arithmetic.c
│   ├── ctype.h
│   ├── debug.c
│   ├── debug.h
│   ├── inttypes.h
│   ├── kernel
│   │   ├── bitmap.c
│   │   ├── bitmap.h
│   │   ├── console.c
│   │   ├── console.h
│   │   ├── debug.c
│   │   ├── hash.c
│   │   ├── hash.h
│   │   ├── list.c
│   │   ├── list.h
│   │   └── stdio.h
│   ├── limits.h
│   ├── packed.h
│   ├── random.c
│   ├── random.h
│   ├── round.h
│   ├── stdarg.h
│   ├── stdbool.h
│   ├── stddef.h
│   ├── stdint.h
│   ├── stdio.c
│   ├── stdio.h
│   ├── stdlib.c
│   ├── stdlib.h
│   ├── string.c
│   ├── string.h
│   ├── syscall-nr.h
│   ├── user
│   │   ├── console.c
│   │   ├── debug.c
│   │   ├── entry.c
│   │   ├── stdio.h
│   │   ├── syscall.c
│   │   ├── syscall.h
│   │   └── user.lds
│   ├── ustar.c
│   └── ustar.h
├── LICENSE
├── Make.config
├── Makefile
├── Makefile.build
├── Makefile.kernel
├── Makefile.userprog
├── misc
│   ├── bochs-2.2.6-big-endian.patch
│   ├── bochs-2.2.6-build.sh
│   ├── bochs-2.2.6-gdbstub-ENN.patch
│   ├── bochs-2.2.6-jitter.patch
│   ├── bochs-2.2.6-ms-extensions.patch
│   ├── bochs-2.2.6-page-fault-segv.patch
│   ├── bochs-2.2.6-paranoia.patch
│   ├── bochs-2.2.6-solaris-link.patch
│   ├── bochs-2.2.6-solaris-tty.patch
│   ├── bochs-2.2.6-triple-fault.patch
│   ├── gcc-3.3.6-cross-howto
│   └── gdb-macros
├── tests
│   ├── Algorithm
│   │   └── Diff.pm
│   ├── arc4.c
│   ├── arc4.h
│   ├── arc4.pm
│   ├── cksum.c
│   ├── cksum.h
│   ├── cksum.pm
│   ├── filesys
│   │   ├── base
│   │   │   ├── child-syn-read.c
│   │   │   ├── child-syn-wrt.c
│   │   │   ├── full.inc
│   │   │   ├── lg-create.c
│   │   │   ├── lg-create.ck
│   │   │   ├── lg-full.c
│   │   │   ├── lg-full.ck
│   │   │   ├── lg-random.c
│   │   │   ├── lg-random.ck
│   │   │   ├── lg-seq-block.c
│   │   │   ├── lg-seq-block.ck
│   │   │   ├── lg-seq-random.c
│   │   │   ├── lg-seq-random.ck
│   │   │   ├── Make.tests
│   │   │   ├── random.inc
│   │   │   ├── Rubric
│   │   │   ├── seq-block.inc
│   │   │   ├── seq-random.inc
│   │   │   ├── sm-create.c
│   │   │   ├── sm-create.ck
│   │   │   ├── sm-full.c
│   │   │   ├── sm-full.ck
│   │   │   ├── sm-random.c
│   │   │   ├── sm-random.ck
│   │   │   ├── sm-seq-block.c
│   │   │   ├── sm-seq-block.ck
│   │   │   ├── sm-seq-random.c
│   │   │   ├── sm-seq-random.ck
│   │   │   ├── syn-read.c
│   │   │   ├── syn-read.ck
│   │   │   ├── syn-read.h
│   │   │   ├── syn-remove.c
│   │   │   ├── syn-remove.ck
│   │   │   ├── syn-write.c
│   │   │   ├── syn-write.ck
│   │   │   └── syn-write.h
│   │   ├── create.inc
│   │   ├── extended
│   │   │   ├── child-syn-rw.c
│   │   │   ├── dir-empty-name.c
│   │   │   ├── dir-empty-name.ck
│   │   │   ├── dir-empty-name-persistence.ck
│   │   │   ├── dir-mkdir.c
│   │   │   ├── dir-mkdir.ck
│   │   │   ├── dir-mkdir-persistence.ck
│   │   │   ├── dir-mk-tree.c
│   │   │   ├── dir-mk-tree.ck
│   │   │   ├── dir-mk-tree-persistence.ck
│   │   │   ├── dir-open.c
│   │   │   ├── dir-open.ck
│   │   │   ├── dir-open-persistence.ck
│   │   │   ├── dir-over-file.c
│   │   │   ├── dir-over-file.ck
│   │   │   ├── dir-over-file-persistence.ck
│   │   │   ├── dir-rm-cwd.c
│   │   │   ├── dir-rm-cwd.ck
│   │   │   ├── dir-rm-cwd-persistence.ck
│   │   │   ├── dir-rmdir.c
│   │   │   ├── dir-rmdir.ck
│   │   │   ├── dir-rmdir-persistence.ck
│   │   │   ├── dir-rm-parent.c
│   │   │   ├── dir-rm-parent.ck
│   │   │   ├── dir-rm-parent-persistence.ck
│   │   │   ├── dir-rm-root.c
│   │   │   ├── dir-rm-root.ck
│   │   │   ├── dir-rm-root-persistence.ck
│   │   │   ├── dir-rm-tree.c
│   │   │   ├── dir-rm-tree.ck
│   │   │   ├── dir-rm-tree-persistence.ck
│   │   │   ├── dir-under-file.c
│   │   │   ├── dir-under-file.ck
│   │   │   ├── dir-under-file-persistence.ck
│   │   │   ├── dir-vine.c
│   │   │   ├── dir-vine.ck
│   │   │   ├── dir-vine-persistence.ck
│   │   │   ├── grow-create.c
│   │   │   ├── grow-create.ck
│   │   │   ├── grow-create-persistence.ck
│   │   │   ├── grow-dir.inc
│   │   │   ├── grow-dir-lg.c
│   │   │   ├── grow-dir-lg.ck
│   │   │   ├── grow-dir-lg-persistence.ck
│   │   │   ├── grow-file-size.c
│   │   │   ├── grow-file-size.ck
│   │   │   ├── grow-file-size-persistence.ck
│   │   │   ├── grow-root-lg.c
│   │   │   ├── grow-root-lg.ck
│   │   │   ├── grow-root-lg-persistence.ck
│   │   │   ├── grow-root-sm.c
│   │   │   ├── grow-root-sm.ck
│   │   │   ├── grow-root-sm-persistence.ck
│   │   │   ├── grow-seq.inc
│   │   │   ├── grow-seq-lg.c
│   │   │   ├── grow-seq-lg.ck
│   │   │   ├── grow-seq-lg-persistence.ck
│   │   │   ├── grow-seq-sm.c
│   │   │   ├── grow-seq-sm.ck
│   │   │   ├── grow-seq-sm-persistence.ck
│   │   │   ├── grow-sparse.c
│   │   │   ├── grow-sparse.ck
│   │   │   ├── grow-sparse-persistence.ck
│   │   │   ├── grow-tell.c
│   │   │   ├── grow-tell.ck
│   │   │   ├── grow-tell-persistence.ck
│   │   │   ├── grow-two-files.c
│   │   │   ├── grow-two-files.ck
│   │   │   ├── grow-two-files-persistence.ck
│   │   │   ├── Make.tests
│   │   │   ├── mk-tree.c
│   │   │   ├── mk-tree.h
│   │   │   ├── Rubric.functionality
│   │   │   ├── Rubric.persistence
│   │   │   ├── Rubric.robustness
│   │   │   ├── syn-rw.c
│   │   │   ├── syn-rw.ck
│   │   │   ├── syn-rw.h
│   │   │   ├── syn-rw-persistence.ck
│   │   │   └── tar.c
│   │   ├── Grading.no-vm
│   │   ├── Grading.with-vm
│   │   ├── seq-test.c
│   │   └── seq-test.h
│   ├── internal
│   │   ├── list.c
│   │   ├── stdio.c
│   │   └── stdlib.c
│   ├── lib.c
│   ├── lib.h
│   ├── lib.pm
│   ├── main.c
│   ├── main.h
│   ├── make-grade
│   ├── Make.tests
│   ├── random.pm
│   ├── tests.pm
│   ├── threads
│   │   ├── alarm-multiple.ck
│   │   ├── alarm-negative.c
│   │   ├── alarm-negative.ck
│   │   ├── alarm.pm
│   │   ├── alarm-priority.c
│   │   ├── alarm-priority.ck
│   │   ├── alarm-simultaneous.c
│   │   ├── alarm-simultaneous.ck
│   │   ├── alarm-single.ck
│   │   ├── alarm-wait.c
│   │   ├── alarm-zero.c
│   │   ├── alarm-zero.ck
│   │   ├── Grading
│   │   ├── Make.tests
│   │   ├── mlfqs-block.c
│   │   ├── mlfqs-block.ck
│   │   ├── mlfqs-fair-20.ck
│   │   ├── mlfqs-fair-2.ck
│   │   ├── mlfqs-fair.c
│   │   ├── mlfqs-load-1.c
│   │   ├── mlfqs-load-1.ck
│   │   ├── mlfqs-load-60.c
│   │   ├── mlfqs-load-60.ck
│   │   ├── mlfqs-load-avg.c
│   │   ├── mlfqs-load-avg.ck
│   │   ├── mlfqs-nice-10.ck
│   │   ├── mlfqs-nice-2.ck
│   │   ├── mlfqs.pm
│   │   ├── mlfqs-recent-1.c
│   │   ├── mlfqs-recent-1.ck
│   │   ├── priority-change.c
│   │   ├── priority-change.ck
│   │   ├── priority-condvar.c
│   │   ├── priority-condvar.ck
│   │   ├── priority-donate-chain.c
│   │   ├── priority-donate-chain.ck
│   │   ├── priority-donate-lower.c
│   │   ├── priority-donate-lower.ck
│   │   ├── priority-donate-multiple2.c
│   │   ├── priority-donate-multiple2.ck
│   │   ├── priority-donate-multiple.c
│   │   ├── priority-donate-multiple.ck
│   │   ├── priority-donate-nest.c
│   │   ├── priority-donate-nest.ck
│   │   ├── priority-donate-one.c
│   │   ├── priority-donate-one.ck
│   │   ├── priority-donate-sema.c
│   │   ├── priority-donate-sema.ck
│   │   ├── priority-fifo.c
│   │   ├── priority-fifo.ck
│   │   ├── priority-preempt.c
│   │   ├── priority-preempt.ck
│   │   ├── priority-sema.c
│   │   ├── priority-sema.ck
│   │   ├── Rubric.alarm
│   │   ├── Rubric.mlfqs
│   │   ├── Rubric.priority
│   │   ├── tests.c
│   │   └── tests.h
│   ├── userprog
│   │   ├── args.c
│   │   ├── args-dbl-space.ck
│   │   ├── args-many.ck
│   │   ├── args-multiple.ck
│   │   ├── args-none.ck
│   │   ├── args-single.ck
│   │   ├── bad-jump2.c
│   │   ├── bad-jump2.ck
│   │   ├── bad-jump.c
│   │   ├── bad-jump.ck
│   │   ├── bad-read2.c
│   │   ├── bad-read2.ck
│   │   ├── bad-read.c
│   │   ├── bad-read.ck
│   │   ├── bad-write2.c
│   │   ├── bad-write2.ck
│   │   ├── bad-write.c
│   │   ├── bad-write.ck
│   │   ├── boundary.c
│   │   ├── boundary.h
│   │   ├── child-bad.c
│   │   ├── child-close.c
│   │   ├── child-rox.c
│   │   ├── child-simple.c
│   │   ├── close-bad-fd.c
│   │   ├── close-bad-fd.ck
│   │   ├── close-normal.c
│   │   ├── close-normal.ck
│   │   ├── close-stdin.c
│   │   ├── close-stdin.ck
│   │   ├── close-stdout.c
│   │   ├── close-stdout.ck
│   │   ├── close-twice.c
│   │   ├── close-twice.ck
│   │   ├── create-bad-ptr.c
│   │   ├── create-bad-ptr.ck
│   │   ├── create-bound.c
│   │   ├── create-bound.ck
│   │   ├── create-empty.c
│   │   ├── create-empty.ck
│   │   ├── create-exists.c
│   │   ├── create-exists.ck
│   │   ├── create-long.c
│   │   ├── create-long.ck
│   │   ├── create-normal.c
│   │   ├── create-normal.ck
│   │   ├── create-null.c
│   │   ├── create-null.ck
│   │   ├── exec-arg.c
│   │   ├── exec-arg.ck
│   │   ├── exec-bad-ptr.c
│   │   ├── exec-bad-ptr.ck
│   │   ├── exec-missing.c
│   │   ├── exec-missing.ck
│   │   ├── exec-multiple.c
│   │   ├── exec-multiple.ck
│   │   ├── exec-once.c
│   │   ├── exec-once.ck
│   │   ├── exit.c
│   │   ├── exit.ck
│   │   ├── Grading
│   │   ├── halt.c
│   │   ├── halt.ck
│   │   ├── lib
│   │   │   └── user
│   │   ├── Make.tests
│   │   ├── multi-child-fd.c
│   │   ├── multi-child-fd.ck
│   │   ├── multi-recurse.c
│   │   ├── multi-recurse.ck
│   │   ├── no-vm
│   │   │   ├── Make.tests
│   │   │   ├── multi-oom.c
│   │   │   ├── multi-oom.ck
│   │   │   └── Rubric
│   │   ├── null.ck
│   │   ├── open-bad-ptr.c
│   │   ├── open-bad-ptr.ck
│   │   ├── open-boundary.c
│   │   ├── open-boundary.ck
│   │   ├── open-empty.c
│   │   ├── open-empty.ck
│   │   ├── open-missing.c
│   │   ├── open-missing.ck
│   │   ├── open-normal.c
│   │   ├── open-normal.ck
│   │   ├── open-null.c
│   │   ├── open-null.ck
│   │   ├── open-twice.c
│   │   ├── open-twice.ck
│   │   ├── read-bad-fd.c
│   │   ├── read-bad-fd.ck
│   │   ├── read-bad-ptr.c
│   │   ├── read-bad-ptr.ck
│   │   ├── read-boundary.c
│   │   ├── read-boundary.ck
│   │   ├── read-normal.c
│   │   ├── read-normal.ck
│   │   ├── read-stdout.c
│   │   ├── read-stdout.ck
│   │   ├── read-zero.c
│   │   ├── read-zero.ck
│   │   ├── rox-child.c
│   │   ├── rox-child.ck
│   │   ├── rox-child.inc
│   │   ├── rox-multichild.c
│   │   ├── rox-multichild.ck
│   │   ├── rox-simple.c
│   │   ├── rox-simple.ck
│   │   ├── Rubric.functionality
│   │   ├── Rubric.robustness
│   │   ├── sample.inc
│   │   ├── sample.txt
│   │   ├── sc-bad-arg.c
│   │   ├── sc-bad-arg.ck
│   │   ├── sc-bad-sp.c
│   │   ├── sc-bad-sp.ck
│   │   ├── sc-boundary-2.c
│   │   ├── sc-boundary-2.ck
│   │   ├── sc-boundary.c
│   │   ├── sc-boundary.ck
│   │   ├── wait-bad-pid.c
│   │   ├── wait-bad-pid.ck
│   │   ├── wait-killed.c
│   │   ├── wait-killed.ck
│   │   ├── wait-simple.c
│   │   ├── wait-simple.ck
│   │   ├── wait-twice.c
│   │   ├── wait-twice.ck
│   │   ├── write-bad-fd.c
│   │   ├── write-bad-fd.ck
│   │   ├── write-bad-ptr.c
│   │   ├── write-bad-ptr.ck
│   │   ├── write-boundary.c
│   │   ├── write-boundary.ck
│   │   ├── write-normal.c
│   │   ├── write-normal.ck
│   │   ├── write-stdin.c
│   │   ├── write-stdin.ck
│   │   ├── write-zero.c
│   │   └── write-zero.ck
│   └── vm
│   ├── child-inherit.c
│   ├── child-linear.c
│   ├── child-mm-wrt.c
│   ├── child-qsort.c
│   ├── child-qsort-mm.c
│   ├── child-sort.c
│   ├── Grading
│   ├── Make.tests
│   ├── mmap-bad-fd.c
│   ├── mmap-bad-fd.ck
│   ├── mmap-clean.c
│   ├── mmap-clean.ck
│   ├── mmap-close.c
│   ├── mmap-close.ck
│   ├── mmap-exit.c
│   ├── mmap-exit.ck
│   ├── mmap-inherit.c
│   ├── mmap-inherit.ck
│   ├── mmap-misalign.c
│   ├── mmap-misalign.ck
│   ├── mmap-null.c
│   ├── mmap-null.ck
│   ├── mmap-over-code.c
│   ├── mmap-over-code.ck
│   ├── mmap-over-data.c
│   ├── mmap-over-data.ck
│   ├── mmap-overlap.c
│   ├── mmap-overlap.ck
│   ├── mmap-over-stk.c
│   ├── mmap-over-stk.ck
│   ├── mmap-read.c
│   ├── mmap-read.ck
│   ├── mmap-remove.c
│   ├── mmap-remove.ck
│   ├── mmap-shuffle.c
│   ├── mmap-shuffle.ck
│   ├── mmap-twice.c
│   ├── mmap-twice.ck
│   ├── mmap-unmap.c
│   ├── mmap-unmap.ck
│   ├── mmap-write.c
│   ├── mmap-write.ck
│   ├── mmap-zero.c
│   ├── mmap-zero.ck
│   ├── page-linear.c
│   ├── page-linear.ck
│   ├── page-merge-mm.c
│   ├── page-merge-mm.ck
│   ├── page-merge-par.c
│   ├── page-merge-par.ck
│   ├── page-merge-seq.c
│   ├── page-merge-seq.ck
│   ├── page-merge-stk.c
│   ├── page-merge-stk.ck
│   ├── page-parallel.c
│   ├── page-parallel.ck
│   ├── page-shuffle.c
│   ├── page-shuffle.ck
│   ├── parallel-merge.c
│   ├── parallel-merge.h
│   ├── process_death.pm
│   ├── pt-bad-addr.c
│   ├── pt-bad-addr.ck
│   ├── pt-bad-read.c
│   ├── pt-bad-read.ck
│   ├── pt-big-stk-obj.c
│   ├── pt-big-stk-obj.ck
│   ├── pt-grow-bad.c
│   ├── pt-grow-bad.ck
│   ├── pt-grow-pusha.c
│   ├── pt-grow-pusha.ck
│   ├── pt-grow-stack.c
│   ├── pt-grow-stack.ck
│   ├── pt-grow-stk-sc.c
│   ├── pt-grow-stk-sc.ck
│   ├── pt-write-code-2.c
│   ├── pt-write-code2.ck
│   ├── pt-write-code.c
│   ├── pt-write-code.ck
│   ├── qsort.c
│   ├── qsort.h
│   ├── Rubric.functionality
│   ├── Rubric.robustness
│   ├── sample.inc
│   └── sample.txt
├── threads
│   ├── flags.h
│   ├── init.c
│   ├── init.h
│   ├── interrupt.c
│   ├── interrupt.h
│   ├── intr-stubs.h
│   ├── intr-stubs.S
│   ├── io.h
│   ├── kernel.lds.S
│   ├── loader.h
│   ├── loader.S
│   ├── Makefile
│   ├── Make.vars
│   ├── malloc.c
│   ├── malloc.h
│   ├── palloc.c
│   ├── palloc.h
│   ├── pte.h
│   ├── start.S
│   ├── switch.h
│   ├── switch.S
│   ├── synch.c
│   ├── synch.h
│   ├── thread.c
│   ├── thread.c.bak
│   ├── thread.h
│   ├── thread.h.bak
│   └── vaddr.h
├── userprog
│   ├── build
│   │   ├── devices
│   │   │   ├── block.d
│   │   │   ├── block.o
│   │   │   ├── ide.d
│   │   │   ├── ide.o
│   │   │   ├── input.d
│   │   │   ├── input.o
│   │   │   ├── intq.d
│   │   │   ├── intq.o
│   │   │   ├── kbd.d
│   │   │   ├── kbd.o
│   │   │   ├── partition.d
│   │   │   ├── partition.o
│   │   │   ├── pit.d
│   │   │   ├── pit.o
│   │   │   ├── rtc.d
│   │   │   ├── rtc.o
│   │   │   ├── serial.d
│   │   │   ├── serial.o
│   │   │   ├── shutdown.d
│   │   │   ├── shutdown.o
│   │   │   ├── speaker.d
│   │   │   ├── speaker.o
│   │   │   ├── timer.d
│   │   │   ├── timer.o
│   │   │   ├── vga.d
│   │   │   └── vga.o
│   │   ├── filesys
│   │   │   ├── directory.d
│   │   │   ├── directory.o
│   │   │   ├── file.d
│   │   │   ├── file.o
│   │   │   ├── filesys.d
│   │   │   ├── filesys.o
│   │   │   ├── free-map.d
│   │   │   ├── free-map.o
│   │   │   ├── fsutil.d
│   │   │   ├── fsutil.o
│   │   │   ├── inode.d
│   │   │   └── inode.o
│   │   ├── kernel.bin
│   │   ├── kernel.o
│   │   ├── lib
│   │   │   ├── arithmetic.d
│   │   │   ├── arithmetic.o
│   │   │   ├── debug.d
│   │   │   ├── debug.o
│   │   │   ├── kernel
│   │   │   │   ├── bitmap.d
│   │   │   │   ├── bitmap.o
│   │   │   │   ├── console.d
│   │   │   │   ├── console.o
│   │   │   │   ├── debug.d
│   │   │   │   ├── debug.o
│   │   │   │   ├── hash.d
│   │   │   │   ├── hash.o
│   │   │   │   ├── list.d
│   │   │   │   └── list.o
│   │   │   ├── random.d
│   │   │   ├── random.o
│   │   │   ├── stdio.d
│   │   │   ├── stdio.o
│   │   │   ├── stdlib.d
│   │   │   ├── stdlib.o
│   │   │   ├── string.d
│   │   │   ├── string.o
│   │   │   ├── user
│   │   │   │   ├── console.d
│   │   │   │   ├── console.o
│   │   │   │   ├── debug.d
│   │   │   │   ├── debug.o
│   │   │   │   ├── entry.d
│   │   │   │   ├── entry.o
│   │   │   │   ├── syscall.d
│   │   │   │   └── syscall.o
│   │   │   ├── ustar.d
│   │   │   └── ustar.o
│   │   ├── libc.a
│   │   ├── loader.bin
│   │   ├── Makefile
│   │   ├── results
│   │   ├── tests
│   │   │   ├── filesys
│   │   │   │   ├── base
│   │   │   │   │   ├── child-syn-read
│   │   │   │   │   ├── child-syn-read.d
│   │   │   │   │   ├── child-syn-read.o
│   │   │   │   │   ├── child-syn-wrt
│   │   │   │   │   ├── child-syn-wrt.d
│   │   │   │   │   ├── child-syn-wrt.o
│   │   │   │   │   ├── lg-create
│   │   │   │   │   ├── lg-create.d
│   │   │   │   │   ├── lg-create.errors
│   │   │   │   │   ├── lg-create.o
│   │   │   │   │   ├── lg-create.output
│   │   │   │   │   ├── lg-create.result
│   │   │   │   │   ├── lg-full
│   │   │   │   │   ├── lg-full.d
│   │   │   │   │   ├── lg-full.errors
│   │   │   │   │   ├── lg-full.o
│   │   │   │   │   ├── lg-full.output
│   │   │   │   │   ├── lg-full.result
│   │   │   │   │   ├── lg-random
│   │   │   │   │   ├── lg-random.d
│   │   │   │   │   ├── lg-random.errors
│   │   │   │   │   ├── lg-random.o
│   │   │   │   │   ├── lg-random.output
│   │   │   │   │   ├── lg-random.result
│   │   │   │   │   ├── lg-seq-block
│   │   │   │   │   ├── lg-seq-block.d
│   │   │   │   │   ├── lg-seq-block.errors
│   │   │   │   │   ├── lg-seq-block.o
│   │   │   │   │   ├── lg-seq-block.output
│   │   │   │   │   ├── lg-seq-block.result
│   │   │   │   │   ├── lg-seq-random
│   │   │   │   │   ├── lg-seq-random.d
│   │   │   │   │   ├── lg-seq-random.errors
│   │   │   │   │   ├── lg-seq-random.o
│   │   │   │   │   ├── lg-seq-random.output
│   │   │   │   │   ├── lg-seq-random.result
│   │   │   │   │   ├── sm-create
│   │   │   │   │   ├── sm-create.d
│   │   │   │   │   ├── sm-create.errors
│   │   │   │   │   ├── sm-create.o
│   │   │   │   │   ├── sm-create.output
│   │   │   │   │   ├── sm-create.result
│   │   │   │   │   ├── sm-full
│   │   │   │   │   ├── sm-full.d
│   │   │   │   │   ├── sm-full.errors
│   │   │   │   │   ├── sm-full.o
│   │   │   │   │   ├── sm-full.output
│   │   │   │   │   ├── sm-full.result
│   │   │   │   │   ├── sm-random
│   │   │   │   │   ├── sm-random.d
│   │   │   │   │   ├── sm-random.errors
│   │   │   │   │   ├── sm-random.o
│   │   │   │   │   ├── sm-random.output
│   │   │   │   │   ├── sm-random.result
│   │   │   │   │   ├── sm-seq-block
│   │   │   │   │   ├── sm-seq-block.d
│   │   │   │   │   ├── sm-seq-block.errors
│   │   │   │   │   ├── sm-seq-block.o
│   │   │   │   │   ├── sm-seq-block.output
│   │   │   │   │   ├── sm-seq-block.result
│   │   │   │   │   ├── sm-seq-random
│   │   │   │   │   ├── sm-seq-random.d
│   │   │   │   │   ├── sm-seq-random.errors
│   │   │   │   │   ├── sm-seq-random.o
│   │   │   │   │   ├── sm-seq-random.output
│   │   │   │   │   ├── sm-seq-random.result
│   │   │   │   │   ├── syn-read
│   │   │   │   │   ├── syn-read.d
│   │   │   │   │   ├── syn-read.errors
│   │   │   │   │   ├── syn-read.o
│   │   │   │   │   ├── syn-read.output
│   │   │   │   │   ├── syn-read.result
│   │   │   │   │   ├── syn-remove
│   │   │   │   │   ├── syn-remove.d
│   │   │   │   │   ├── syn-remove.errors
│   │   │   │   │   ├── syn-remove.o
│   │   │   │   │   ├── syn-remove.output
│   │   │   │   │   ├── syn-remove.result
│   │   │   │   │   ├── syn-write
│   │   │   │   │   ├── syn-write.d
│   │   │   │   │   ├── syn-write.errors
│   │   │   │   │   ├── syn-write.o
│   │   │   │   │   ├── syn-write.output
│   │   │   │   │   └── syn-write.result
│   │   │   │   ├── seq-test.d
│   │   │   │   └── seq-test.o
│   │   │   ├── lib.d
│   │   │   ├── lib.o
│   │   │   ├── main.d
│   │   │   ├── main.o
│   │   │   └── userprog
│   │   │   ├── args.d
│   │   │   ├── args-dbl-space
│   │   │   ├── args-dbl-space.errors
│   │   │   ├── args-dbl-space.output
│   │   │   ├── args-dbl-space.result
│   │   │   ├── args-many
│   │   │   ├── args-many.errors
│   │   │   ├── args-many.output
│   │   │   ├── args-many.result
│   │   │   ├── args-multiple
│   │   │   ├── args-multiple.errors
│   │   │   ├── args-multiple.output
│   │   │   ├── args-multiple.result
│   │   │   ├── args-none
│   │   │   ├── args-none.errors
│   │   │   ├── args-none.output
│   │   │   ├── args-none.result
│   │   │   ├── args.o
│   │   │   ├── args-single
│   │   │   ├── args-single.errors
│   │   │   ├── args-single.output
│   │   │   ├── args-single.result
│   │   │   ├── bad-jump
│   │   │   ├── bad-jump2
│   │   │   ├── bad-jump2.d
│   │   │   ├── bad-jump2.errors
│   │   │   ├── bad-jump2.o
│   │   │   ├── bad-jump2.output
│   │   │   ├── bad-jump2.result
│   │   │   ├── bad-jump.d
│   │   │   ├── bad-jump.errors
│   │   │   ├── bad-jump.o
│   │   │   ├── bad-jump.output
│   │   │   ├── bad-jump.result
│   │   │   ├── bad-read
│   │   │   ├── bad-read2
│   │   │   ├── bad-read2.d
│   │   │   ├── bad-read2.errors
│   │   │   ├── bad-read2.o
│   │   │   ├── bad-read2.output
│   │   │   ├── bad-read2.result
│   │   │   ├── bad-read.d
│   │   │   ├── bad-read.errors
│   │   │   ├── bad-read.o
│   │   │   ├── bad-read.output
│   │   │   ├── bad-read.result
│   │   │   ├── bad-write
│   │   │   ├── bad-write2
│   │   │   ├── bad-write2.d
│   │   │   ├── bad-write2.errors
│   │   │   ├── bad-write2.o
│   │   │   ├── bad-write2.output
│   │   │   ├── bad-write2.result
│   │   │   ├── bad-write.d
│   │   │   ├── bad-write.errors
│   │   │   ├── bad-write.o
│   │   │   ├── bad-write.output
│   │   │   ├── bad-write.result
│   │   │   ├── boundary.d
│   │   │   ├── boundary.o
│   │   │   ├── child-args
│   │   │   ├── child-bad
│   │   │   ├── child-bad.d
│   │   │   ├── child-bad.o
│   │   │   ├── child-close
│   │   │   ├── child-close.d
│   │   │   ├── child-close.o
│   │   │   ├── child-rox
│   │   │   ├── child-rox.d
│   │   │   ├── child-rox.o
│   │   │   ├── child-simple
│   │   │   ├── child-simple.d
│   │   │   ├── child-simple.o
│   │   │   ├── close-bad-fd
│   │   │   ├── close-bad-fd.d
│   │   │   ├── close-bad-fd.errors
│   │   │   ├── close-bad-fd.o
│   │   │   ├── close-bad-fd.output
│   │   │   ├── close-bad-fd.result
│   │   │   ├── close-normal
│   │   │   ├── close-normal.d
│   │   │   ├── close-normal.errors
│   │   │   ├── close-normal.o
│   │   │   ├── close-normal.output
│   │   │   ├── close-normal.result
│   │   │   ├── close-stdin
│   │   │   ├── close-stdin.d
│   │   │   ├── close-stdin.errors
│   │   │   ├── close-stdin.o
│   │   │   ├── close-stdin.output
│   │   │   ├── close-stdin.result
│   │   │   ├── close-stdout
│   │   │   ├── close-stdout.d
│   │   │   ├── close-stdout.errors
│   │   │   ├── close-stdout.o
│   │   │   ├── close-stdout.output
│   │   │   ├── close-stdout.result
│   │   │   ├── close-twice
│   │   │   ├── close-twice.d
│   │   │   ├── close-twice.errors
│   │   │   ├── close-twice.o
│   │   │   ├── close-twice.output
│   │   │   ├── close-twice.result
│   │   │   ├── create-bad-ptr
│   │   │   ├── create-bad-ptr.d
│   │   │   ├── create-bad-ptr.errors
│   │   │   ├── create-bad-ptr.o
│   │   │   ├── create-bad-ptr.output
│   │   │   ├── create-bad-ptr.result
│   │   │   ├── create-bound
│   │   │   ├── create-bound.d
│   │   │   ├── create-bound.errors
│   │   │   ├── create-bound.o
│   │   │   ├── create-bound.output
│   │   │   ├── create-bound.result
│   │   │   ├── create-empty
│   │   │   ├── create-empty.d
│   │   │   ├── create-empty.errors
│   │   │   ├── create-empty.o
│   │   │   ├── create-empty.output
│   │   │   ├── create-empty.result
│   │   │   ├── create-exists
│   │   │   ├── create-exists.d
│   │   │   ├── create-exists.errors
│   │   │   ├── create-exists.o
│   │   │   ├── create-exists.output
│   │   │   ├── create-exists.result
│   │   │   ├── create-long
│   │   │   ├── create-long.d
│   │   │   ├── create-long.errors
│   │   │   ├── create-long.o
│   │   │   ├── create-long.output
│   │   │   ├── create-long.result
│   │   │   ├── create-normal
│   │   │   ├── create-normal.d
│   │   │   ├── create-normal.errors
│   │   │   ├── create-normal.o
│   │   │   ├── create-normal.output
│   │   │   ├── create-normal.result
│   │   │   ├── create-null
│   │   │   ├── create-null.d
│   │   │   ├── create-null.errors
│   │   │   ├── create-null.o
│   │   │   ├── create-null.output
│   │   │   ├── create-null.result
│   │   │   ├── exec-arg
│   │   │   ├── exec-arg.d
│   │   │   ├── exec-arg.errors
│   │   │   ├── exec-arg.o
│   │   │   ├── exec-arg.output
│   │   │   ├── exec-arg.result
│   │   │   ├── exec-bad-ptr
│   │   │   ├── exec-bad-ptr.d
│   │   │   ├── exec-bad-ptr.errors
│   │   │   ├── exec-bad-ptr.o
│   │   │   ├── exec-bad-ptr.output
│   │   │   ├── exec-bad-ptr.result
│   │   │   ├── exec-missing
│   │   │   ├── exec-missing.d
│   │   │   ├── exec-missing.errors
│   │   │   ├── exec-missing.o
│   │   │   ├── exec-missing.output
│   │   │   ├── exec-missing.result
│   │   │   ├── exec-multiple
│   │   │   ├── exec-multiple.d
│   │   │   ├── exec-multiple.errors
│   │   │   ├── exec-multiple.o
│   │   │   ├── exec-multiple.output
│   │   │   ├── exec-multiple.result
│   │   │   ├── exec-once
│   │   │   ├── exec-once.d
│   │   │   ├── exec-once.errors
│   │   │   ├── exec-once.o
│   │   │   ├── exec-once.output
│   │   │   ├── exec-once.result
│   │   │   ├── exit
│   │   │   ├── exit.d
│   │   │   ├── exit.errors
│   │   │   ├── exit.o
│   │   │   ├── exit.output
│   │   │   ├── exit.result
│   │   │   ├── halt
│   │   │   ├── halt.d
│   │   │   ├── halt.errors
│   │   │   ├── halt.o
│   │   │   ├── halt.output
│   │   │   ├── halt.result
│   │   │   ├── multi-child-fd
│   │   │   ├── multi-child-fd.d
│   │   │   ├── multi-child-fd.errors
│   │   │   ├── multi-child-fd.o
│   │   │   ├── multi-child-fd.output
│   │   │   ├── multi-child-fd.result
│   │   │   ├── multi-recurse
│   │   │   ├── multi-recurse.d
│   │   │   ├── multi-recurse.errors
│   │   │   ├── multi-recurse.o
│   │   │   ├── multi-recurse.output
│   │   │   ├── multi-recurse.result
│   │   │   ├── no-vm
│   │   │   │   ├── multi-oom
│   │   │   │   ├── multi-oom.d
│   │   │   │   ├── multi-oom.errors
│   │   │   │   ├── multi-oom.o
│   │   │   │   ├── multi-oom.output
│   │   │   │   └── multi-oom.result
│   │   │   ├── open-bad-ptr
│   │   │   ├── open-bad-ptr.d
│   │   │   ├── open-bad-ptr.errors
│   │   │   ├── open-bad-ptr.o
│   │   │   ├── open-bad-ptr.output
│   │   │   ├── open-bad-ptr.result
│   │   │   ├── open-boundary
│   │   │   ├── open-boundary.d
│   │   │   ├── open-boundary.errors
│   │   │   ├── open-boundary.o
│   │   │   ├── open-boundary.output
│   │   │   ├── open-boundary.result
│   │   │   ├── open-empty
│   │   │   ├── open-empty.d
│   │   │   ├── open-empty.errors
│   │   │   ├── open-empty.o
│   │   │   ├── open-empty.output
│   │   │   ├── open-empty.result
│   │   │   ├── open-missing
│   │   │   ├── open-missing.d
│   │   │   ├── open-missing.errors
│   │   │   ├── open-missing.o
│   │   │   ├── open-missing.output
│   │   │   ├── open-missing.result
│   │   │   ├── open-normal
│   │   │   ├── open-normal.d
│   │   │   ├── open-normal.errors
│   │   │   ├── open-normal.o
│   │   │   ├── open-normal.output
│   │   │   ├── open-normal.result
│   │   │   ├── open-null
│   │   │   ├── open-null.d
│   │   │   ├── open-null.errors
│   │   │   ├── open-null.o
│   │   │   ├── open-null.output
│   │   │   ├── open-null.result
│   │   │   ├── open-twice
│   │   │   ├── open-twice.d
│   │   │   ├── open-twice.errors
│   │   │   ├── open-twice.o
│   │   │   ├── open-twice.output
│   │   │   ├── open-twice.result
│   │   │   ├── read-bad-fd
│   │   │   ├── read-bad-fd.d
│   │   │   ├── read-bad-fd.errors
│   │   │   ├── read-bad-fd.o
│   │   │   ├── read-bad-fd.output
│   │   │   ├── read-bad-fd.result
│   │   │   ├── read-bad-ptr
│   │   │   ├── read-bad-ptr.d
│   │   │   ├── read-bad-ptr.errors
│   │   │   ├── read-bad-ptr.o
│   │   │   ├── read-bad-ptr.output
│   │   │   ├── read-bad-ptr.result
│   │   │   ├── read-boundary
│   │   │   ├── read-boundary.d
│   │   │   ├── read-boundary.errors
│   │   │   ├── read-boundary.o
│   │   │   ├── read-boundary.output
│   │   │   ├── read-boundary.result
│   │   │   ├── read-normal
│   │   │   ├── read-normal.d
│   │   │   ├── read-normal.errors
│   │   │   ├── read-normal.o
│   │   │   ├── read-normal.output
│   │   │   ├── read-normal.result
│   │   │   ├── read-stdout
│   │   │   ├── read-stdout.d
│   │   │   ├── read-stdout.errors
│   │   │   ├── read-stdout.o
│   │   │   ├── read-stdout.output
│   │   │   ├── read-stdout.result
│   │   │   ├── read-zero
│   │   │   ├── read-zero.d
│   │   │   ├── read-zero.errors
│   │   │   ├── read-zero.o
│   │   │   ├── read-zero.output
│   │   │   ├── read-zero.result
│   │   │   ├── rox-child
│   │   │   ├── rox-child.d
│   │   │   ├── rox-child.errors
│   │   │   ├── rox-child.o
│   │   │   ├── rox-child.output
│   │   │   ├── rox-child.result
│   │   │   ├── rox-multichild
│   │   │   ├── rox-multichild.d
│   │   │   ├── rox-multichild.errors
│   │   │   ├── rox-multichild.o
│   │   │   ├── rox-multichild.output
│   │   │   ├── rox-multichild.result
│   │   │   ├── rox-simple
│   │   │   ├── rox-simple.d
│   │   │   ├── rox-simple.errors
│   │   │   ├── rox-simple.o
│   │   │   ├── rox-simple.output
│   │   │   ├── rox-simple.result
│   │   │   ├── sc-bad-arg
│   │   │   ├── sc-bad-arg.d
│   │   │   ├── sc-bad-arg.errors
│   │   │   ├── sc-bad-arg.o
│   │   │   ├── sc-bad-arg.output
│   │   │   ├── sc-bad-arg.result
│   │   │   ├── sc-bad-sp
│   │   │   ├── sc-bad-sp.d
│   │   │   ├── sc-bad-sp.errors
│   │   │   ├── sc-bad-sp.o
│   │   │   ├── sc-bad-sp.output
│   │   │   ├── sc-bad-sp.result
│   │   │   ├── sc-boundary
│   │   │   ├── sc-boundary-2
│   │   │   ├── sc-boundary-2.d
│   │   │   ├── sc-boundary-2.errors
│   │   │   ├── sc-boundary-2.o
│   │   │   ├── sc-boundary-2.output
│   │   │   ├── sc-boundary-2.result
│   │   │   ├── sc-boundary.d
│   │   │   ├── sc-boundary.errors
│   │   │   ├── sc-boundary.o
│   │   │   ├── sc-boundary.output
│   │   │   ├── sc-boundary.result
│   │   │   ├── wait-bad-pid
│   │   │   ├── wait-bad-pid.d
│   │   │   ├── wait-bad-pid.errors
│   │   │   ├── wait-bad-pid.o
│   │   │   ├── wait-bad-pid.output
│   │   │   ├── wait-bad-pid.result
│   │   │   ├── wait-killed
│   │   │   ├── wait-killed.d
│   │   │   ├── wait-killed.errors
│   │   │   ├── wait-killed.o
│   │   │   ├── wait-killed.output
│   │   │   ├── wait-killed.result
│   │   │   ├── wait-simple
│   │   │   ├── wait-simple.d
│   │   │   ├── wait-simple.errors
│   │   │   ├── wait-simple.o
│   │   │   ├── wait-simple.output
│   │   │   ├── wait-simple.result
│   │   │   ├── wait-twice
│   │   │   ├── wait-twice.d
│   │   │   ├── wait-twice.errors
│   │   │   ├── wait-twice.o
│   │   │   ├── wait-twice.output
│   │   │   ├── wait-twice.result
│   │   │   ├── write-bad-fd
│   │   │   ├── write-bad-fd.d
│   │   │   ├── write-bad-fd.errors
│   │   │   ├── write-bad-fd.o
│   │   │   ├── write-bad-fd.output
│   │   │   ├── write-bad-fd.result
│   │   │   ├── write-bad-ptr
│   │   │   ├── write-bad-ptr.d
│   │   │   ├── write-bad-ptr.errors
│   │   │   ├── write-bad-ptr.o
│   │   │   ├── write-bad-ptr.output
│   │   │   ├── write-bad-ptr.result
│   │   │   ├── write-boundary
│   │   │   ├── write-boundary.d
│   │   │   ├── write-boundary.errors
│   │   │   ├── write-boundary.o
│   │   │   ├── write-boundary.output
│   │   │   ├── write-boundary.result
│   │   │   ├── write-normal
│   │   │   ├── write-normal.d
│   │   │   ├── write-normal.errors
│   │   │   ├── write-normal.o
│   │   │   ├── write-normal.output
│   │   │   ├── write-normal.result
│   │   │   ├── write-stdin
│   │   │   ├── write-stdin.d
│   │   │   ├── write-stdin.errors
│   │   │   ├── write-stdin.o
│   │   │   ├── write-stdin.output
│   │   │   ├── write-stdin.result
│   │   │   ├── write-zero
│   │   │   ├── write-zero.d
│   │   │   ├── write-zero.errors
│   │   │   ├── write-zero.o
│   │   │   ├── write-zero.output
│   │   │   └── write-zero.result
│   │   ├── threads
│   │   │   ├── init.d
│   │   │   ├── init.o
│   │   │   ├── interrupt.d
│   │   │   ├── interrupt.o
│   │   │   ├── intr-stubs.d
│   │   │   ├── intr-stubs.o
│   │   │   ├── kernel.lds.s
│   │   │   ├── loader.o
│   │   │   ├── malloc.d
│   │   │   ├── malloc.o
│   │   │   ├── palloc.d
│   │   │   ├── palloc.o
│   │   │   ├── start.d
│   │   │   ├── start.o
│   │   │   ├── switch.d
│   │   │   ├── switch.o
│   │   │   ├── synch.d
│   │   │   ├── synch.o
│   │   │   ├── thread.d
│   │   │   └── thread.o
│   │   └── userprog
│   │   ├── exception.d
│   │   ├── exception.o
│   │   ├── gdt.d
│   │   ├── gdt.o
│   │   ├── pagedir.d
│   │   ├── pagedir.o
│   │   ├── process.d
│   │   ├── process.o
│   │   ├── syscall.d
│   │   ├── syscall.o
│   │   ├── tss.d
│   │   └── tss.o
│   ├── exception.c
│   ├── exception.c.bak
│   ├── exception.h
│   ├── gdt.c
│   ├── gdt.h
│   ├── Makefile
│   ├── Make.vars
│   ├── pagedir.c
│   ├── pagedir.h
│   ├── process.c
│   ├── process.c.bak
│   ├── process.h
│   ├── syscall.c
│   ├── syscall.c.bak
│   ├── syscall.h
│   ├── tss.c
│   └── tss.h
├── utils
│   ├── backtrace
│   ├── Makefile
│   ├── pintos
│   ├── pintos-gdb
│   ├── pintos-mkdisk
│   ├── Pintos.pm
│   ├── pintos-set-cmdline
│   ├── setitimer-helper.c
│   ├── squish-pty.c
│   └── squish-unix.c
└── vm
├── Makefile
└── Make.vars

39 directories, 1180 files

标签:

实例下载地址

pintos project2 源代码.rar

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警