Commit Graph
22 Commits
Author SHA1 Message Date
zsmoore b51f2a88de added new lock test to check do i hold functionality. tested on incorrect implementation, fails. tested on correct implementation, passed. 2017-02-16 01:41:05 -05:00
Geoffrey Challen a662851491 Initial fix of upstream merge. 2017-02-09 10:09:30 -05:00
Geoffrey Challen e809face5f New debugging commands. 2017-02-09 09:49:42 -05:00
Geoffrey Challen e318e3171e Revert "Merging in 1.0.2."
This reverts commit 50cf3276e7.
2017-01-09 22:52:13 -05:00
Geoffrey Challen 50cf3276e7 Merging in 2.0.2. 2017-01-09 22:40:23 -05:00
Scott Haseley 388e6388a9 Added thread_wait_for_count() which allows the menu to wait for all (new) threads to
exit before continuing. We need this for khu testing because we have to make sure
cleanup is done before getting the used byte count.
2016-04-07 14:35:09 -04:00
Scott Haseley 8380115efa Added new kmalloc test (km5) that tests various coremap properties. Also, km1-km4 were
cleaned up for test161.
2016-03-25 11:12:09 -04:00
Scott Haseley 196bb3b684 Now using static buffers (and protecting with a semaphore) for kernel secprintf.
We have to do this because we need secure output in kmalloc.
2016-03-07 15:05:58 -05:00
Geoffrey Challen 00eb1b44fb New CV test. 2016-02-18 16:14:48 -05:00
Geoffrey Challen dc00578b06 Forgot rwt5. 2016-02-15 08:42:54 -05:00
Geoffrey Challen 479acf49c2 Adding stubs for additional RW tests. 2016-02-15 08:37:48 -05:00
Geoffrey Challen 1ba348413d Cleanup menu items. 2016-02-14 14:53:38 -05:00
Geoffrey Challen db6d3d219d Command to print total kernel heap usage for debugging. 2016-02-11 16:56:51 -05:00
Geoffrey Challen 875b75bf24 Improvements to synchronization tests. 2016-02-11 13:55:09 -05:00
Geoffrey Challen 5521823176 Menu changes and test fixes for ASST1. 2016-02-10 17:03:53 -05:00
Scott Haseley a97b1c80b2 Added sha256 hash function and hmac functions (with and without salt) to the kernel
and userspace.

In userspace, this is accessed through #include <secure.h>
In the kernel, this is access through #include <kern/secure.h>

There is a unit test for this (hm1) that computes the hmac and compares it to
the known value.  The salted vesion tested offline.

-----

Also, fixed usespace compile issue with not changing KERNEL_SECRET => SECRET.
2016-02-01 01:35:53 -05:00
Geoffrey Challen b66416e24f Automation testing tools. 2016-01-11 16:08:40 -05:00
Geoffrey Challen f818d0bd30 Synchronization problem stubs and drivers. 2015-12-31 14:28:15 -05:00
Geoffrey Challen 1b63251154 RW test stub. 2015-12-31 13:56:21 -05:00
Geoffrey Challen 4a432d4172 Factor out kernel prompt. 2015-12-31 11:43:42 -05:00
Geoffrey Challen 0009ee0b80 Factor shell prompt into overwrite file. 2015-12-30 09:41:53 -06:00
Geoffrey Challen cafa9f5690 Initial Spring 2016 commit. 2015-12-23 00:50:04 +00:00