Add helper functions for thread testing.

This commit is contained in:
Geoffrey Challen
2015-12-30 09:59:48 -06:00
parent 0009ee0b80
commit ce8a0f09a4
3 changed files with 28 additions and 1 deletions

View File

@@ -194,5 +194,7 @@ void kprintf_bootstrap(void);
#define DIVROUNDUP(a,b) (((a)+(b)-1)/(b))
#define ROUNDUP(a,b) (DIVROUNDUP(a,b)*b)
void random_yielder(uint32_t);
void random_spinner(uint32_t);
#endif /* _LIB_H_ */

View File

@@ -40,6 +40,6 @@
* testing.
*/
#define KERNEL_PROMPT "OS/161 kernel [? for menu]: "
#define KERNEL_PROMPT "OS/161 kernel [? for menu]: "
#endif /* _OVERWRITE_H_ */