mirror of
https://github.com/SmallPond/MIT6.828_OS.git
synced 2026-02-03 19:13:20 +08:00
11 lines
151 B
C
11 lines
151 B
C
// buggy program - faults with a write to a kernel location
|
|
|
|
#include <inc/lib.h>
|
|
|
|
void
|
|
umain(int argc, char **argv)
|
|
{
|
|
*(unsigned*)0xf0100000 = 0;
|
|
}
|
|
|