Subversion Repositories HelenOS

Rev

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

Rev 3022 Rev 4296
Line 34... Line 34...
34
#include <atomic.h>
34
#include <atomic.h>
35
#include <proc/thread.h>
35
#include <proc/thread.h>
36
 
36
 
37
#include <arch.h>
37
#include <arch.h>
38
 
38
 
39
 
-
 
40
char * test_fault1(bool quiet)
39
char *test_fault1(void)
41
{
40
{
42
    ((int *)(0))[1] = 0;
41
    ((int *)(0))[1] = 0;
43
   
42
   
44
    return "Written to NULL";
43
    return "Written to NULL";
45
}
44
}