pintos-anon
20 years agoBug fixes.
Ben Pfaff [Mon, 27 Sep 2004 16:44:06 +0000 (16:44 +0000)]
Bug fixes.

20 years agoComments.
Ben Pfaff [Mon, 27 Sep 2004 16:04:34 +0000 (16:04 +0000)]
Comments.

20 years agoUpdate.
Ben Pfaff [Mon, 27 Sep 2004 04:40:16 +0000 (04:40 +0000)]
Update.

20 years agoTest for linked list implementation.
Ben Pfaff [Mon, 27 Sep 2004 04:37:41 +0000 (04:37 +0000)]
Test for linked list implementation.

20 years agoFix bugs.
Ben Pfaff [Mon, 27 Sep 2004 04:34:05 +0000 (04:34 +0000)]
Fix bugs.

20 years agoComments.
Ben Pfaff [Mon, 27 Sep 2004 04:31:40 +0000 (04:31 +0000)]
Comments.
Make print_stats() message consistent with others.

20 years agoFix name.
Ben Pfaff [Sun, 26 Sep 2004 21:52:17 +0000 (21:52 +0000)]
Fix name.

20 years agoNot really relevant, removed.
Ben Pfaff [Sun, 26 Sep 2004 21:49:26 +0000 (21:49 +0000)]
Not really relevant, removed.

20 years agoRemove Intel reference manuals.
Ben Pfaff [Sun, 26 Sep 2004 21:44:06 +0000 (21:44 +0000)]
Remove Intel reference manuals.

20 years agoPrint statistics at power off.
Ben Pfaff [Sun, 26 Sep 2004 21:15:17 +0000 (21:15 +0000)]
Print statistics at power off.

20 years agoFix texi2html options.
Ben Pfaff [Sun, 26 Sep 2004 21:11:34 +0000 (21:11 +0000)]
Fix texi2html options.

20 years agoAdd .eps files because most people don't have jgraph,
Ben Pfaff [Sun, 26 Sep 2004 21:09:59 +0000 (21:09 +0000)]
Add .eps files because most people don't have jgraph,
useful as it is.

20 years agoUpdate docs.
Ben Pfaff [Sun, 26 Sep 2004 21:06:17 +0000 (21:06 +0000)]
Update docs.
Integrate texi2html into source tree.

20 years agoComments.
Ben Pfaff [Sun, 26 Sep 2004 19:22:59 +0000 (19:22 +0000)]
Comments.

20 years agoUpdate docs.
Ben Pfaff [Sun, 26 Sep 2004 07:58:01 +0000 (07:58 +0000)]
Update docs.

20 years agoUpdate docs.
Ben Pfaff [Sun, 26 Sep 2004 07:58:01 +0000 (07:58 +0000)]
Update docs.

20 years agoIgnore more files.
Ben Pfaff [Sun, 26 Sep 2004 02:55:50 +0000 (02:55 +0000)]
Ignore more files.

20 years agoUpdate docs.
Ben Pfaff [Sun, 26 Sep 2004 02:49:43 +0000 (02:49 +0000)]
Update docs.

20 years agoChange -nv to -v, -ns to -s, for consistency.
Ben Pfaff [Sun, 26 Sep 2004 02:47:32 +0000 (02:47 +0000)]
Change -nv to -v, -ns to -s, for consistency.
Remove fixed limits on make-disk.
Make -m same as --mem(ory).

20 years agoAdd some more features to pagedir.
Ben Pfaff [Sun, 26 Sep 2004 02:46:41 +0000 (02:46 +0000)]
Add some more features to pagedir.

20 years agoUpdate comments.
Ben Pfaff [Sun, 26 Sep 2004 02:33:38 +0000 (02:33 +0000)]
Update comments.

20 years agoTurn off assertions when running in the kernel.
Ben Pfaff [Sun, 26 Sep 2004 02:30:11 +0000 (02:30 +0000)]
Turn off assertions when running in the kernel.

20 years ago--enable-4meg-pages not needed after all
Ben Pfaff [Sun, 26 Sep 2004 00:45:35 +0000 (00:45 +0000)]
--enable-4meg-pages not needed after all

20 years agoMap first 64 MB of memory, not just 4 MB.
Ben Pfaff [Sun, 26 Sep 2004 00:40:27 +0000 (00:40 +0000)]
Map first 64 MB of memory, not just 4 MB.

20 years agoAdd --enable-4meg-pages to configure
Ben Pfaff [Sat, 25 Sep 2004 23:55:22 +0000 (23:55 +0000)]
Add --enable-4meg-pages to configure

20 years agoFix bitmap_scan_and_flip() calls.
Ben Pfaff [Thu, 23 Sep 2004 06:40:57 +0000 (06:40 +0000)]
Fix bitmap_scan_and_flip() calls.

