summaryrefslogtreecommitdiff
path: root/src/modules/test/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/test/main.c')
-rw-r--r--src/modules/test/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/modules/test/main.c b/src/modules/test/main.c
index 3ac5cb5..fbb6eb8 100644
--- a/src/modules/test/main.c
+++ b/src/modules/test/main.c
@@ -2,7 +2,11 @@
int main() {
printk("[module:test] Hi world !\n");
- thread_sleep(5000);
- printk("[module:test] 5sec later...\n");
+ thread_sleep(2000);
+ printk("[module:test] 2sec later...\n");
+ printk("[module:test] Performing illegal read in kernel space...\n");
+ int *a = (int*)0xE0000004;
+ if (*a == 0) printk("is null...\n");
+ printk("[module:test] HAHA !!!!\n");
return 0;
}