fs_mem_src

所属分类:操作系统开发
开发工具:Visual C++
文件大小:569KB
下载次数:2
上传日期:2008-12-05 18:50:49
上 传 者cemicircle
说明:  操作系统课程设计。在UNIX平台下实现Solary操作系统的一些功能
(Operating systems curriculum design. In the UNIX operating system platform to achieve some of the features Solary)

文件列表:
fs_mem_src\bin\coff.h (2314, 2006-12-28)
fs_mem_src\bin\coff2flat.c (3558, 2006-12-28)
fs_mem_src\bin\coff2noff (24561, 2007-01-21)
fs_mem_src\bin\coff2noff.c (6856, 2006-12-28)
fs_mem_src\bin\coff2noff.o (10240, 2007-01-20)
fs_mem_src\bin\d.c (3905, 2006-12-28)
fs_mem_src\bin\disasm.c (3652, 2006-12-28)
fs_mem_src\bin\encode.h (1780, 2006-12-28)
fs_mem_src\bin\execute.c (11666, 2006-12-28)
fs_mem_src\bin\halt (120, 2006-12-28)
fs_mem_src\bin\instr.h (678, 2006-12-28)
fs_mem_src\bin\int.h (1041, 2006-12-28)
fs_mem_src\bin\main.c (3607, 2006-12-28)
fs_mem_src\bin\Makefile (965, 2006-12-28)
fs_mem_src\bin\noff.h (787, 2006-12-28)
fs_mem_src\bin\opstrings.c (1346, 2006-12-28)
fs_mem_src\bin\out.c (5725, 2006-12-28)
fs_mem_src\bin\system.c (2703, 2006-12-28)
fs_mem_src\filesys\a (211776, 2007-01-20)
fs_mem_src\filesys\directory.cc (32438, 2007-01-20)
fs_mem_src\filesys\directory.h (2041, 2007-01-08)
fs_mem_src\filesys\DISK (2097156, 2007-01-20)
fs_mem_src\filesys\filehdr.cc (19050, 2007-01-10)
fs_mem_src\filesys\filehdr.h (1999, 2007-01-08)
fs_mem_src\filesys\filesys.cc (13230, 2007-01-20)
fs_mem_src\filesys\filesys.h (2450, 2007-01-19)
fs_mem_src\filesys\fstest.cc (7734, 2007-01-19)
fs_mem_src\filesys\halt (296, 2007-01-17)
fs_mem_src\filesys\Makefile (24262, 2007-01-20)
fs_mem_src\filesys\nachos (282994, 2007-01-20)
fs_mem_src\filesys\nachos.core (610304, 2007-01-20)
fs_mem_src\filesys\openfile.cc (1840, 2007-01-19)
fs_mem_src\filesys\openfile.h (1655, 2007-01-19)
fs_mem_src\filesys\swtch.s (1409, 2007-01-20)
fs_mem_src\filesys\synchdisk.cc (4212, 2007-01-09)
fs_mem_src\filesys\synchdisk.h (2179, 2007-01-01)
fs_mem_src\filesys\test\big (608, 2006-12-28)
fs_mem_src\filesys\test\medium (152, 2006-12-28)
fs_mem_src\filesys\test\small (38, 2006-12-28)
fs_mem_src\machine\console.cc (4985, 2006-12-28)
... ...

From: cs162@po.EECS.Berkeley.EDU (Class Master) Subject: Answer to problems running assignment 5 Some people have been having problems running assignment 5. Unfortunately, the way the network gets initialized, if things don't get done in exactly the right order, you can get an error in sending the first packet to the socket. I have modified synch.h and synch.cc in code/, and re-compiled the contents of code/network. I was then able to run the test case successfully, at least one out of two times. See below. So, be careful out there! tom ----------- po.EECS.Berkeley.EDU:network>!19 ./nachos -m 0 -o 1 > & log & ; ./nachos -m 1 -o 0 > & log2 & [1] 10882 [2] 10883 po.EECS.Berkeley.EDU:network> [2] Illegal instruction ./nachos -m 1 -o 0 >& log2 (core dumped) [1] Illegal instruction ./nachos -m 0 -o 1 >& log (core dumped) po.EECS.Berkeley.EDU:network>rm -f log* SOCKET* po.EECS.Berkeley.EDU:network>!19 ./nachos -m 0 -o 1 > & log & ; ./nachos -m 1 -o 0 > & log2 & [1] 10895 [2] 10896 po.EECS.Berkeley.EDU:network> [1] Done ./nachos -m 0 -o 1 >& log [2] Done ./nachos -m 1 -o 0 >& log2 more log Got "Hello there!" from 1, box 1 Got "Got it!" from 1, box 1 Machine halting! Ticks: total 57080, idle 56810, system 270, user 0 Disk I/O: reads 2, writes 0 Console I/O: reads 0, writes 0 Paging: faults 0 Network I/O: packets received 2, sent 2 Cleaning up... po.EECS.Berkeley.EDU:network>more log2 Got "Hello there!" from 0, box 1 Got "Got it!" from 0, box 1 Machine halting! Ticks: total 58530, idle 58260, system 270, user 0 Disk I/O: reads 2, writes 0 Console I/O: reads 0, writes 0 Paging: faults 0 Network I/O: packets received 2, sent 2 Cleaning up...

近期下载者

相关文件


收藏者