20 years agoRewrite page allocator to support multi-page allocations.
Ben Pfaff [Thu, 23 Sep 2004 00:58:29 +0000 (00:58 +0000)]
Rewrite page allocator to support multi-page allocations.
Change interface to reflect it, update references.
Make malloc() and free() willing to handle big blocks.

20 years agoUpdate comments.
Ben Pfaff [Thu, 23 Sep 2004 00:57:23 +0000 (00:57 +0000)]
Update comments.

20 years agoChange bitmap interface, update references.
Ben Pfaff [Thu, 23 Sep 2004 00:57:01 +0000 (00:57 +0000)]
Change bitmap interface, update references.

20 years agoUpdate.
Ben Pfaff [Thu, 23 Sep 2004 00:56:08 +0000 (00:56 +0000)]
Update.

20 years agoUpdate docs.
Ben Pfaff [Thu, 23 Sep 2004 00:56:01 +0000 (00:56 +0000)]
Update docs.

20 years agoProject 2 solution.
Ben Pfaff [Wed, 22 Sep 2004 07:38:28 +0000 (07:38 +0000)]
Project 2 solution.

20 years agoFix assertion.
Ben Pfaff [Wed, 22 Sep 2004 07:32:14 +0000 (07:32 +0000)]
Fix assertion.

20 years agoUpdate docs.
Ben Pfaff [Wed, 22 Sep 2004 07:17:53 +0000 (07:17 +0000)]
Update docs.

20 years agoMake console lock recursive.
Ben Pfaff [Wed, 22 Sep 2004 07:16:11 +0000 (07:16 +0000)]
Make console lock recursive.

20 years agoMove most process destruction earlier.
Ben Pfaff [Wed, 22 Sep 2004 05:42:17 +0000 (05:42 +0000)]
Move most process destruction earlier.

20 years agoMake more useful.
Ben Pfaff [Wed, 22 Sep 2004 00:29:01 +0000 (00:29 +0000)]
Make more useful.

20 years agoMake lookup_page() just return null for uaddr >= PHYS_BASE.
Ben Pfaff [Wed, 22 Sep 2004 00:28:44 +0000 (00:28 +0000)]
Make lookup_page() just return null for uaddr >= PHYS_BASE.
Add assert < PHYS_BASE for pagedir_set_page().

20 years agomemset freed blocks to 0xcd.
Ben Pfaff [Wed, 22 Sep 2004 00:28:11 +0000 (00:28 +0000)]
memset freed blocks to 0xcd.

20 years agothread_join() the -ex process if THREAD_JOIN_IMPLEMENTED.
Ben Pfaff [Wed, 22 Sep 2004 00:28:00 +0000 (00:28 +0000)]
thread_join() the -ex process if THREAD_JOIN_IMPLEMENTED.

20 years agoAdd -include constants.h.
Ben Pfaff [Wed, 22 Sep 2004 00:27:40 +0000 (00:27 +0000)]
Add -include constants.h.

20 years agoMove THREAD_JOIN_IMPLEMENTED to constants.h.
Ben Pfaff [Wed, 22 Sep 2004 00:27:30 +0000 (00:27 +0000)]
Move THREAD_JOIN_IMPLEMENTED to constants.h.

20 years agoDon't pick n == 1 for jitter.
Ben Pfaff [Wed, 22 Sep 2004 00:27:17 +0000 (00:27 +0000)]
Don't pick n == 1 for jitter.

20 years agoAdd THREAD_JOIN_IMPLEMENTED.
Ben Pfaff [Wed, 22 Sep 2004 00:26:39 +0000 (00:26 +0000)]
Add THREAD_JOIN_IMPLEMENTED.

20 years agoUpdate.
Ben Pfaff [Wed, 22 Sep 2004 00:26:29 +0000 (00:26 +0000)]
Update.

20 years agoUpdate patch.
Ben Pfaff [Wed, 22 Sep 2004 00:26:23 +0000 (00:26 +0000)]
Update patch.

20 years agoUpdate docs.
Ben Pfaff [Wed, 22 Sep 2004 00:26:04 +0000 (00:26 +0000)]
Update docs.

20 years agoUpdate docs.
Ben Pfaff [Tue, 21 Sep 2004 20:43:14 +0000 (20:43 +0000)]
Update docs.

20 years agoComment out fullpage line.
Ben Pfaff [Tue, 21 Sep 2004 18:52:08 +0000 (18:52 +0000)]
Comment out fullpage line.

20 years agoCall serial_flush() in power_off().
Ben Pfaff [Tue, 21 Sep 2004 05:55:18 +0000 (05:55 +0000)]
Call serial_flush() in power_off().

