Subversion Repositories HelenOS

Rev

Rev 2022 | Rev 2028 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2022 Rev 2027
Line 36... Line 36...
36
#define KERN_TEST_H_
36
#define KERN_TEST_H_
37
 
37
 
38
#include <arch/types.h>
38
#include <arch/types.h>
39
#include <typedefs.h>
39
#include <typedefs.h>
40
 
40
 
-
 
41
typedef char * (* test_entry_t)();
-
 
42
 
41
typedef struct {
43
typedef struct {
42
    char * name;
44
    char * name;
43
    char * desc;
45
    char * desc;
44
    function entry;
46
    test_entry_t entry;
45
    bool safe;
47
    bool safe;
46
} test_t;
48
} test_t;
47
 
49
 
48
extern void test_atomic1(void);
50
extern char * test_atomic1(void);
49
extern void test_btree1(void);
51
extern char * test_btree1(void);
50
extern void test_mips1(void);
52
extern char * test_mips1(void);
51
extern void test_fault1(void);
53
extern char * test_fault1(void);
52
extern void test_fpu1(void);
54
extern char * test_fpu1(void);
53
extern void test_sse1(void);
55
extern char * test_sse1(void);
54
extern void test_mips2(void);
56
extern char * test_mips2(void);
55
extern void test_falloc1(void);
57
extern void test_falloc1(void);
56
extern void test_falloc2(void);
58
extern void test_falloc2(void);
57
extern void test_mapping1(void);
59
extern void test_mapping1(void);
58
extern void test_purge1(void);
60
extern void test_purge1(void);
59
extern void test_slab1(void);
61
extern void test_slab1(void);