Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/test/test-hw5.c File Reference

#include <kernel.h>
#include <proc.h>
#include <stdio.h>

Include dependency graph for test-hw5.c:

Go to the source code of this file.

Defines

#define TIMES   5

Functions

void testPass (const char *)
void testFail (const char *)
static void t5 (int times, uchar *testArray, int *index)
int test_recursion (int argc, char **argv)


Define Documentation

#define TIMES   5

Definition at line 21 of file test-hw5.c.


Function Documentation

static void t5 ( int  times,
uchar testArray,
int *  index 
) [static]

Definition at line 8 of file test-hw5.c.

References currpid, resched(), and t5.

int test_recursion ( int  argc,
char **  argv 
)

Definition at line 27 of file test-hw5.c.

References create(), FALSE, INITSTK, OK, printf, ready(), resched(), t5, testFail(), testPass(), TIMES, and TRUE.

Referenced by testItem().

void testFail ( const char *   ) 

Definition at line 11 of file testhelper.c.

void testPass ( const char *   ) 

Definition at line 6 of file testhelper.c.


Generated on Thu Oct 9 22:35:17 2008 for xinu by  doxygen 1.5.5