6c4919473a
to specify how to trigger the panic: modload -s how=panic panic.kmod <-- just calls panic() modload -s how=nullptr panic.kmod <-- null ptr deref if how isn't specified, it defaults to 'panic'. feel free to add more.
9 lines
143 B
Makefile
9 lines
143 B
Makefile
# $NetBSD: Makefile,v 1.1 2011/02/18 01:07:20 jmcneill Exp $
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
KMOD= panic
|
|
SRCS= panic.c
|
|
|
|
.include <bsd.kmodule.mk>
|