This website works better with JavaScript.
Home
Help
Sign In
tmeissner
/
learning-by-doing
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
added define to provoke kernel panic when accessing the memory at that address
master
T. Meissner
10 years ago
parent
4d0b6fc56e
commit
f630c4e28c
1 changed files
with
4 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
c_pointers/chapter_5.c
+ 4
- 0
c_pointers/chapter_5.c
View File
@ -113,6 +113,10 @@ int main(void) {
}
}
#
define KERNEL_PANIC 0x0000
char
*
mem
=
(
int
*
)
KERNEL_PANIC
;
/
/
standard
string
operations
/
/
standard
string
operations
/
/
comparing
strings
/
/
comparing
strings
Write
Preview
Loading…
Cancel
Save