(DDB/SMALL_KERNEL, DDB/!SMALL_KERNEL, !DDB/!SMALL_KERNEL,
!DDB/SMALL_KERNEL) can compile. A DDB bsd.rd is thus possible again.
Correction to my original diff from miod@
"If it compiles, commit" deraadt@
-/* $OpenBSD: dsdt.c,v 1.173 2010/07/23 18:38:46 jordan Exp $ */
+/* $OpenBSD: dsdt.c,v 1.174 2010/07/27 02:00:36 krw Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
return NULL;
}
-#ifndef SMALL_KERNEL
+#if defined(DDB) || !defined(SMALL_KERNEL)
const char *
aml_mnem(int opcode, uint8_t *pos)
{
}
return ("xxx");
}
-#endif /* SMALL_KERNEL */
+#endif /* defined(DDB) || !defined(SMALL_KERNEL) */
struct aml_notify_data {
struct aml_node *node;
aml_freevalue(&tmp);
}
-#ifndef SMALL_KERNEL
+#ifdef DDB
/* Disassembler routines */
void aml_disprintf(void *arg, const char *fmt, ...);
dbprintf(arg,"\n");
}
}
-#endif /* SMALL_KERNEL */
+#endif /* DDB */
int aml_busy;