10 msg (
"Congratulations - you have successfully called kernel code: %d",
11 ((
int (*)(
void))0xC0000000)());
12 fail (
"should have exited with -1");
void test_main(void)
This program attempts to execute code at a kernel virtual address.
void fail(const char *format,...)
void msg(const char *format,...)