20 years agoImprove tags targets.
Ben Pfaff [Tue, 21 Sep 2004 05:33:01 +0000 (05:33 +0000)]
Improve tags targets.

20 years agoImplement (u)intmax_t in printf().
Ben Pfaff [Tue, 21 Sep 2004 04:45:34 +0000 (04:45 +0000)]
Implement (u)intmax_t in printf().
(How'd I forget that?)

20 years agoAdd VM makefiles.
Ben Pfaff [Tue, 21 Sep 2004 03:26:41 +0000 (03:26 +0000)]
Add VM makefiles.

20 years agoUpdate.
Ben Pfaff [Tue, 21 Sep 2004 02:49:40 +0000 (02:49 +0000)]
Update.

20 years agoComments.
Ben Pfaff [Tue, 21 Sep 2004 02:48:58 +0000 (02:48 +0000)]
Comments.
Remove pagedir_clear_page().
Add assertions to pagedir_set_page().

20 years agoCleanup.
Ben Pfaff [Tue, 21 Sep 2004 02:32:31 +0000 (02:32 +0000)]
Cleanup.

20 years agoRemove unneeded #include.
Ben Pfaff [Tue, 21 Sep 2004 02:28:36 +0000 (02:28 +0000)]
Remove unneeded #include.

20 years agoMerge new_thread() into thread_create().
Ben Pfaff [Tue, 21 Sep 2004 01:14:50 +0000 (01:14 +0000)]
Merge new_thread() into thread_create().

20 years agoSupport jitter feature.
Ben Pfaff [Tue, 21 Sep 2004 00:25:09 +0000 (00:25 +0000)]
Support jitter feature.

20 years agoAdd jitter feature to Bochs.
Ben Pfaff [Tue, 21 Sep 2004 00:25:03 +0000 (00:25 +0000)]
Add jitter feature to Bochs.

20 years agoComments.
Ben Pfaff [Tue, 21 Sep 2004 00:24:56 +0000 (00:24 +0000)]
Comments.

20 years agoUpdate docs.
Ben Pfaff [Tue, 21 Sep 2004 00:24:47 +0000 (00:24 +0000)]
Update docs.

20 years agoRename addrspace to process.
Ben Pfaff [Mon, 20 Sep 2004 22:29:18 +0000 (22:29 +0000)]
Rename addrspace to process.

20 years agoUpdate.
Ben Pfaff [Mon, 20 Sep 2004 22:25:33 +0000 (22:25 +0000)]
Update.

20 years agoMake pagedir_destroy(NULL) a no-op.
Ben Pfaff [Mon, 20 Sep 2004 22:25:28 +0000 (22:25 +0000)]
Make pagedir_destroy(NULL) a no-op.

20 years agoMake processes responsible for loading themselves.
Ben Pfaff [Mon, 20 Sep 2004 22:25:13 +0000 (22:25 +0000)]
Make processes responsible for loading themselves.

20 years agoMake page alignment optional.
Ben Pfaff [Mon, 20 Sep 2004 22:24:21 +0000 (22:24 +0000)]
Make page alignment optional.

20 years agoComments.
Ben Pfaff [Mon, 20 Sep 2004 19:06:58 +0000 (19:06 +0000)]
Comments.

20 years agoUpdate docs.
Ben Pfaff [Mon, 20 Sep 2004 19:06:38 +0000 (19:06 +0000)]
Update docs.

20 years agoUpdate docs.
Ben Pfaff [Mon, 20 Sep 2004 18:50:48 +0000 (18:50 +0000)]
Update docs.

20 years agoUpdate docs.
Ben Pfaff [Mon, 20 Sep 2004 18:03:47 +0000 (18:03 +0000)]
Update docs.

20 years agoImprove hex_dump().
Ben Pfaff [Mon, 20 Sep 2004 18:03:32 +0000 (18:03 +0000)]
Improve hex_dump().

20 years agoUpdate.
Ben Pfaff [Mon, 20 Sep 2004 06:44:36 +0000 (06:44 +0000)]
Update.

20 years agoIntroduce PID_ERROR as an invalid exec return value.
Ben Pfaff [Mon, 20 Sep 2004 06:44:03 +0000 (06:44 +0000)]
Introduce PID_ERROR as an invalid exec return value.
Make shell example check for invalid join return,
because passing an invalid value to exec is allowed to kill the
process.

20 years agoIgnore bochs return code, it's not useful.
Ben Pfaff [Mon, 20 Sep 2004 04:45:27 +0000 (04:45 +0000)]
Ignore bochs return code, it's not useful.

20 years agoEnable ata1 under Bochs if hdc or hdd is needed.
Ben Pfaff [Mon, 20 Sep 2004 04:37:43 +0000 (04:37 +0000)]
Enable ata1 under Bochs if hdc or hdd is needed.

20 years agoAdd some `const' qualifiers.
Ben Pfaff [Mon, 20 Sep 2004 04:33:15 +0000 (04:33 +0000)]
Add some `const' qualifiers.

20 years agoChange interface of addrspace_load() to provide initial stack pointer.
Ben Pfaff [Mon, 20 Sep 2004 04:33:01 +0000 (04:33 +0000)]
Change interface of addrspace_load() to provide initial stack pointer.
destroy_thread() doesn't really need thread in dying state.

20 years agoRemove `name' from lock because it duplicates its member sema's name.
Ben Pfaff [Mon, 20 Sep 2004 04:29:53 +0000 (04:29 +0000)]
Remove `name' from lock because it duplicates its member sema's name.

20 years agoComments.
Ben Pfaff [Mon, 20 Sep 2004 04:29:22 +0000 (04:29 +0000)]
Comments.

20 years agoAdd const to various functions.
Ben Pfaff [Mon, 20 Sep 2004 04:29:08 +0000 (04:29 +0000)]
Add const to various functions.

20 years agoSwap names of power_off and do_power_off().
Ben Pfaff [Mon, 20 Sep 2004 04:28:44 +0000 (04:28 +0000)]
Swap names of power_off and do_power_off().
Put now-power_off() into init.h

20 years agoAdd initial_size argument to create syscall.
Ben Pfaff [Mon, 20 Sep 2004 04:28:03 +0000 (04:28 +0000)]
Add initial_size argument to create syscall.

20 years agoAdd putbuf().
Ben Pfaff [Mon, 20 Sep 2004 04:27:43 +0000 (04:27 +0000)]
Add putbuf().

20 years agoAdd -Wsystem-headers.
Ben Pfaff [Mon, 20 Sep 2004 04:27:28 +0000 (04:27 +0000)]
Add -Wsystem-headers.

20 years agoFix comments.
Ben Pfaff [Mon, 20 Sep 2004 04:21:35 +0000 (04:21 +0000)]
Fix comments.

20 years agoFix call to create().
Ben Pfaff [Mon, 20 Sep 2004 03:58:38 +0000 (03:58 +0000)]
Fix call to create().

20 years agoAdd dummy file to ensure that lib/user is kept in CVS.
Ben Pfaff [Mon, 20 Sep 2004 03:56:41 +0000 (03:56 +0000)]
Add dummy file to ensure that lib/user is kept in CVS.

20 years agoRevise makefile structure.
Ben Pfaff [Mon, 20 Sep 2004 03:01:41 +0000 (03:01 +0000)]
Revise makefile structure.
Add user tests.

20 years agoUpdate docs.
Ben Pfaff [Mon, 20 Sep 2004 02:48:26 +0000 (02:48 +0000)]
Update docs.

20 years agoAdd instructions for compiling and modifying Bochs.
Ben Pfaff [Sun, 19 Sep 2004 20:14:14 +0000 (20:14 +0000)]
Add instructions for compiling and modifying Bochs.

20 years agoExplain how to use patch.
Ben Pfaff [Sun, 19 Sep 2004 20:07:40 +0000 (20:07 +0000)]
Explain how to use patch.

20 years agoExplain how to use patch.
Ben Pfaff [Sun, 19 Sep 2004 20:06:51 +0000 (20:06 +0000)]
Explain how to use patch.

20 years agoComments.
Ben Pfaff [Sun, 19 Sep 2004 07:29:32 +0000 (07:29 +0000)]
Comments.

20 years agoImprove description.
Ben Pfaff [Sun, 19 Sep 2004 07:07:30 +0000 (07:07 +0000)]
Improve description.

20 years agoSyscall handler doesn't expect to see return address on stack,
Ben Pfaff [Sun, 19 Sep 2004 07:07:19 +0000 (07:07 +0000)]
Syscall handler doesn't expect to see return address on stack,
so pop it off before invoking interrupt.

20 years agoPass return code from main() to exit().
Ben Pfaff [Sun, 19 Sep 2004 07:05:59 +0000 (07:05 +0000)]
Pass return code from main() to exit().

20 years agoUpdate.
Ben Pfaff [Sun, 19 Sep 2004 07:05:42 +0000 (07:05 +0000)]
Update.

20 years agoUpdate docs.
Ben Pfaff [Sun, 19 Sep 2004 07:05:23 +0000 (07:05 +0000)]
Update docs.

20 years agoOnly destroy pages up to PHYS_BASE.
Ben Pfaff [Sat, 18 Sep 2004 17:33:18 +0000 (17:33 +0000)]
Only destroy pages up to PHYS_BASE.