Kaynağa Gözat

Add NULL_TRAP as a config option

tags/v0.9.3
Michael Brown 18 yıl önce
ebeveyn
işleme
c10698b8b4
2 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. 1
    0
      src/config.h
  2. 8
    0
      src/core/config.c

+ 1
- 0
src/config.h Dosyayı Görüntüle

124
 				 * "make bin/rtl8139.dsk bs" */
124
 				 * "make bin/rtl8139.dsk bs" */
125
 #undef	BUILD_ID		/* Include a custom build ID string,
125
 #undef	BUILD_ID		/* Include a custom build ID string,
126
 				 * e.g "test-foo" */
126
 				 * e.g "test-foo" */
127
+#undef	NULL_TRAP		/* Attempt to catch NULL function calls */
127
 
128
 
128
 /* @END general.h */
129
 /* @END general.h */

+ 8
- 0
src/core/config.c Dosyayı Görüntüle

199
 #ifdef	PXE_IMAGE
199
 #ifdef	PXE_IMAGE
200
 REQUIRE_OBJECT ( pxe );
200
 REQUIRE_OBJECT ( pxe );
201
 #endif
201
 #endif
202
+
203
+/*
204
+ * Drag in miscellaneous objects
205
+ *
206
+ */
207
+#ifdef	NULL_TRAP
208
+REQUIRE_OBJECT ( nulltrap );
209
+#endif

Loading…
İptal
Kaydet