jos/user/softint.c
Anish Athalye a9d7717cc4 Lab 3
2018-09-25 12:22:51 -04:00

11 lines
158 B
C

// buggy program - causes an illegal software interrupt
#include <inc/lib.h>
void
umain(int argc, char **argv)
{
asm volatile("int $14"); // page fault
}