Ben Pfaff [Fri, 29 Oct 2004 18:37:39 +0000 (18:37 +0000)]
Add more tests.
Ben Pfaff [Fri, 29 Oct 2004 04:29:29 +0000 (04:29 +0000)]
Fix bug in strlcpy() that could cause reading too much data from the
source string. Thanks to Jim Chow for reporting the bug and providing
the fix.
Ben Pfaff [Fri, 29 Oct 2004 01:07:36 +0000 (01:07 +0000)]
Work on userprog tests.
Ben Pfaff [Thu, 28 Oct 2004 01:00:02 +0000 (01:00 +0000)]
Work on userprog testing.
Ben Pfaff [Wed, 27 Oct 2004 05:22:47 +0000 (05:22 +0000)]
Revise.
Ben Pfaff [Wed, 27 Oct 2004 05:12:58 +0000 (05:12 +0000)]
Revise.
Ben Pfaff [Wed, 27 Oct 2004 03:55:03 +0000 (03:55 +0000)]
Move segment rounding LDFLAGS into tests/userprog/Makefile.
Ben Pfaff [Wed, 27 Oct 2004 03:13:45 +0000 (03:13 +0000)]
Clarifications.
Ben Pfaff [Wed, 27 Oct 2004 03:10:39 +0000 (03:10 +0000)]
Clarifications.
Ben Pfaff [Wed, 27 Oct 2004 01:48:42 +0000 (01:48 +0000)]
Clarifications.
Ben Pfaff [Wed, 27 Oct 2004 00:48:14 +0000 (00:48 +0000)]
Work on userprog tests.
Ben Pfaff [Wed, 27 Oct 2004 00:47:57 +0000 (00:47 +0000)]
Clean up. Use perl -w and strict.
Add ability to use arbitrary files for disks.
Ben Pfaff [Tue, 26 Oct 2004 19:15:32 +0000 (19:15 +0000)]
(file_read_at) Fix behavior of read when position is past EOF.
(file_write_at) Ditto. Also, fix test for needing read-modify-write.
Ben Pfaff [Tue, 26 Oct 2004 19:05:39 +0000 (19:05 +0000)]
Start of userprog tests.
Ben Pfaff [Tue, 26 Oct 2004 19:02:51 +0000 (19:02 +0000)]
Add comment to clarify behavior.
Ben Pfaff [Tue, 26 Oct 2004 19:02:22 +0000 (19:02 +0000)]
Make tests/userprog makefile modular so we can reuse it for
grading/userprog.
Ben Pfaff [Tue, 26 Oct 2004 06:44:55 +0000 (06:44 +0000)]
Revise.
Ben Pfaff [Mon, 25 Oct 2004 23:39:46 +0000 (23:39 +0000)]
Add some more correctness assertions to free().
(I did some basic testing on this.)
Ben Pfaff [Mon, 25 Oct 2004 22:56:10 +0000 (22:56 +0000)]
Disallow the empty string as a file name.
Ben Pfaff [Mon, 25 Oct 2004 21:48:45 +0000 (21:48 +0000)]
Reverse LIB order so that programs that don't make system
calls link properly
Ben Pfaff [Mon, 25 Oct 2004 00:13:24 +0000 (00:13 +0000)]
Improve implementation of puts().
Ben Pfaff [Sat, 23 Oct 2004 02:49:20 +0000 (02:49 +0000)]
Add filesize() stub.
Ben Pfaff [Fri, 22 Oct 2004 16:31:59 +0000 (16:31 +0000)]
Fix description of remove() and create() return values.
Ben Pfaff [Fri, 22 Oct 2004 16:30:53 +0000 (16:30 +0000)]
Comments.
Ben Pfaff [Fri, 22 Oct 2004 06:30:36 +0000 (06:30 +0000)]
Fix.
Ben Pfaff [Fri, 22 Oct 2004 05:57:51 +0000 (05:57 +0000)]
Revise.
Ben Pfaff [Fri, 22 Oct 2004 05:18:55 +0000 (05:18 +0000)]
Fix.
Ben Pfaff [Fri, 22 Oct 2004 05:16:37 +0000 (05:16 +0000)]
Revise.
Ben Pfaff [Thu, 21 Oct 2004 06:09:39 +0000 (06:09 +0000)]
Clarifications.
Ben Pfaff [Thu, 21 Oct 2004 00:45:06 +0000 (00:45 +0000)]
Final updates for grading project 1.
Ben Pfaff [Wed, 20 Oct 2004 20:19:22 +0000 (20:19 +0000)]
Try it a different way.
Ben Pfaff [Wed, 20 Oct 2004 18:45:21 +0000 (18:45 +0000)]
Fix donate-multiple test.
Ben Pfaff [Wed, 20 Oct 2004 07:25:27 +0000 (07:25 +0000)]
Revise MLFQS bits.
Ben Pfaff [Wed, 20 Oct 2004 07:24:41 +0000 (07:24 +0000)]
Grade MLFQS.
Generate final grade file.
Ben Pfaff [Wed, 20 Oct 2004 06:12:36 +0000 (06:12 +0000)]
Fix bug in pagedir_get_page(): didn't apply uaddr page offset to kaddr
return value (!)
Ben Pfaff [Tue, 19 Oct 2004 22:50:44 +0000 (22:50 +0000)]
Improve.
Ben Pfaff [Tue, 19 Oct 2004 22:49:25 +0000 (22:49 +0000)]
Improve.
Ben Pfaff [Tue, 19 Oct 2004 22:48:47 +0000 (22:48 +0000)]
Improve.
Ben Pfaff [Tue, 19 Oct 2004 22:45:22 +0000 (22:45 +0000)]
Improve.
Ben Pfaff [Tue, 19 Oct 2004 22:44:31 +0000 (22:44 +0000)]
Improve.
Ben Pfaff [Tue, 19 Oct 2004 22:41:37 +0000 (22:41 +0000)]
Improve.
Ben Pfaff [Tue, 19 Oct 2004 22:41:04 +0000 (22:41 +0000)]
Improve.
Ben Pfaff [Tue, 19 Oct 2004 22:40:14 +0000 (22:40 +0000)]
Improve.
Ben Pfaff [Tue, 19 Oct 2004 17:37:30 +0000 (17:37 +0000)]
Allow cpp to remove comments when producing kernel.lds.s.
This allows // comments to be used.
Ben Pfaff [Tue, 19 Oct 2004 17:22:16 +0000 (17:22 +0000)]
Comments.
Ben Pfaff [Tue, 19 Oct 2004 02:05:09 +0000 (02:05 +0000)]
Clarify.
Ben Pfaff [Mon, 18 Oct 2004 23:54:56 +0000 (23:54 +0000)]
Revert to previous version.
Ben Pfaff [Mon, 18 Oct 2004 22:22:42 +0000 (22:22 +0000)]
Improve run-tests.
Edit the grading result files.
Ben Pfaff [Mon, 18 Oct 2004 18:42:47 +0000 (18:42 +0000)]
Document tab width.
Ben Pfaff [Mon, 18 Oct 2004 18:39:11 +0000 (18:39 +0000)]
Warn that coding style costs points.
Ben Pfaff [Mon, 18 Oct 2004 17:42:40 +0000 (17:42 +0000)]
ASSERT should evaluate to an expression not a statement.
Ben Pfaff [Sun, 17 Oct 2004 23:31:35 +0000 (23:31 +0000)]
Add -s to LDFLAGS to strip output binaries.
Ben Pfaff [Sun, 17 Oct 2004 23:30:22 +0000 (23:30 +0000)]
Comments.
Ben Pfaff [Sun, 17 Oct 2004 07:11:17 +0000 (07:11 +0000)]
Work on grading.
Ben Pfaff [Sun, 17 Oct 2004 00:47:24 +0000 (00:47 +0000)]
Fix typo.
Ben Pfaff [Sat, 16 Oct 2004 23:28:59 +0000 (23:28 +0000)]
Update FAQ.
Ben Pfaff [Sat, 16 Oct 2004 00:06:01 +0000 (00:06 +0000)]
Add test scripts.
Ben Pfaff [Fri, 15 Oct 2004 04:42:32 +0000 (04:42 +0000)]
Fix a few details.
Ben Pfaff [Thu, 14 Oct 2004 06:23:53 +0000 (06:23 +0000)]
Spelling fix.
Ben Pfaff [Thu, 14 Oct 2004 06:14:16 +0000 (06:14 +0000)]
Add more tests.
Ben Pfaff [Thu, 14 Oct 2004 04:22:51 +0000 (04:22 +0000)]
Add 14 (page fault) to named exceptions.
(Why wasn't this here before?)
Ben Pfaff [Thu, 14 Oct 2004 03:58:07 +0000 (03:58 +0000)]
Should iterate 10 times not 5.
Ben Pfaff [Thu, 14 Oct 2004 00:41:53 +0000 (00:41 +0000)]
Add some grading test programs.
Ben Pfaff [Thu, 14 Oct 2004 00:10:41 +0000 (00:10 +0000)]
Restore verbatim.
Fix table.
Ben Pfaff [Thu, 14 Oct 2004 00:10:34 +0000 (00:10 +0000)]
Implement verbatim as equivalent to example.
Ben Pfaff [Thu, 14 Oct 2004 00:10:23 +0000 (00:10 +0000)]
Redo menu.
Ben Pfaff [Thu, 14 Oct 2004 00:04:45 +0000 (00:04 +0000)]
Typo fixes.
Ben Pfaff [Wed, 13 Oct 2004 05:12:14 +0000 (05:12 +0000)]
Punctuation fix.
Ben Pfaff [Tue, 12 Oct 2004 23:07:57 +0000 (23:07 +0000)]
Debugging by infinite loop.
Ben Pfaff [Tue, 12 Oct 2004 22:53:09 +0000 (22:53 +0000)]
Add and refine FAQ answers.
Ben Pfaff [Tue, 12 Oct 2004 22:53:00 +0000 (22:53 +0000)]
Add `install' target.
Ben Pfaff [Tue, 12 Oct 2004 17:17:18 +0000 (17:17 +0000)]
Neither of these tests works under MLFQS.
Ben Pfaff [Mon, 11 Oct 2004 22:45:47 +0000 (22:45 +0000)]
Adjust wording of "static priority" comment.
Ben Pfaff [Mon, 11 Oct 2004 22:34:27 +0000 (22:34 +0000)]
Make sure that we're not being tested with MLFQS on.
Ben Pfaff [Mon, 11 Oct 2004 00:10:28 +0000 (00:10 +0000)]
Mention that GCC reorders statements.
Ben Pfaff [Sun, 10 Oct 2004 23:56:14 +0000 (23:56 +0000)]
Add volatile to asm statement in intr_get_level(),
otherwise GCC will assume that two calls to this function can be
optimized into one, even across asm("sti") or asm("cli").
Ben Pfaff [Sat, 9 Oct 2004 23:10:28 +0000 (23:10 +0000)]
Fix logic problem.
Ben Pfaff [Sat, 9 Oct 2004 23:07:14 +0000 (23:07 +0000)]
Fix compile problems.
Thanks to Grant Patterson <grantp@stanford.edu>
for reporting the problem.
Ben Pfaff [Sat, 9 Oct 2004 23:06:37 +0000 (23:06 +0000)]
Fix compile problems.
Ben Pfaff [Sat, 9 Oct 2004 21:26:38 +0000 (21:26 +0000)]
Clarify.
Ben Pfaff [Sat, 9 Oct 2004 18:01:37 +0000 (18:01 +0000)]
Comments.
Ben Pfaff [Fri, 8 Oct 2004 05:25:54 +0000 (05:25 +0000)]
Use 115.2 kbps instead of 9600 bps.
Ben Pfaff [Thu, 7 Oct 2004 02:44:59 +0000 (02:44 +0000)]
Update docs.
Ben Pfaff [Thu, 7 Oct 2004 00:36:49 +0000 (00:36 +0000)]
Add FAQ for making p1-1 work okay.
Ben Pfaff [Thu, 7 Oct 2004 00:35:18 +0000 (00:35 +0000)]
Check that the serial rate is reasonable.
Ben Pfaff [Wed, 6 Oct 2004 21:29:56 +0000 (21:29 +0000)]
Make freeing pages not require the pool lock,
so that schedule_tail() may legitimately call palloc_free_page().
Incidentally make bitmap mark/reset/flip atomic.
Ben Pfaff [Wed, 6 Oct 2004 21:28:34 +0000 (21:28 +0000)]
Fix wording.
Ben Pfaff [Wed, 6 Oct 2004 18:27:00 +0000 (18:27 +0000)]
timer_sleep() need interrupts on.
Ben Pfaff [Tue, 5 Oct 2004 20:10:44 +0000 (20:10 +0000)]
Fix missing right paren.
Ben Pfaff [Tue, 5 Oct 2004 00:44:27 +0000 (00:44 +0000)]
Comment.
Ben Pfaff [Mon, 4 Oct 2004 00:07:39 +0000 (00:07 +0000)]
Explain why `break schedule' might not work and offer workarounds.
Ben Pfaff [Sat, 2 Oct 2004 23:21:16 +0000 (23:21 +0000)]
Fix comments.
Ben Pfaff [Fri, 1 Oct 2004 21:54:34 +0000 (21:54 +0000)]
Credit Mendel.
Ben Pfaff [Wed, 29 Sep 2004 16:09:07 +0000 (16:09 +0000)]
Fix URLs.
Ben Pfaff [Wed, 29 Sep 2004 16:01:40 +0000 (16:01 +0000)]
Fix typos.
Ben Pfaff [Wed, 29 Sep 2004 15:51:13 +0000 (15:51 +0000)]
Fix printf() format specifier.
Ben Pfaff [Wed, 29 Sep 2004 15:41:01 +0000 (15:41 +0000)]
Move TODO.
Ben Pfaff [Wed, 29 Sep 2004 04:07:15 +0000 (04:07 +0000)]
Update docs.
Ben Pfaff [Wed, 29 Sep 2004 01:04:16 +0000 (01:04 +0000)]
Reorder functions.
Ben Pfaff [Wed, 29 Sep 2004 01:04:09 +0000 (01:04 +0000)]
Comments.