diff --git a/lib/librumpdev/i386 b/lib/librumpdev/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/lib/librumpdev/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/lib/librumpdev/machine b/lib/librumpdev/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/lib/librumpdev/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/lib/librumpdev/x86 b/lib/librumpdev/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/lib/librumpdev/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/lib/librumpnet/i386 b/lib/librumpnet/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/lib/librumpnet/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/lib/librumpnet/machine b/lib/librumpnet/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/lib/librumpnet/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/lib/librumpnet/x86 b/lib/librumpnet/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/lib/librumpnet/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libaudio/i386 b/sys/rump/dev/lib/libaudio/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libaudio/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libaudio/ioconf.c b/sys/rump/dev/lib/libaudio/ioconf.c deleted file mode 100644 index 0ef8d1cdd..000000000 --- a/sys/rump/dev/lib/libaudio/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libaudio/AUDIO.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_audio[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_audio[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_audio[] = { - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libaudio/ioconf.h b/sys/rump/dev/lib/libaudio/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/dev/lib/libaudio/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/dev/lib/libaudio/locators.h b/sys/rump/dev/lib/libaudio/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/dev/lib/libaudio/machine b/sys/rump/dev/lib/libaudio/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libaudio/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libaudio/x86 b/sys/rump/dev/lib/libaudio/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libaudio/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libbpf/i386 b/sys/rump/dev/lib/libbpf/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libbpf/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libbpf/machine b/sys/rump/dev/lib/libbpf/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libbpf/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libbpf/x86 b/sys/rump/dev/lib/libbpf/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libbpf/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libcgd/i386 b/sys/rump/dev/lib/libcgd/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libcgd/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libcgd/ioconf.c b/sys/rump/dev/lib/libcgd/ioconf.c deleted file mode 100644 index ed4a9deda..000000000 --- a/sys/rump/dev/lib/libcgd/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libcgd/CGD.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_cgd[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_cgd[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_cgd[] = { - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libcgd/ioconf.h b/sys/rump/dev/lib/libcgd/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/dev/lib/libcgd/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/dev/lib/libcgd/locators.h b/sys/rump/dev/lib/libcgd/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/dev/lib/libcgd/machine b/sys/rump/dev/lib/libcgd/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libcgd/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libcgd/x86 b/sys/rump/dev/lib/libcgd/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libcgd/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libdisk/i386 b/sys/rump/dev/lib/libdisk/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libdisk/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libdisk/machine b/sys/rump/dev/lib/libdisk/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libdisk/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libdisk/x86 b/sys/rump/dev/lib/libdisk/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libdisk/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libdm/i386 b/sys/rump/dev/lib/libdm/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libdm/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libdm/ioconf.c b/sys/rump/dev/lib/libdm/ioconf.c deleted file mode 100644 index 940ac98da..000000000 --- a/sys/rump/dev/lib/libdm/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libdm/DM.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_dm[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_dm[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_dm[] = { - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libdm/ioconf.h b/sys/rump/dev/lib/libdm/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/dev/lib/libdm/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/dev/lib/libdm/locators.h b/sys/rump/dev/lib/libdm/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/dev/lib/libdm/machine b/sys/rump/dev/lib/libdm/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libdm/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libdm/x86 b/sys/rump/dev/lib/libdm/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libdm/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libdrvctl/i386 b/sys/rump/dev/lib/libdrvctl/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libdrvctl/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libdrvctl/ioconf.c b/sys/rump/dev/lib/libdrvctl/ioconf.c deleted file mode 100644 index 1c687d85a..000000000 --- a/sys/rump/dev/lib/libdrvctl/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libdrvctl/DRVCTL.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_drvctl[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_drvctl[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_drvctl[] = { - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libdrvctl/ioconf.h b/sys/rump/dev/lib/libdrvctl/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/dev/lib/libdrvctl/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/dev/lib/libdrvctl/locators.h b/sys/rump/dev/lib/libdrvctl/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/dev/lib/libdrvctl/machine b/sys/rump/dev/lib/libdrvctl/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libdrvctl/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libdrvctl/x86 b/sys/rump/dev/lib/libdrvctl/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libdrvctl/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libfss/i386 b/sys/rump/dev/lib/libfss/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libfss/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libfss/ioconf.c b/sys/rump/dev/lib/libfss/ioconf.c deleted file mode 100644 index 20da37847..000000000 --- a/sys/rump/dev/lib/libfss/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libfss/FSS.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_fss[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_fss[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_fss[] = { - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libfss/ioconf.h b/sys/rump/dev/lib/libfss/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/dev/lib/libfss/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/dev/lib/libfss/locators.h b/sys/rump/dev/lib/libfss/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/dev/lib/libfss/machine b/sys/rump/dev/lib/libfss/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libfss/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libfss/x86 b/sys/rump/dev/lib/libfss/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libfss/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libmd/i386 b/sys/rump/dev/lib/libmd/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libmd/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libmd/ioconf.c b/sys/rump/dev/lib/libmd/ioconf.c deleted file mode 100644 index 04a384374..000000000 --- a/sys/rump/dev/lib/libmd/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libmd/MD.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_md[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_md[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_md[] = { - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libmd/ioconf.h b/sys/rump/dev/lib/libmd/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/dev/lib/libmd/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/dev/lib/libmd/locators.h b/sys/rump/dev/lib/libmd/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/dev/lib/libmd/machine b/sys/rump/dev/lib/libmd/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libmd/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libmd/x86 b/sys/rump/dev/lib/libmd/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libmd/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libnetsmb/i386 b/sys/rump/dev/lib/libnetsmb/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libnetsmb/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libnetsmb/ioconf.c b/sys/rump/dev/lib/libnetsmb/ioconf.c deleted file mode 100644 index e098d03c3..000000000 --- a/sys/rump/dev/lib/libnetsmb/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libnetsmb/NETSMB.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_netsmb[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_netsmb[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_netsmb[] = { - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libnetsmb/ioconf.h b/sys/rump/dev/lib/libnetsmb/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/dev/lib/libnetsmb/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/dev/lib/libnetsmb/locators.h b/sys/rump/dev/lib/libnetsmb/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/dev/lib/libnetsmb/machine b/sys/rump/dev/lib/libnetsmb/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libnetsmb/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libnetsmb/x86 b/sys/rump/dev/lib/libnetsmb/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libnetsmb/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libopencrypto/i386 b/sys/rump/dev/lib/libopencrypto/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libopencrypto/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libopencrypto/ioconf.c b/sys/rump/dev/lib/libopencrypto/ioconf.c deleted file mode 100644 index 218257b55..000000000 --- a/sys/rump/dev/lib/libopencrypto/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libopencrypto/OPENCRYPTO.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_opencrypto[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_opencrypto[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_opencrypto[] = { - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libopencrypto/ioconf.h b/sys/rump/dev/lib/libopencrypto/ioconf.h deleted file mode 100644 index 25e3943a7..000000000 --- a/sys/rump/dev/lib/libopencrypto/ioconf.h +++ /dev/null @@ -1,6 +0,0 @@ - -/* pseudo-devices */ -void cryptoattach(int); -void swcryptoattach(int); - -/* driver structs */ diff --git a/sys/rump/dev/lib/libopencrypto/locators.h b/sys/rump/dev/lib/libopencrypto/locators.h deleted file mode 100644 index e1e369eed..000000000 --- a/sys/rump/dev/lib/libopencrypto/locators.h +++ /dev/null @@ -1,85 +0,0 @@ -#define WSKBDDEVCF_CONSOLE 0 -#define WSKBDDEVCF_CONSOLE_DEFAULT -1 -#define WSKBDDEVCF_MUX 1 -#define WSKBDDEVCF_MUX_DEFAULT 1 -#define WSKBDDEVCF_NLOCS 2 -#define WSEMULDISPLAYDEVCF_CONSOLE 0 -#define WSEMULDISPLAYDEVCF_CONSOLE_DEFAULT -1 -#define WSEMULDISPLAYDEVCF_KBDMUX 1 -#define WSEMULDISPLAYDEVCF_KBDMUX_DEFAULT 1 -#define WSEMULDISPLAYDEVCF_NLOCS 2 -#define AACCF_UNIT 0 -#define AACCF_UNIT_DEFAULT -1 -#define AACCF_NLOCS 1 -#define PCKBPORTCF_SLOT 0 -#define PCKBPORTCF_SLOT_DEFAULT -1 -#define PCKBPORTCF_NLOCS 1 -#define MLXCF_UNIT 0 -#define MLXCF_UNIT_DEFAULT -1 -#define MLXCF_NLOCS 1 -#define WSMOUSEDEVCF_MUX 0 -#define WSMOUSEDEVCF_MUX_DEFAULT 0 -#define WSMOUSEDEVCF_NLOCS 1 -#define SCSICF_CHANNEL 0 -#define SCSICF_CHANNEL_DEFAULT -1 -#define SCSICF_NLOCS 1 -#define HDAUDIOBUSCF_NID 0 -#define HDAUDIOBUSCF_NID_DEFAULT -1 -#define HDAUDIOBUSCF_NLOCS 1 -#define CPCBUSCF_ADDR 0 -#define CPCBUSCF_IRQ 1 -#define CPCBUSCF_IRQ_DEFAULT -1 -#define CPCBUSCF_NLOCS 2 -#define ATACF_CHANNEL 0 -#define ATACF_CHANNEL_DEFAULT -1 -#define ATACF_NLOCS 1 -#define PCMCIABUSCF_CONTROLLER 0 -#define PCMCIABUSCF_CONTROLLER_DEFAULT -1 -#define PCMCIABUSCF_SOCKET 1 -#define PCMCIABUSCF_SOCKET_DEFAULT -1 -#define PCMCIABUSCF_NLOCS 2 -#define FLASHBUSCF_OFFSET 0 -#define FLASHBUSCF_OFFSET_DEFAULT 0 -#define FLASHBUSCF_SIZE 1 -#define FLASHBUSCF_SIZE_DEFAULT 0 -#define FLASHBUSCF_READONLY 2 -#define FLASHBUSCF_READONLY_DEFAULT 0 -#define FLASHBUSCF_NLOCS 3 -#define CACCF_UNIT 0 -#define CACCF_UNIT_DEFAULT -1 -#define CACCF_NLOCS 1 -#define GPIBDEVCF_ADDRESS 0 -#define GPIBDEVCF_ADDRESS_DEFAULT -1 -#define GPIBDEVCF_NLOCS 1 -#define IICCF_ADDR 0 -#define IICCF_ADDR_DEFAULT -1 -#define IICCF_SIZE 1 -#define IICCF_SIZE_DEFAULT -1 -#define IICCF_NLOCS 2 -#define PCIBUSCF_BUS 0 -#define PCIBUSCF_BUS_DEFAULT -1 -#define PCIBUSCF_NLOCS 1 -#define ATA_HLCF_DRIVE 0 -#define ATA_HLCF_DRIVE_DEFAULT -1 -#define ATA_HLCF_NLOCS 1 -#define GPIOCF_OFFSET 0 -#define GPIOCF_OFFSET_DEFAULT -1 -#define GPIOCF_MASK 1 -#define GPIOCF_MASK_DEFAULT 0 -#define GPIOCF_FLAG 2 -#define GPIOCF_FLAG_DEFAULT 0 -#define GPIOCF_NLOCS 3 -#define ICPCF_UNIT 0 -#define ICPCF_UNIT_DEFAULT -1 -#define ICPCF_NLOCS 1 -#define WSDISPLAYDEVCF_KBDMUX 0 -#define WSDISPLAYDEVCF_KBDMUX_DEFAULT 1 -#define WSDISPLAYDEVCF_NLOCS 1 -#define MIICF_PHY 0 -#define MIICF_PHY_DEFAULT -1 -#define MIICF_NLOCS 1 -#define UPCCF_OFFSET 0 -#define UPCCF_OFFSET_DEFAULT -1 -#define UPCCF_NLOCS 1 -#define SPICF_SLAVE 0 -#define SPICF_NLOCS 1 diff --git a/sys/rump/dev/lib/libopencrypto/machine b/sys/rump/dev/lib/libopencrypto/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libopencrypto/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libopencrypto/x86 b/sys/rump/dev/lib/libopencrypto/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libopencrypto/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libpad/i386 b/sys/rump/dev/lib/libpad/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libpad/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libpad/machine b/sys/rump/dev/lib/libpad/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libpad/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libpad/x86 b/sys/rump/dev/lib/libpad/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libpad/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libpud/i386 b/sys/rump/dev/lib/libpud/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libpud/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libpud/machine b/sys/rump/dev/lib/libpud/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libpud/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libpud/x86 b/sys/rump/dev/lib/libpud/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libpud/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libputter/i386 b/sys/rump/dev/lib/libputter/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libputter/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libputter/machine b/sys/rump/dev/lib/libputter/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libputter/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libputter/x86 b/sys/rump/dev/lib/libputter/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libputter/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libraidframe/i386 b/sys/rump/dev/lib/libraidframe/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libraidframe/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libraidframe/ioconf.c b/sys/rump/dev/lib/libraidframe/ioconf.c deleted file mode 100644 index 45bccb20d..000000000 --- a/sys/rump/dev/lib/libraidframe/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libraidframe/RAIDFRAME.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_raidframe[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_raidframe[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_raidframe[] = { - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libraidframe/ioconf.h b/sys/rump/dev/lib/libraidframe/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/dev/lib/libraidframe/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/dev/lib/libraidframe/locators.h b/sys/rump/dev/lib/libraidframe/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/dev/lib/libraidframe/machine b/sys/rump/dev/lib/libraidframe/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libraidframe/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libraidframe/x86 b/sys/rump/dev/lib/libraidframe/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libraidframe/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/librnd/i386 b/sys/rump/dev/lib/librnd/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/librnd/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/librnd/ioconf.c b/sys/rump/dev/lib/librnd/ioconf.c deleted file mode 100644 index 317fb4399..000000000 --- a/sys/rump/dev/lib/librnd/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/librnd/RND.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_rnd[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_rnd[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_rnd[] = { - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/librnd/ioconf.h b/sys/rump/dev/lib/librnd/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/dev/lib/librnd/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/dev/lib/librnd/locators.h b/sys/rump/dev/lib/librnd/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/dev/lib/librnd/machine b/sys/rump/dev/lib/librnd/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/librnd/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/librnd/x86 b/sys/rump/dev/lib/librnd/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/librnd/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libscsipi/i386 b/sys/rump/dev/lib/libscsipi/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libscsipi/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libscsipi/machine b/sys/rump/dev/lib/libscsipi/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libscsipi/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libscsipi/x86 b/sys/rump/dev/lib/libscsipi/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libscsipi/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libsysmon/i386 b/sys/rump/dev/lib/libsysmon/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libsysmon/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libsysmon/ioconf.c b/sys/rump/dev/lib/libsysmon/ioconf.c deleted file mode 100644 index ed54e4508..000000000 --- a/sys/rump/dev/lib/libsysmon/ioconf.c +++ /dev/null @@ -1,35 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libsysmon/SYSMON.ioconf" - */ - -#include -#include -#include -#include - - -CFDRIVER_DECL(swwdog, DV_DULL, NULL); - - -static struct cfdriver * const cfdriver_ioconf_swwdog[] = { - &swwdog_cd, - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_swwdog[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_swwdog[] = { - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libsysmon/ioconf.h b/sys/rump/dev/lib/libsysmon/ioconf.h deleted file mode 100644 index 253a4bf19..000000000 --- a/sys/rump/dev/lib/libsysmon/ioconf.h +++ /dev/null @@ -1,6 +0,0 @@ - -/* pseudo-devices */ -void swwdogattach(int); - -/* driver structs */ -extern struct cfdriver swwdog_cd; diff --git a/sys/rump/dev/lib/libsysmon/locators.h b/sys/rump/dev/lib/libsysmon/locators.h deleted file mode 100644 index e1e369eed..000000000 --- a/sys/rump/dev/lib/libsysmon/locators.h +++ /dev/null @@ -1,85 +0,0 @@ -#define WSKBDDEVCF_CONSOLE 0 -#define WSKBDDEVCF_CONSOLE_DEFAULT -1 -#define WSKBDDEVCF_MUX 1 -#define WSKBDDEVCF_MUX_DEFAULT 1 -#define WSKBDDEVCF_NLOCS 2 -#define WSEMULDISPLAYDEVCF_CONSOLE 0 -#define WSEMULDISPLAYDEVCF_CONSOLE_DEFAULT -1 -#define WSEMULDISPLAYDEVCF_KBDMUX 1 -#define WSEMULDISPLAYDEVCF_KBDMUX_DEFAULT 1 -#define WSEMULDISPLAYDEVCF_NLOCS 2 -#define AACCF_UNIT 0 -#define AACCF_UNIT_DEFAULT -1 -#define AACCF_NLOCS 1 -#define PCKBPORTCF_SLOT 0 -#define PCKBPORTCF_SLOT_DEFAULT -1 -#define PCKBPORTCF_NLOCS 1 -#define MLXCF_UNIT 0 -#define MLXCF_UNIT_DEFAULT -1 -#define MLXCF_NLOCS 1 -#define WSMOUSEDEVCF_MUX 0 -#define WSMOUSEDEVCF_MUX_DEFAULT 0 -#define WSMOUSEDEVCF_NLOCS 1 -#define SCSICF_CHANNEL 0 -#define SCSICF_CHANNEL_DEFAULT -1 -#define SCSICF_NLOCS 1 -#define HDAUDIOBUSCF_NID 0 -#define HDAUDIOBUSCF_NID_DEFAULT -1 -#define HDAUDIOBUSCF_NLOCS 1 -#define CPCBUSCF_ADDR 0 -#define CPCBUSCF_IRQ 1 -#define CPCBUSCF_IRQ_DEFAULT -1 -#define CPCBUSCF_NLOCS 2 -#define ATACF_CHANNEL 0 -#define ATACF_CHANNEL_DEFAULT -1 -#define ATACF_NLOCS 1 -#define PCMCIABUSCF_CONTROLLER 0 -#define PCMCIABUSCF_CONTROLLER_DEFAULT -1 -#define PCMCIABUSCF_SOCKET 1 -#define PCMCIABUSCF_SOCKET_DEFAULT -1 -#define PCMCIABUSCF_NLOCS 2 -#define FLASHBUSCF_OFFSET 0 -#define FLASHBUSCF_OFFSET_DEFAULT 0 -#define FLASHBUSCF_SIZE 1 -#define FLASHBUSCF_SIZE_DEFAULT 0 -#define FLASHBUSCF_READONLY 2 -#define FLASHBUSCF_READONLY_DEFAULT 0 -#define FLASHBUSCF_NLOCS 3 -#define CACCF_UNIT 0 -#define CACCF_UNIT_DEFAULT -1 -#define CACCF_NLOCS 1 -#define GPIBDEVCF_ADDRESS 0 -#define GPIBDEVCF_ADDRESS_DEFAULT -1 -#define GPIBDEVCF_NLOCS 1 -#define IICCF_ADDR 0 -#define IICCF_ADDR_DEFAULT -1 -#define IICCF_SIZE 1 -#define IICCF_SIZE_DEFAULT -1 -#define IICCF_NLOCS 2 -#define PCIBUSCF_BUS 0 -#define PCIBUSCF_BUS_DEFAULT -1 -#define PCIBUSCF_NLOCS 1 -#define ATA_HLCF_DRIVE 0 -#define ATA_HLCF_DRIVE_DEFAULT -1 -#define ATA_HLCF_NLOCS 1 -#define GPIOCF_OFFSET 0 -#define GPIOCF_OFFSET_DEFAULT -1 -#define GPIOCF_MASK 1 -#define GPIOCF_MASK_DEFAULT 0 -#define GPIOCF_FLAG 2 -#define GPIOCF_FLAG_DEFAULT 0 -#define GPIOCF_NLOCS 3 -#define ICPCF_UNIT 0 -#define ICPCF_UNIT_DEFAULT -1 -#define ICPCF_NLOCS 1 -#define WSDISPLAYDEVCF_KBDMUX 0 -#define WSDISPLAYDEVCF_KBDMUX_DEFAULT 1 -#define WSDISPLAYDEVCF_NLOCS 1 -#define MIICF_PHY 0 -#define MIICF_PHY_DEFAULT -1 -#define MIICF_NLOCS 1 -#define UPCCF_OFFSET 0 -#define UPCCF_OFFSET_DEFAULT -1 -#define UPCCF_NLOCS 1 -#define SPICF_SLAVE 0 -#define SPICF_NLOCS 1 diff --git a/sys/rump/dev/lib/libsysmon/machine b/sys/rump/dev/lib/libsysmon/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libsysmon/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libsysmon/x86 b/sys/rump/dev/lib/libsysmon/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libsysmon/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libubt/i386 b/sys/rump/dev/lib/libubt/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libubt/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libubt/machine b/sys/rump/dev/lib/libubt/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libubt/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libubt/x86 b/sys/rump/dev/lib/libubt/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libubt/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libucom/i386 b/sys/rump/dev/lib/libucom/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libucom/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libucom/machine b/sys/rump/dev/lib/libucom/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libucom/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libucom/x86 b/sys/rump/dev/lib/libucom/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libucom/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libugenhc/i386 b/sys/rump/dev/lib/libugenhc/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libugenhc/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libugenhc/ioconf.c b/sys/rump/dev/lib/libugenhc/ioconf.c deleted file mode 100644 index ecb83b9dc..000000000 --- a/sys/rump/dev/lib/libugenhc/ioconf.c +++ /dev/null @@ -1,67 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libugenhc/UGENHC.ioconf" - */ - -#include -#include -#include -#include - -static const struct cfiattrdata mainbuscf_iattrdata = { - "mainbus", 0, { - { NULL, NULL, 0 }, - } -}; -static const struct cfiattrdata usbuscf_iattrdata = { - "usbus", 0, { - { NULL, NULL, 0 }, - } -}; -static const struct cfiattrdata pcibuscf_iattrdata = { - "pcibus", 1, { - { "bus", "-1", -1 }, - } -}; - -static const struct cfiattrdata * const ugenhc_attrs[] = { &usbuscf_iattrdata, NULL }; -CFDRIVER_DECL(ugenhc, DV_DULL, ugenhc_attrs); - - -static struct cfdriver * const cfdriver_ioconf_ugenhc[] = { - &ugenhc_cd, - NULL -}; - -extern struct cfattach ugenhc_ca; - -static const struct cfparent pspec0 = { - "mainbus", "mainbus", DVUNIT_ANY -}; - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_ugenhc[] = { - /* driver attachment unit state loc flags pspec */ -/* 0: ugenhc0 at mainbus? */ - { "ugenhc", "ugenhc", 0, NORM, NULL, 0, &pspec0 }, -/* 1: ugenhc1 at mainbus? */ - { "ugenhc", "ugenhc", 1, NORM, NULL, 0, &pspec0 }, -/* 2: ugenhc2 at mainbus? */ - { "ugenhc", "ugenhc", 2, NORM, NULL, 0, &pspec0 }, -/* 3: ugenhc3 at mainbus? */ - { "ugenhc", "ugenhc", 3, NORM, NULL, 0, &pspec0 }, - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - -static struct cfattach * const ugenhc_cfattachinit[] = { - &ugenhc_ca, NULL -}; - -static const struct cfattachinit cfattach_ioconf_ugenhc[] = { - { "ugenhc", ugenhc_cfattachinit }, - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libugenhc/ioconf.h b/sys/rump/dev/lib/libugenhc/ioconf.h deleted file mode 100644 index 74a0ddee6..000000000 --- a/sys/rump/dev/lib/libugenhc/ioconf.h +++ /dev/null @@ -1,5 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ -extern struct cfdriver ugenhc_cd; diff --git a/sys/rump/dev/lib/libugenhc/locators.h b/sys/rump/dev/lib/libugenhc/locators.h deleted file mode 100644 index 998e1f4aa..000000000 --- a/sys/rump/dev/lib/libugenhc/locators.h +++ /dev/null @@ -1,117 +0,0 @@ -#define WSKBDDEVCF_CONSOLE 0 -#define WSKBDDEVCF_CONSOLE_DEFAULT -1 -#define WSKBDDEVCF_MUX 1 -#define WSKBDDEVCF_MUX_DEFAULT 1 -#define WSKBDDEVCF_NLOCS 2 -#define WSEMULDISPLAYDEVCF_CONSOLE 0 -#define WSEMULDISPLAYDEVCF_CONSOLE_DEFAULT -1 -#define WSEMULDISPLAYDEVCF_KBDMUX 1 -#define WSEMULDISPLAYDEVCF_KBDMUX_DEFAULT 1 -#define WSEMULDISPLAYDEVCF_NLOCS 2 -#define AACCF_UNIT 0 -#define AACCF_UNIT_DEFAULT -1 -#define AACCF_NLOCS 1 -#define PCKBPORTCF_SLOT 0 -#define PCKBPORTCF_SLOT_DEFAULT -1 -#define PCKBPORTCF_NLOCS 1 -#define MLXCF_UNIT 0 -#define MLXCF_UNIT_DEFAULT -1 -#define MLXCF_NLOCS 1 -#define WSMOUSEDEVCF_MUX 0 -#define WSMOUSEDEVCF_MUX_DEFAULT 0 -#define WSMOUSEDEVCF_NLOCS 1 -#define SCSICF_CHANNEL 0 -#define SCSICF_CHANNEL_DEFAULT -1 -#define SCSICF_NLOCS 1 -#define HDAUDIOBUSCF_NID 0 -#define HDAUDIOBUSCF_NID_DEFAULT -1 -#define HDAUDIOBUSCF_NLOCS 1 -#define USBIFIFCF_PORT 0 -#define USBIFIFCF_PORT_DEFAULT -1 -#define USBIFIFCF_CONFIGURATION 1 -#define USBIFIFCF_CONFIGURATION_DEFAULT -1 -#define USBIFIFCF_INTERFACE 2 -#define USBIFIFCF_INTERFACE_DEFAULT -1 -#define USBIFIFCF_VENDOR 3 -#define USBIFIFCF_VENDOR_DEFAULT -1 -#define USBIFIFCF_PRODUCT 4 -#define USBIFIFCF_PRODUCT_DEFAULT -1 -#define USBIFIFCF_RELEASE 5 -#define USBIFIFCF_RELEASE_DEFAULT -1 -#define USBIFIFCF_NLOCS 6 -#define CPCBUSCF_ADDR 0 -#define CPCBUSCF_IRQ 1 -#define CPCBUSCF_IRQ_DEFAULT -1 -#define CPCBUSCF_NLOCS 2 -#define ATACF_CHANNEL 0 -#define ATACF_CHANNEL_DEFAULT -1 -#define ATACF_NLOCS 1 -#define USBDEVIFCF_PORT 0 -#define USBDEVIFCF_PORT_DEFAULT -1 -#define USBDEVIFCF_CONFIGURATION 1 -#define USBDEVIFCF_CONFIGURATION_DEFAULT -1 -#define USBDEVIFCF_INTERFACE 2 -#define USBDEVIFCF_INTERFACE_DEFAULT -1 -#define USBDEVIFCF_VENDOR 3 -#define USBDEVIFCF_VENDOR_DEFAULT -1 -#define USBDEVIFCF_PRODUCT 4 -#define USBDEVIFCF_PRODUCT_DEFAULT -1 -#define USBDEVIFCF_RELEASE 5 -#define USBDEVIFCF_RELEASE_DEFAULT -1 -#define USBDEVIFCF_NLOCS 6 -#define PCMCIABUSCF_CONTROLLER 0 -#define PCMCIABUSCF_CONTROLLER_DEFAULT -1 -#define PCMCIABUSCF_SOCKET 1 -#define PCMCIABUSCF_SOCKET_DEFAULT -1 -#define PCMCIABUSCF_NLOCS 2 -#define FLASHBUSCF_OFFSET 0 -#define FLASHBUSCF_OFFSET_DEFAULT 0 -#define FLASHBUSCF_SIZE 1 -#define FLASHBUSCF_SIZE_DEFAULT 0 -#define FLASHBUSCF_READONLY 2 -#define FLASHBUSCF_READONLY_DEFAULT 0 -#define FLASHBUSCF_NLOCS 3 -#define CACCF_UNIT 0 -#define CACCF_UNIT_DEFAULT -1 -#define CACCF_NLOCS 1 -#define GPIBDEVCF_ADDRESS 0 -#define GPIBDEVCF_ADDRESS_DEFAULT -1 -#define GPIBDEVCF_NLOCS 1 -#define IICCF_ADDR 0 -#define IICCF_ADDR_DEFAULT -1 -#define IICCF_SIZE 1 -#define IICCF_SIZE_DEFAULT -1 -#define IICCF_NLOCS 2 -#define PCIBUSCF_BUS 0 -#define PCIBUSCF_BUS_DEFAULT -1 -#define PCIBUSCF_NLOCS 1 -#define ATA_HLCF_DRIVE 0 -#define ATA_HLCF_DRIVE_DEFAULT -1 -#define ATA_HLCF_NLOCS 1 -#define GPIOCF_OFFSET 0 -#define GPIOCF_OFFSET_DEFAULT -1 -#define GPIOCF_MASK 1 -#define GPIOCF_MASK_DEFAULT 0 -#define GPIOCF_FLAG 2 -#define GPIOCF_FLAG_DEFAULT 0 -#define GPIOCF_NLOCS 3 -#define UHIDBUSCF_REPORTID 0 -#define UHIDBUSCF_REPORTID_DEFAULT -1 -#define UHIDBUSCF_NLOCS 1 -#define ICPCF_UNIT 0 -#define ICPCF_UNIT_DEFAULT -1 -#define ICPCF_NLOCS 1 -#define WSDISPLAYDEVCF_KBDMUX 0 -#define WSDISPLAYDEVCF_KBDMUX_DEFAULT 1 -#define WSDISPLAYDEVCF_NLOCS 1 -#define MIICF_PHY 0 -#define MIICF_PHY_DEFAULT -1 -#define MIICF_NLOCS 1 -#define UPCCF_OFFSET 0 -#define UPCCF_OFFSET_DEFAULT -1 -#define UPCCF_NLOCS 1 -#define SPICF_SLAVE 0 -#define SPICF_NLOCS 1 -#define UCOMBUSCF_PORTNO 0 -#define UCOMBUSCF_PORTNO_DEFAULT -1 -#define UCOMBUSCF_NLOCS 1 diff --git a/sys/rump/dev/lib/libugenhc/machine b/sys/rump/dev/lib/libugenhc/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libugenhc/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libugenhc/x86 b/sys/rump/dev/lib/libugenhc/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libugenhc/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libulpt/i386 b/sys/rump/dev/lib/libulpt/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libulpt/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libulpt/ioconf.c b/sys/rump/dev/lib/libulpt/ioconf.c deleted file mode 100644 index fcab2fa17..000000000 --- a/sys/rump/dev/lib/libulpt/ioconf.c +++ /dev/null @@ -1,70 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libulpt/ULPT.ioconf" - */ - -#include -#include -#include -#include - -static const struct cfiattrdata usbififcf_iattrdata = { - "usbifif", 6, { - { "port", "-1", -1 }, - { "configuration", "-1", -1 }, - { "interface", "-1", -1 }, - { "vendor", "-1", -1 }, - { "product", "-1", -1 }, - { "release", "-1", -1 }, - } -}; -static const struct cfiattrdata usbdevifcf_iattrdata = { - "usbdevif", 6, { - { "port", "-1", -1 }, - { "configuration", "-1", -1 }, - { "interface", "-1", -1 }, - { "vendor", "-1", -1 }, - { "product", "-1", -1 }, - { "release", "-1", -1 }, - } -}; - -CFDRIVER_DECL(ulpt, DV_DULL, NULL); - - -static struct cfdriver * const cfdriver_ioconf_ulpt[] = { - &ulpt_cd, - NULL -}; - -extern struct cfattach ulpt_ca; - -/* locators */ -static int loc[6] = { - -1, -1, -1, -1, -1, -1, -}; - -static const struct cfparent pspec0 = { - "usbifif", "uhub", DVUNIT_ANY -}; - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_ulpt[] = { - /* driver attachment unit state loc flags pspec */ -/* 0: ulpt* at uhub? port -1 configuration -1 interface -1 vendor -1 product -1 release -1 */ - { "ulpt", "ulpt", 0, STAR, loc+ 0, 0, &pspec0 }, - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - -static struct cfattach * const ulpt_cfattachinit[] = { - &ulpt_ca, NULL -}; - -static const struct cfattachinit cfattach_ioconf_ulpt[] = { - { "ulpt", ulpt_cfattachinit }, - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libulpt/ioconf.h b/sys/rump/dev/lib/libulpt/ioconf.h deleted file mode 100644 index f38f9da40..000000000 --- a/sys/rump/dev/lib/libulpt/ioconf.h +++ /dev/null @@ -1,5 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ -extern struct cfdriver ulpt_cd; diff --git a/sys/rump/dev/lib/libulpt/locators.h b/sys/rump/dev/lib/libulpt/locators.h deleted file mode 100644 index 998e1f4aa..000000000 --- a/sys/rump/dev/lib/libulpt/locators.h +++ /dev/null @@ -1,117 +0,0 @@ -#define WSKBDDEVCF_CONSOLE 0 -#define WSKBDDEVCF_CONSOLE_DEFAULT -1 -#define WSKBDDEVCF_MUX 1 -#define WSKBDDEVCF_MUX_DEFAULT 1 -#define WSKBDDEVCF_NLOCS 2 -#define WSEMULDISPLAYDEVCF_CONSOLE 0 -#define WSEMULDISPLAYDEVCF_CONSOLE_DEFAULT -1 -#define WSEMULDISPLAYDEVCF_KBDMUX 1 -#define WSEMULDISPLAYDEVCF_KBDMUX_DEFAULT 1 -#define WSEMULDISPLAYDEVCF_NLOCS 2 -#define AACCF_UNIT 0 -#define AACCF_UNIT_DEFAULT -1 -#define AACCF_NLOCS 1 -#define PCKBPORTCF_SLOT 0 -#define PCKBPORTCF_SLOT_DEFAULT -1 -#define PCKBPORTCF_NLOCS 1 -#define MLXCF_UNIT 0 -#define MLXCF_UNIT_DEFAULT -1 -#define MLXCF_NLOCS 1 -#define WSMOUSEDEVCF_MUX 0 -#define WSMOUSEDEVCF_MUX_DEFAULT 0 -#define WSMOUSEDEVCF_NLOCS 1 -#define SCSICF_CHANNEL 0 -#define SCSICF_CHANNEL_DEFAULT -1 -#define SCSICF_NLOCS 1 -#define HDAUDIOBUSCF_NID 0 -#define HDAUDIOBUSCF_NID_DEFAULT -1 -#define HDAUDIOBUSCF_NLOCS 1 -#define USBIFIFCF_PORT 0 -#define USBIFIFCF_PORT_DEFAULT -1 -#define USBIFIFCF_CONFIGURATION 1 -#define USBIFIFCF_CONFIGURATION_DEFAULT -1 -#define USBIFIFCF_INTERFACE 2 -#define USBIFIFCF_INTERFACE_DEFAULT -1 -#define USBIFIFCF_VENDOR 3 -#define USBIFIFCF_VENDOR_DEFAULT -1 -#define USBIFIFCF_PRODUCT 4 -#define USBIFIFCF_PRODUCT_DEFAULT -1 -#define USBIFIFCF_RELEASE 5 -#define USBIFIFCF_RELEASE_DEFAULT -1 -#define USBIFIFCF_NLOCS 6 -#define CPCBUSCF_ADDR 0 -#define CPCBUSCF_IRQ 1 -#define CPCBUSCF_IRQ_DEFAULT -1 -#define CPCBUSCF_NLOCS 2 -#define ATACF_CHANNEL 0 -#define ATACF_CHANNEL_DEFAULT -1 -#define ATACF_NLOCS 1 -#define USBDEVIFCF_PORT 0 -#define USBDEVIFCF_PORT_DEFAULT -1 -#define USBDEVIFCF_CONFIGURATION 1 -#define USBDEVIFCF_CONFIGURATION_DEFAULT -1 -#define USBDEVIFCF_INTERFACE 2 -#define USBDEVIFCF_INTERFACE_DEFAULT -1 -#define USBDEVIFCF_VENDOR 3 -#define USBDEVIFCF_VENDOR_DEFAULT -1 -#define USBDEVIFCF_PRODUCT 4 -#define USBDEVIFCF_PRODUCT_DEFAULT -1 -#define USBDEVIFCF_RELEASE 5 -#define USBDEVIFCF_RELEASE_DEFAULT -1 -#define USBDEVIFCF_NLOCS 6 -#define PCMCIABUSCF_CONTROLLER 0 -#define PCMCIABUSCF_CONTROLLER_DEFAULT -1 -#define PCMCIABUSCF_SOCKET 1 -#define PCMCIABUSCF_SOCKET_DEFAULT -1 -#define PCMCIABUSCF_NLOCS 2 -#define FLASHBUSCF_OFFSET 0 -#define FLASHBUSCF_OFFSET_DEFAULT 0 -#define FLASHBUSCF_SIZE 1 -#define FLASHBUSCF_SIZE_DEFAULT 0 -#define FLASHBUSCF_READONLY 2 -#define FLASHBUSCF_READONLY_DEFAULT 0 -#define FLASHBUSCF_NLOCS 3 -#define CACCF_UNIT 0 -#define CACCF_UNIT_DEFAULT -1 -#define CACCF_NLOCS 1 -#define GPIBDEVCF_ADDRESS 0 -#define GPIBDEVCF_ADDRESS_DEFAULT -1 -#define GPIBDEVCF_NLOCS 1 -#define IICCF_ADDR 0 -#define IICCF_ADDR_DEFAULT -1 -#define IICCF_SIZE 1 -#define IICCF_SIZE_DEFAULT -1 -#define IICCF_NLOCS 2 -#define PCIBUSCF_BUS 0 -#define PCIBUSCF_BUS_DEFAULT -1 -#define PCIBUSCF_NLOCS 1 -#define ATA_HLCF_DRIVE 0 -#define ATA_HLCF_DRIVE_DEFAULT -1 -#define ATA_HLCF_NLOCS 1 -#define GPIOCF_OFFSET 0 -#define GPIOCF_OFFSET_DEFAULT -1 -#define GPIOCF_MASK 1 -#define GPIOCF_MASK_DEFAULT 0 -#define GPIOCF_FLAG 2 -#define GPIOCF_FLAG_DEFAULT 0 -#define GPIOCF_NLOCS 3 -#define UHIDBUSCF_REPORTID 0 -#define UHIDBUSCF_REPORTID_DEFAULT -1 -#define UHIDBUSCF_NLOCS 1 -#define ICPCF_UNIT 0 -#define ICPCF_UNIT_DEFAULT -1 -#define ICPCF_NLOCS 1 -#define WSDISPLAYDEVCF_KBDMUX 0 -#define WSDISPLAYDEVCF_KBDMUX_DEFAULT 1 -#define WSDISPLAYDEVCF_NLOCS 1 -#define MIICF_PHY 0 -#define MIICF_PHY_DEFAULT -1 -#define MIICF_NLOCS 1 -#define UPCCF_OFFSET 0 -#define UPCCF_OFFSET_DEFAULT -1 -#define UPCCF_NLOCS 1 -#define SPICF_SLAVE 0 -#define SPICF_NLOCS 1 -#define UCOMBUSCF_PORTNO 0 -#define UCOMBUSCF_PORTNO_DEFAULT -1 -#define UCOMBUSCF_NLOCS 1 diff --git a/sys/rump/dev/lib/libulpt/machine b/sys/rump/dev/lib/libulpt/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libulpt/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libulpt/x86 b/sys/rump/dev/lib/libulpt/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libulpt/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libumass/i386 b/sys/rump/dev/lib/libumass/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libumass/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libumass/ioconf.c b/sys/rump/dev/lib/libumass/ioconf.c deleted file mode 100644 index ad4fb8205..000000000 --- a/sys/rump/dev/lib/libumass/ioconf.c +++ /dev/null @@ -1,86 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libumass/UMASS.ioconf" - */ - -#include -#include -#include -#include - -static const struct cfiattrdata atapicf_iattrdata = { - "atapi", 0, { - { NULL, NULL, 0 }, - } -}; -static const struct cfiattrdata scsicf_iattrdata = { - "scsi", 1, { - { "channel", "-1", -1 }, - } -}; -static const struct cfiattrdata usbififcf_iattrdata = { - "usbifif", 6, { - { "port", "-1", -1 }, - { "configuration", "-1", -1 }, - { "interface", "-1", -1 }, - { "vendor", "-1", -1 }, - { "product", "-1", -1 }, - { "release", "-1", -1 }, - } -}; -static const struct cfiattrdata usbdevifcf_iattrdata = { - "usbdevif", 6, { - { "port", "-1", -1 }, - { "configuration", "-1", -1 }, - { "interface", "-1", -1 }, - { "vendor", "-1", -1 }, - { "product", "-1", -1 }, - { "release", "-1", -1 }, - } -}; -static const struct cfiattrdata ata_hlcf_iattrdata = { - "ata_hl", 1, { - { "drive", "-1", -1 }, - } -}; - -static const struct cfiattrdata * const umass_attrs[] = { &ata_hlcf_iattrdata, &atapicf_iattrdata, &scsicf_iattrdata, NULL }; -CFDRIVER_DECL(umass, DV_DULL, umass_attrs); - - -static struct cfdriver * const cfdriver_ioconf_umass[] = { - &umass_cd, - NULL -}; - -extern struct cfattach umass_ca; - -/* locators */ -static int loc[6] = { - -1, -1, -1, -1, -1, -1, -}; - -static const struct cfparent pspec0 = { - "usbifif", "uhub", DVUNIT_ANY -}; - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_umass[] = { - /* driver attachment unit state loc flags pspec */ -/* 0: umass* at uhub? port -1 configuration -1 interface -1 vendor -1 product -1 release -1 */ - { "umass", "umass", 0, STAR, loc+ 0, 0, &pspec0 }, - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - -static struct cfattach * const umass_cfattachinit[] = { - &umass_ca, NULL -}; - -static const struct cfattachinit cfattach_ioconf_umass[] = { - { "umass", umass_cfattachinit }, - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libumass/ioconf.h b/sys/rump/dev/lib/libumass/ioconf.h deleted file mode 100644 index 812fca324..000000000 --- a/sys/rump/dev/lib/libumass/ioconf.h +++ /dev/null @@ -1,5 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ -extern struct cfdriver umass_cd; diff --git a/sys/rump/dev/lib/libumass/locators.h b/sys/rump/dev/lib/libumass/locators.h deleted file mode 100644 index 998e1f4aa..000000000 --- a/sys/rump/dev/lib/libumass/locators.h +++ /dev/null @@ -1,117 +0,0 @@ -#define WSKBDDEVCF_CONSOLE 0 -#define WSKBDDEVCF_CONSOLE_DEFAULT -1 -#define WSKBDDEVCF_MUX 1 -#define WSKBDDEVCF_MUX_DEFAULT 1 -#define WSKBDDEVCF_NLOCS 2 -#define WSEMULDISPLAYDEVCF_CONSOLE 0 -#define WSEMULDISPLAYDEVCF_CONSOLE_DEFAULT -1 -#define WSEMULDISPLAYDEVCF_KBDMUX 1 -#define WSEMULDISPLAYDEVCF_KBDMUX_DEFAULT 1 -#define WSEMULDISPLAYDEVCF_NLOCS 2 -#define AACCF_UNIT 0 -#define AACCF_UNIT_DEFAULT -1 -#define AACCF_NLOCS 1 -#define PCKBPORTCF_SLOT 0 -#define PCKBPORTCF_SLOT_DEFAULT -1 -#define PCKBPORTCF_NLOCS 1 -#define MLXCF_UNIT 0 -#define MLXCF_UNIT_DEFAULT -1 -#define MLXCF_NLOCS 1 -#define WSMOUSEDEVCF_MUX 0 -#define WSMOUSEDEVCF_MUX_DEFAULT 0 -#define WSMOUSEDEVCF_NLOCS 1 -#define SCSICF_CHANNEL 0 -#define SCSICF_CHANNEL_DEFAULT -1 -#define SCSICF_NLOCS 1 -#define HDAUDIOBUSCF_NID 0 -#define HDAUDIOBUSCF_NID_DEFAULT -1 -#define HDAUDIOBUSCF_NLOCS 1 -#define USBIFIFCF_PORT 0 -#define USBIFIFCF_PORT_DEFAULT -1 -#define USBIFIFCF_CONFIGURATION 1 -#define USBIFIFCF_CONFIGURATION_DEFAULT -1 -#define USBIFIFCF_INTERFACE 2 -#define USBIFIFCF_INTERFACE_DEFAULT -1 -#define USBIFIFCF_VENDOR 3 -#define USBIFIFCF_VENDOR_DEFAULT -1 -#define USBIFIFCF_PRODUCT 4 -#define USBIFIFCF_PRODUCT_DEFAULT -1 -#define USBIFIFCF_RELEASE 5 -#define USBIFIFCF_RELEASE_DEFAULT -1 -#define USBIFIFCF_NLOCS 6 -#define CPCBUSCF_ADDR 0 -#define CPCBUSCF_IRQ 1 -#define CPCBUSCF_IRQ_DEFAULT -1 -#define CPCBUSCF_NLOCS 2 -#define ATACF_CHANNEL 0 -#define ATACF_CHANNEL_DEFAULT -1 -#define ATACF_NLOCS 1 -#define USBDEVIFCF_PORT 0 -#define USBDEVIFCF_PORT_DEFAULT -1 -#define USBDEVIFCF_CONFIGURATION 1 -#define USBDEVIFCF_CONFIGURATION_DEFAULT -1 -#define USBDEVIFCF_INTERFACE 2 -#define USBDEVIFCF_INTERFACE_DEFAULT -1 -#define USBDEVIFCF_VENDOR 3 -#define USBDEVIFCF_VENDOR_DEFAULT -1 -#define USBDEVIFCF_PRODUCT 4 -#define USBDEVIFCF_PRODUCT_DEFAULT -1 -#define USBDEVIFCF_RELEASE 5 -#define USBDEVIFCF_RELEASE_DEFAULT -1 -#define USBDEVIFCF_NLOCS 6 -#define PCMCIABUSCF_CONTROLLER 0 -#define PCMCIABUSCF_CONTROLLER_DEFAULT -1 -#define PCMCIABUSCF_SOCKET 1 -#define PCMCIABUSCF_SOCKET_DEFAULT -1 -#define PCMCIABUSCF_NLOCS 2 -#define FLASHBUSCF_OFFSET 0 -#define FLASHBUSCF_OFFSET_DEFAULT 0 -#define FLASHBUSCF_SIZE 1 -#define FLASHBUSCF_SIZE_DEFAULT 0 -#define FLASHBUSCF_READONLY 2 -#define FLASHBUSCF_READONLY_DEFAULT 0 -#define FLASHBUSCF_NLOCS 3 -#define CACCF_UNIT 0 -#define CACCF_UNIT_DEFAULT -1 -#define CACCF_NLOCS 1 -#define GPIBDEVCF_ADDRESS 0 -#define GPIBDEVCF_ADDRESS_DEFAULT -1 -#define GPIBDEVCF_NLOCS 1 -#define IICCF_ADDR 0 -#define IICCF_ADDR_DEFAULT -1 -#define IICCF_SIZE 1 -#define IICCF_SIZE_DEFAULT -1 -#define IICCF_NLOCS 2 -#define PCIBUSCF_BUS 0 -#define PCIBUSCF_BUS_DEFAULT -1 -#define PCIBUSCF_NLOCS 1 -#define ATA_HLCF_DRIVE 0 -#define ATA_HLCF_DRIVE_DEFAULT -1 -#define ATA_HLCF_NLOCS 1 -#define GPIOCF_OFFSET 0 -#define GPIOCF_OFFSET_DEFAULT -1 -#define GPIOCF_MASK 1 -#define GPIOCF_MASK_DEFAULT 0 -#define GPIOCF_FLAG 2 -#define GPIOCF_FLAG_DEFAULT 0 -#define GPIOCF_NLOCS 3 -#define UHIDBUSCF_REPORTID 0 -#define UHIDBUSCF_REPORTID_DEFAULT -1 -#define UHIDBUSCF_NLOCS 1 -#define ICPCF_UNIT 0 -#define ICPCF_UNIT_DEFAULT -1 -#define ICPCF_NLOCS 1 -#define WSDISPLAYDEVCF_KBDMUX 0 -#define WSDISPLAYDEVCF_KBDMUX_DEFAULT 1 -#define WSDISPLAYDEVCF_NLOCS 1 -#define MIICF_PHY 0 -#define MIICF_PHY_DEFAULT -1 -#define MIICF_NLOCS 1 -#define UPCCF_OFFSET 0 -#define UPCCF_OFFSET_DEFAULT -1 -#define UPCCF_NLOCS 1 -#define SPICF_SLAVE 0 -#define SPICF_NLOCS 1 -#define UCOMBUSCF_PORTNO 0 -#define UCOMBUSCF_PORTNO_DEFAULT -1 -#define UCOMBUSCF_NLOCS 1 diff --git a/sys/rump/dev/lib/libumass/machine b/sys/rump/dev/lib/libumass/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libumass/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libumass/x86 b/sys/rump/dev/lib/libumass/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libumass/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libusb/i386 b/sys/rump/dev/lib/libusb/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libusb/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libusb/machine b/sys/rump/dev/lib/libusb/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libusb/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libusb/x86 b/sys/rump/dev/lib/libusb/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libusb/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libvnd/i386 b/sys/rump/dev/lib/libvnd/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libvnd/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libvnd/ioconf.c b/sys/rump/dev/lib/libvnd/ioconf.c deleted file mode 100644 index 62d292385..000000000 --- a/sys/rump/dev/lib/libvnd/ioconf.c +++ /dev/null @@ -1,35 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/dev/lib/libvnd/VND.ioconf" - */ - -#include -#include -#include -#include - - -CFDRIVER_DECL(vnd, DV_DISK, NULL); - - -static struct cfdriver * const cfdriver_ioconf_vnd[] = { - &vnd_cd, - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_vnd[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_vnd[] = { - { NULL, NULL } -}; diff --git a/sys/rump/dev/lib/libvnd/ioconf.h b/sys/rump/dev/lib/libvnd/ioconf.h deleted file mode 100644 index 6c5c27c27..000000000 --- a/sys/rump/dev/lib/libvnd/ioconf.h +++ /dev/null @@ -1,6 +0,0 @@ - -/* pseudo-devices */ -void vndattach(int); - -/* driver structs */ -extern struct cfdriver vnd_cd; diff --git a/sys/rump/dev/lib/libvnd/locators.h b/sys/rump/dev/lib/libvnd/locators.h deleted file mode 100644 index e1e369eed..000000000 --- a/sys/rump/dev/lib/libvnd/locators.h +++ /dev/null @@ -1,85 +0,0 @@ -#define WSKBDDEVCF_CONSOLE 0 -#define WSKBDDEVCF_CONSOLE_DEFAULT -1 -#define WSKBDDEVCF_MUX 1 -#define WSKBDDEVCF_MUX_DEFAULT 1 -#define WSKBDDEVCF_NLOCS 2 -#define WSEMULDISPLAYDEVCF_CONSOLE 0 -#define WSEMULDISPLAYDEVCF_CONSOLE_DEFAULT -1 -#define WSEMULDISPLAYDEVCF_KBDMUX 1 -#define WSEMULDISPLAYDEVCF_KBDMUX_DEFAULT 1 -#define WSEMULDISPLAYDEVCF_NLOCS 2 -#define AACCF_UNIT 0 -#define AACCF_UNIT_DEFAULT -1 -#define AACCF_NLOCS 1 -#define PCKBPORTCF_SLOT 0 -#define PCKBPORTCF_SLOT_DEFAULT -1 -#define PCKBPORTCF_NLOCS 1 -#define MLXCF_UNIT 0 -#define MLXCF_UNIT_DEFAULT -1 -#define MLXCF_NLOCS 1 -#define WSMOUSEDEVCF_MUX 0 -#define WSMOUSEDEVCF_MUX_DEFAULT 0 -#define WSMOUSEDEVCF_NLOCS 1 -#define SCSICF_CHANNEL 0 -#define SCSICF_CHANNEL_DEFAULT -1 -#define SCSICF_NLOCS 1 -#define HDAUDIOBUSCF_NID 0 -#define HDAUDIOBUSCF_NID_DEFAULT -1 -#define HDAUDIOBUSCF_NLOCS 1 -#define CPCBUSCF_ADDR 0 -#define CPCBUSCF_IRQ 1 -#define CPCBUSCF_IRQ_DEFAULT -1 -#define CPCBUSCF_NLOCS 2 -#define ATACF_CHANNEL 0 -#define ATACF_CHANNEL_DEFAULT -1 -#define ATACF_NLOCS 1 -#define PCMCIABUSCF_CONTROLLER 0 -#define PCMCIABUSCF_CONTROLLER_DEFAULT -1 -#define PCMCIABUSCF_SOCKET 1 -#define PCMCIABUSCF_SOCKET_DEFAULT -1 -#define PCMCIABUSCF_NLOCS 2 -#define FLASHBUSCF_OFFSET 0 -#define FLASHBUSCF_OFFSET_DEFAULT 0 -#define FLASHBUSCF_SIZE 1 -#define FLASHBUSCF_SIZE_DEFAULT 0 -#define FLASHBUSCF_READONLY 2 -#define FLASHBUSCF_READONLY_DEFAULT 0 -#define FLASHBUSCF_NLOCS 3 -#define CACCF_UNIT 0 -#define CACCF_UNIT_DEFAULT -1 -#define CACCF_NLOCS 1 -#define GPIBDEVCF_ADDRESS 0 -#define GPIBDEVCF_ADDRESS_DEFAULT -1 -#define GPIBDEVCF_NLOCS 1 -#define IICCF_ADDR 0 -#define IICCF_ADDR_DEFAULT -1 -#define IICCF_SIZE 1 -#define IICCF_SIZE_DEFAULT -1 -#define IICCF_NLOCS 2 -#define PCIBUSCF_BUS 0 -#define PCIBUSCF_BUS_DEFAULT -1 -#define PCIBUSCF_NLOCS 1 -#define ATA_HLCF_DRIVE 0 -#define ATA_HLCF_DRIVE_DEFAULT -1 -#define ATA_HLCF_NLOCS 1 -#define GPIOCF_OFFSET 0 -#define GPIOCF_OFFSET_DEFAULT -1 -#define GPIOCF_MASK 1 -#define GPIOCF_MASK_DEFAULT 0 -#define GPIOCF_FLAG 2 -#define GPIOCF_FLAG_DEFAULT 0 -#define GPIOCF_NLOCS 3 -#define ICPCF_UNIT 0 -#define ICPCF_UNIT_DEFAULT -1 -#define ICPCF_NLOCS 1 -#define WSDISPLAYDEVCF_KBDMUX 0 -#define WSDISPLAYDEVCF_KBDMUX_DEFAULT 1 -#define WSDISPLAYDEVCF_NLOCS 1 -#define MIICF_PHY 0 -#define MIICF_PHY_DEFAULT -1 -#define MIICF_NLOCS 1 -#define UPCCF_OFFSET 0 -#define UPCCF_OFFSET_DEFAULT -1 -#define UPCCF_NLOCS 1 -#define SPICF_SLAVE 0 -#define SPICF_NLOCS 1 diff --git a/sys/rump/dev/lib/libvnd/machine b/sys/rump/dev/lib/libvnd/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libvnd/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libvnd/x86 b/sys/rump/dev/lib/libvnd/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libvnd/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libwscons/i386 b/sys/rump/dev/lib/libwscons/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libwscons/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libwscons/machine b/sys/rump/dev/lib/libwscons/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/dev/lib/libwscons/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/dev/lib/libwscons/x86 b/sys/rump/dev/lib/libwscons/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/dev/lib/libwscons/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libaio/i386 b/sys/rump/fs/lib/libaio/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libaio/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libaio/machine b/sys/rump/fs/lib/libaio/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libaio/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libaio/x86 b/sys/rump/fs/lib/libaio/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libaio/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libcd9660/i386 b/sys/rump/fs/lib/libcd9660/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libcd9660/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libcd9660/machine b/sys/rump/fs/lib/libcd9660/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libcd9660/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libcd9660/x86 b/sys/rump/fs/lib/libcd9660/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libcd9660/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libefs/i386 b/sys/rump/fs/lib/libefs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libefs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libefs/machine b/sys/rump/fs/lib/libefs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libefs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libefs/x86 b/sys/rump/fs/lib/libefs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libefs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libext2fs/i386 b/sys/rump/fs/lib/libext2fs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libext2fs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libext2fs/machine b/sys/rump/fs/lib/libext2fs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libext2fs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libext2fs/x86 b/sys/rump/fs/lib/libext2fs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libext2fs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libfdesc/i386 b/sys/rump/fs/lib/libfdesc/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libfdesc/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libfdesc/machine b/sys/rump/fs/lib/libfdesc/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libfdesc/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libfdesc/x86 b/sys/rump/fs/lib/libfdesc/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libfdesc/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libffs/i386 b/sys/rump/fs/lib/libffs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libffs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libffs/machine b/sys/rump/fs/lib/libffs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libffs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libffs/x86 b/sys/rump/fs/lib/libffs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libffs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libfifovfs/i386 b/sys/rump/fs/lib/libfifovfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libfifovfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libfifovfs/machine b/sys/rump/fs/lib/libfifovfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libfifovfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libfifovfs/x86 b/sys/rump/fs/lib/libfifovfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libfifovfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libhfs/i386 b/sys/rump/fs/lib/libhfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libhfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libhfs/machine b/sys/rump/fs/lib/libhfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libhfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libhfs/x86 b/sys/rump/fs/lib/libhfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libhfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libkernfs/i386 b/sys/rump/fs/lib/libkernfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libkernfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libkernfs/machine b/sys/rump/fs/lib/libkernfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libkernfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libkernfs/x86 b/sys/rump/fs/lib/libkernfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libkernfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/liblayervfs/i386 b/sys/rump/fs/lib/liblayervfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/liblayervfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/liblayervfs/machine b/sys/rump/fs/lib/liblayervfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/liblayervfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/liblayervfs/x86 b/sys/rump/fs/lib/liblayervfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/liblayervfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/liblfs/i386 b/sys/rump/fs/lib/liblfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/liblfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/liblfs/machine b/sys/rump/fs/lib/liblfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/liblfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/liblfs/x86 b/sys/rump/fs/lib/liblfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/liblfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libmfs/i386 b/sys/rump/fs/lib/libmfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libmfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libmfs/machine b/sys/rump/fs/lib/libmfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libmfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libmfs/x86 b/sys/rump/fs/lib/libmfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libmfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libmsdos/i386 b/sys/rump/fs/lib/libmsdos/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libmsdos/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libmsdos/machine b/sys/rump/fs/lib/libmsdos/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libmsdos/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libmsdos/x86 b/sys/rump/fs/lib/libmsdos/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libmsdos/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libnfs/i386 b/sys/rump/fs/lib/libnfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libnfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libnfs/machine b/sys/rump/fs/lib/libnfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libnfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libnfs/x86 b/sys/rump/fs/lib/libnfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libnfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libnfsserver/i386 b/sys/rump/fs/lib/libnfsserver/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libnfsserver/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libnfsserver/machine b/sys/rump/fs/lib/libnfsserver/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libnfsserver/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libnfsserver/x86 b/sys/rump/fs/lib/libnfsserver/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libnfsserver/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libnilfs/i386 b/sys/rump/fs/lib/libnilfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libnilfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libnilfs/machine b/sys/rump/fs/lib/libnilfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libnilfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libnilfs/x86 b/sys/rump/fs/lib/libnilfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libnilfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libntfs/i386 b/sys/rump/fs/lib/libntfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libntfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libntfs/machine b/sys/rump/fs/lib/libntfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libntfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libntfs/x86 b/sys/rump/fs/lib/libntfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libntfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libnull/i386 b/sys/rump/fs/lib/libnull/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libnull/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libnull/machine b/sys/rump/fs/lib/libnull/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libnull/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libnull/x86 b/sys/rump/fs/lib/libnull/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libnull/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libptyfs/i386 b/sys/rump/fs/lib/libptyfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libptyfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libptyfs/machine b/sys/rump/fs/lib/libptyfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libptyfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libptyfs/x86 b/sys/rump/fs/lib/libptyfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libptyfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libsmbfs/i386 b/sys/rump/fs/lib/libsmbfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libsmbfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libsmbfs/machine b/sys/rump/fs/lib/libsmbfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libsmbfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libsmbfs/x86 b/sys/rump/fs/lib/libsmbfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libsmbfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libsyspuffs/i386 b/sys/rump/fs/lib/libsyspuffs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libsyspuffs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libsyspuffs/machine b/sys/rump/fs/lib/libsyspuffs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libsyspuffs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libsyspuffs/x86 b/sys/rump/fs/lib/libsyspuffs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libsyspuffs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libsysvbfs/i386 b/sys/rump/fs/lib/libsysvbfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libsysvbfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libsysvbfs/machine b/sys/rump/fs/lib/libsysvbfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libsysvbfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libsysvbfs/x86 b/sys/rump/fs/lib/libsysvbfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libsysvbfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libtmpfs/i386 b/sys/rump/fs/lib/libtmpfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libtmpfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libtmpfs/machine b/sys/rump/fs/lib/libtmpfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libtmpfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libtmpfs/x86 b/sys/rump/fs/lib/libtmpfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libtmpfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libudf/i386 b/sys/rump/fs/lib/libudf/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libudf/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libudf/machine b/sys/rump/fs/lib/libudf/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libudf/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libudf/x86 b/sys/rump/fs/lib/libudf/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libudf/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libumap/i386 b/sys/rump/fs/lib/libumap/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libumap/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libumap/machine b/sys/rump/fs/lib/libumap/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libumap/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libumap/x86 b/sys/rump/fs/lib/libumap/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libumap/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libunion/i386 b/sys/rump/fs/lib/libunion/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libunion/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libunion/machine b/sys/rump/fs/lib/libunion/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libunion/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libunion/x86 b/sys/rump/fs/lib/libunion/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libunion/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libv7fs/i386 b/sys/rump/fs/lib/libv7fs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libv7fs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libv7fs/machine b/sys/rump/fs/lib/libv7fs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/fs/lib/libv7fs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/fs/lib/libv7fs/x86 b/sys/rump/fs/lib/libv7fs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/fs/lib/libv7fs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/kern/lib/libcrypto/i386 b/sys/rump/kern/lib/libcrypto/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/kern/lib/libcrypto/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/kern/lib/libcrypto/machine b/sys/rump/kern/lib/libcrypto/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/kern/lib/libcrypto/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/kern/lib/libcrypto/x86 b/sys/rump/kern/lib/libcrypto/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/kern/lib/libcrypto/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/kern/lib/libsysproxy/i386 b/sys/rump/kern/lib/libsysproxy/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/kern/lib/libsysproxy/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/kern/lib/libsysproxy/machine b/sys/rump/kern/lib/libsysproxy/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/kern/lib/libsysproxy/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/kern/lib/libsysproxy/x86 b/sys/rump/kern/lib/libsysproxy/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/kern/lib/libsysproxy/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/kern/lib/libtty/i386 b/sys/rump/kern/lib/libtty/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/kern/lib/libtty/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/kern/lib/libtty/ioconf.c b/sys/rump/kern/lib/libtty/ioconf.c deleted file mode 100644 index 3067e9a40..000000000 --- a/sys/rump/kern/lib/libtty/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/kern/lib/libtty/TTY.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_tty[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_tty[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_tty[] = { - { NULL, NULL } -}; diff --git a/sys/rump/kern/lib/libtty/ioconf.h b/sys/rump/kern/lib/libtty/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/kern/lib/libtty/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/kern/lib/libtty/locators.h b/sys/rump/kern/lib/libtty/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/kern/lib/libtty/machine b/sys/rump/kern/lib/libtty/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/kern/lib/libtty/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/kern/lib/libtty/x86 b/sys/rump/kern/lib/libtty/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/kern/lib/libtty/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/kern/lib/libz/i386 b/sys/rump/kern/lib/libz/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/kern/lib/libz/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/kern/lib/libz/machine b/sys/rump/kern/lib/libz/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/kern/lib/libz/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/kern/lib/libz/x86 b/sys/rump/kern/lib/libz/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/kern/lib/libz/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/librump/rumpdev/i386 b/sys/rump/librump/rumpdev/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/librump/rumpdev/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/librump/rumpdev/ioconf.c b/sys/rump/librump/rumpdev/ioconf.c deleted file mode 100644 index 4e901eeaa..000000000 --- a/sys/rump/librump/rumpdev/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/librump/rumpdev/../../librump/rumpdev/MAINBUS.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_mainbus[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_mainbus[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_mainbus[] = { - { NULL, NULL } -}; diff --git a/sys/rump/librump/rumpdev/ioconf.h b/sys/rump/librump/rumpdev/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/librump/rumpdev/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/librump/rumpdev/locators.h b/sys/rump/librump/rumpdev/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/librump/rumpdev/machine b/sys/rump/librump/rumpdev/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/librump/rumpdev/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/librump/rumpdev/x86 b/sys/rump/librump/rumpdev/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/librump/rumpdev/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/librump/rumpnet/i386 b/sys/rump/librump/rumpnet/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/librump/rumpnet/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/librump/rumpnet/machine b/sys/rump/librump/rumpnet/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/librump/rumpnet/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/librump/rumpnet/x86 b/sys/rump/librump/rumpnet/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/librump/rumpnet/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/librump/rumpvfs/i386 b/sys/rump/librump/rumpvfs/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/librump/rumpvfs/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/librump/rumpvfs/machine b/sys/rump/librump/rumpvfs/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/librump/rumpvfs/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/librump/rumpvfs/x86 b/sys/rump/librump/rumpvfs/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/librump/rumpvfs/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/net/lib/libagr/i386 b/sys/rump/net/lib/libagr/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/net/lib/libagr/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/net/lib/libagr/ioconf.c b/sys/rump/net/lib/libagr/ioconf.c deleted file mode 100644 index 9fdd35e7f..000000000 --- a/sys/rump/net/lib/libagr/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/net/lib/libagr/AGR.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_agr[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_agr[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_agr[] = { - { NULL, NULL } -}; diff --git a/sys/rump/net/lib/libagr/ioconf.h b/sys/rump/net/lib/libagr/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/net/lib/libagr/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/net/lib/libagr/locators.h b/sys/rump/net/lib/libagr/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/net/lib/libagr/machine b/sys/rump/net/lib/libagr/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/net/lib/libagr/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/net/lib/libagr/x86 b/sys/rump/net/lib/libagr/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/net/lib/libagr/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/net/lib/libbridge/i386 b/sys/rump/net/lib/libbridge/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/net/lib/libbridge/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/net/lib/libbridge/ioconf.c b/sys/rump/net/lib/libbridge/ioconf.c deleted file mode 100644 index 9e54959e0..000000000 --- a/sys/rump/net/lib/libbridge/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/net/lib/libbridge/BRIDGE.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_bridge[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_bridge[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_bridge[] = { - { NULL, NULL } -}; diff --git a/sys/rump/net/lib/libbridge/ioconf.h b/sys/rump/net/lib/libbridge/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/net/lib/libbridge/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/net/lib/libbridge/locators.h b/sys/rump/net/lib/libbridge/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/net/lib/libbridge/machine b/sys/rump/net/lib/libbridge/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/net/lib/libbridge/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/net/lib/libbridge/x86 b/sys/rump/net/lib/libbridge/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/net/lib/libbridge/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/sys/rump/net/lib/libnet/i386 b/sys/rump/net/lib/libnet/i386 deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/net/lib/libnet/i386 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/net/lib/libnet/ioconf.c b/sys/rump/net/lib/libnet/ioconf.c deleted file mode 100644 index dcccac910..000000000 --- a/sys/rump/net/lib/libnet/ioconf.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "ioconf.h" -/* - * MACHINE GENERATED: DO NOT EDIT - * - * ioconf.c, from "/home/boricj/Documents/Projets/minix/src/sys/rump/net/lib/libnet/NET.ioconf" - */ - -#include -#include -#include -#include - - - -static struct cfdriver * const cfdriver_ioconf_net[] = { - NULL -}; - - - -#define NORM FSTATE_NOTFOUND -#define STAR FSTATE_STAR - -static struct cfdata cfdata_ioconf_net[] = { - /* driver attachment unit state loc flags pspec */ - { NULL, NULL, 0, 0, NULL, 0, NULL } -}; - - -static const struct cfattachinit cfattach_ioconf_net[] = { - { NULL, NULL } -}; diff --git a/sys/rump/net/lib/libnet/ioconf.h b/sys/rump/net/lib/libnet/ioconf.h deleted file mode 100644 index 861041417..000000000 --- a/sys/rump/net/lib/libnet/ioconf.h +++ /dev/null @@ -1,4 +0,0 @@ - -/* pseudo-devices */ - -/* driver structs */ diff --git a/sys/rump/net/lib/libnet/locators.h b/sys/rump/net/lib/libnet/locators.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/sys/rump/net/lib/libnet/machine b/sys/rump/net/lib/libnet/machine deleted file mode 120000 index 1c75cf687..000000000 --- a/sys/rump/net/lib/libnet/machine +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/i386/include \ No newline at end of file diff --git a/sys/rump/net/lib/libnet/x86 b/sys/rump/net/lib/libnet/x86 deleted file mode 120000 index a11afa2e4..000000000 --- a/sys/rump/net/lib/libnet/x86 +++ /dev/null @@ -1 +0,0 @@ -/home/boricj/Documents/Projets/minix/src/sys/arch/x86/include \ No newline at end of file diff --git a/usr.bin/config/config b/usr.bin/config/config deleted file mode 100755 index 2e3baf7ce..000000000 Binary files a/usr.bin/config/config and /dev/null differ diff --git a/usr.bin/config/gram.c b/usr.bin/config/gram.c deleted file mode 100644 index 84dd4a614..000000000 --- a/usr.bin/config/gram.c +++ /dev/null @@ -1,2431 +0,0 @@ -/* original parser id follows */ -/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */ -/* (use YYMAJOR/YYMINOR for ifdefs dependent on parser version) */ - -#define YYBYACC 1 -#define YYMAJOR 1 -#define YYMINOR 9 - -#define YYEMPTY (-1) -#define yyclearin (yychar = YYEMPTY) -#define yyerrok (yyerrflag = 0) -#define YYRECOVERING() (yyerrflag != 0) -#define YYENOMEM (-2) -#define YYEOF 0 -#undef YYBTYACC -#define YYBTYACC 0 -#define YYDEBUGSTR YYPREFIX "debug" -#define YYPREFIX "yy" - -#define YYPURE 0 - -#line 2 "gram.y" -/* $NetBSD: gram.y,v 1.52 2015/09/01 13:42:48 uebayasi Exp $ */ - -/* - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * - * This software was developed by the Computer Systems Engineering group - * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and - * contributed to Berkeley. - * - * All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Lawrence Berkeley Laboratories. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * from: @(#)gram.y 8.1 (Berkeley) 6/6/93 - */ - -#include -__RCSID("$NetBSD: gram.y,v 1.52 2015/09/01 13:42:48 uebayasi Exp $"); - -#include -#include -#include -#include -#include -#include -#include -#include "defs.h" -#include "sem.h" - -#define FORMAT(n) (((n).fmt == 8 && (n).val != 0) ? "0%llo" : \ - ((n).fmt == 16) ? "0x%llx" : "%lld") - -#define stop(s) cfgerror(s), exit(1) - -static struct config conf; /* at most one active at a time */ - - -/* - * Allocation wrapper functions - */ -static void wrap_alloc(void *ptr, unsigned code); -static void wrap_continue(void); -static void wrap_cleanup(void); - -/* - * Allocation wrapper type codes - */ -#define WRAP_CODE_nvlist 1 -#define WRAP_CODE_defoptlist 2 -#define WRAP_CODE_loclist 3 -#define WRAP_CODE_attrlist 4 -#define WRAP_CODE_condexpr 5 - -/* - * The allocation wrappers themselves - */ -#define DECL_ALLOCWRAP(t) static struct t *wrap_mk_##t(struct t *arg) - -DECL_ALLOCWRAP(nvlist); -DECL_ALLOCWRAP(defoptlist); -DECL_ALLOCWRAP(loclist); -DECL_ALLOCWRAP(attrlist); -DECL_ALLOCWRAP(condexpr); - -/* allow shorter names */ -#define wrap_mk_loc(p) wrap_mk_loclist(p) -#define wrap_mk_cx(p) wrap_mk_condexpr(p) - -/* - * Macros for allocating new objects - */ - -/* old-style for struct nvlist */ -#define new0(n,s,p,i,x) wrap_mk_nvlist(newnv(n, s, p, i, x)) -#define new_n(n) new0(n, NULL, NULL, 0, NULL) -#define new_nx(n, x) new0(n, NULL, NULL, 0, x) -#define new_ns(n, s) new0(n, s, NULL, 0, NULL) -#define new_si(s, i) new0(NULL, s, NULL, i, NULL) -#define new_nsi(n,s,i) new0(n, s, NULL, i, NULL) -#define new_np(n, p) new0(n, NULL, p, 0, NULL) -#define new_s(s) new0(NULL, s, NULL, 0, NULL) -#define new_p(p) new0(NULL, NULL, p, 0, NULL) -#define new_px(p, x) new0(NULL, NULL, p, 0, x) -#define new_sx(s, x) new0(NULL, s, NULL, 0, x) -#define new_nsx(n,s,x) new0(n, s, NULL, 0, x) -#define new_i(i) new0(NULL, NULL, NULL, i, NULL) - -/* new style, type-polymorphic; ordinary and for types with multiple flavors */ -#define MK0(t) wrap_mk_##t(mk_##t()) -#define MK1(t, a0) wrap_mk_##t(mk_##t(a0)) -#define MK2(t, a0, a1) wrap_mk_##t(mk_##t(a0, a1)) -#define MK3(t, a0, a1, a2) wrap_mk_##t(mk_##t(a0, a1, a2)) - -#define MKF0(t, f) wrap_mk_##t(mk_##t##_##f()) -#define MKF1(t, f, a0) wrap_mk_##t(mk_##t##_##f(a0)) -#define MKF2(t, f, a0, a1) wrap_mk_##t(mk_##t##_##f(a0, a1)) - -/* - * Data constructors - */ - -static struct defoptlist *mk_defoptlist(const char *, const char *, - const char *); -static struct loclist *mk_loc(const char *, const char *, long long); -static struct loclist *mk_loc_val(const char *, struct loclist *); -static struct attrlist *mk_attrlist(struct attrlist *, struct attr *); -static struct condexpr *mk_cx_atom(const char *); -static struct condexpr *mk_cx_not(struct condexpr *); -static struct condexpr *mk_cx_and(struct condexpr *, struct condexpr *); -static struct condexpr *mk_cx_or(struct condexpr *, struct condexpr *); - -/* - * Other private functions - */ - -static void setmachine(const char *, const char *, struct nvlist *, int); -static void check_maxpart(void); - -static struct loclist *present_loclist(struct loclist *ll); -static void app(struct loclist *, struct loclist *); -static struct loclist *locarray(const char *, int, struct loclist *, int); -static struct loclist *namelocvals(const char *, struct loclist *); - -#line 153 "gram.y" -#ifdef YYSTYPE -#undef YYSTYPE_IS_DECLARED -#define YYSTYPE_IS_DECLARED 1 -#endif -#ifndef YYSTYPE_IS_DECLARED -#define YYSTYPE_IS_DECLARED 1 -typedef union { - struct attr *attr; - struct devbase *devb; - struct deva *deva; - struct nvlist *list; - struct defoptlist *defoptlist; - struct loclist *loclist; - struct attrlist *attrlist; - struct condexpr *condexpr; - const char *str; - struct numconst num; - int64_t val; - u_char flag; - devmajor_t devmajor; - int32_t i32; -} YYSTYPE; -#endif /* !YYSTYPE_IS_DECLARED */ -#line 197 "gram.c" - -/* compatibility with bison */ -#ifdef YYPARSE_PARAM -/* compatibility with FreeBSD */ -# ifdef YYPARSE_PARAM_TYPE -# define YYPARSE_DECL() yyparse(YYPARSE_PARAM_TYPE YYPARSE_PARAM) -# else -# define YYPARSE_DECL() yyparse(void *YYPARSE_PARAM) -# endif -#else -# define YYPARSE_DECL() yyparse(void) -#endif - -/* Parameters sent to lex. */ -#ifdef YYLEX_PARAM -# define YYLEX_DECL() yylex(void *YYLEX_PARAM) -# define YYLEX yylex(YYLEX_PARAM) -#else -# define YYLEX_DECL() yylex(void) -# define YYLEX yylex() -#endif - -/* Parameters sent to yyerror. */ -#ifndef YYERROR_DECL -#define YYERROR_DECL() yyerror(const char *s) -#endif -#ifndef YYERROR_CALL -#define YYERROR_CALL(msg) yyerror(msg) -#endif - -extern int YYPARSE_DECL(); - -#define AND 257 -#define AT 258 -#define ATTACH 259 -#define BLOCK 260 -#define BUILD 261 -#define CHAR 262 -#define COLONEQ 263 -#define COMPILE_WITH 264 -#define CONFIG 265 -#define DEFFS 266 -#define DEFINE 267 -#define DEFOPT 268 -#define DEFPARAM 269 -#define DEFFLAG 270 -#define DEFPSEUDO 271 -#define DEFPSEUDODEV 272 -#define DEVICE 273 -#define DEVCLASS 274 -#define DUMPS 275 -#define DEVICE_MAJOR 276 -#define ENDFILE 277 -#define XFILE 278 -#define FILE_SYSTEM 279 -#define FLAGS 280 -#define IDENT 281 -#define IOCONF 282 -#define LINKZERO 283 -#define XMACHINE 284 -#define MAJOR 285 -#define MAKEOPTIONS 286 -#define MAXUSERS 287 -#define MAXPARTITIONS 288 -#define MINOR 289 -#define NEEDS_COUNT 290 -#define NEEDS_FLAG 291 -#define NO 292 -#define XOBJECT 293 -#define OBSOLETE 294 -#define ON 295 -#define OPTIONS 296 -#define PACKAGE 297 -#define PLUSEQ 298 -#define PREFIX 299 -#define BUILDPREFIX 300 -#define PSEUDO_DEVICE 301 -#define PSEUDO_ROOT 302 -#define ROOT 303 -#define SELECT 304 -#define SINGLE 305 -#define SOURCE 306 -#define TYPE 307 -#define VECTOR 308 -#define VERSION 309 -#define WITH 310 -#define NUMBER 311 -#define PATHNAME 312 -#define QSTRING 313 -#define WORD 314 -#define EMPTYSTRING 315 -#define ENDDEFS 316 -#define YYERRCODE 256 -typedef int YYINT; -static const YYINT yylhs[] = { -1, - 0, 57, 57, 61, 61, 61, 58, 58, 58, 58, - 58, 46, 46, 59, 62, 62, 62, 62, 62, 63, - 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, - 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, - 63, 64, 65, 66, 67, 67, 68, 68, 68, 69, - 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 1, 1, 9, 9, - 10, 10, 13, 13, 11, 11, 12, 52, 52, 51, - 51, 53, 53, 53, 54, 54, 56, 56, 55, 39, - 39, 38, 18, 18, 18, 20, 20, 21, 21, 21, - 21, 21, 21, 49, 49, 22, 24, 25, 25, 26, - 26, 14, 44, 44, 43, 43, 42, 17, 17, 19, - 19, 41, 41, 40, 40, 40, 40, 86, 86, 88, - 15, 16, 16, 87, 87, 89, 35, 60, 90, 90, - 90, 90, 91, 91, 91, 91, 91, 91, 91, 91, - 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, - 91, 91, 91, 92, 93, 94, 95, 96, 97, 98, - 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, - 109, 110, 111, 113, 113, 121, 112, 112, 122, 115, - 115, 123, 123, 114, 114, 124, 117, 117, 125, 125, - 116, 116, 126, 118, 119, 119, 29, 29, 29, 33, - 8, 8, 120, 120, 128, 36, 36, 30, 30, 31, - 31, 31, 27, 27, 28, 28, 37, 37, 2, 4, - 4, 5, 5, 6, 7, 7, 7, 3, 50, 50, - 45, 45, 47, 47, 32, 32, 32, 32, 48, 48, - 23, 23, 34, 34, 127, 127, -}; -static const YYINT yylen[] = { 2, - 4, 0, 2, 1, 3, 3, 3, 4, 5, 3, - 1, 1, 2, 2, 0, 2, 3, 3, 2, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 5, 4, 6, 2, 1, 2, 2, 1, 2, - 3, 4, 4, 4, 4, 4, 4, 4, 6, 2, - 4, 2, 4, 4, 4, 2, 0, 1, 0, 2, - 1, 1, 0, 2, 0, 2, 1, 0, 2, 0, - 2, 0, 3, 1, 1, 3, 1, 3, 1, 1, - 2, 1, 0, 2, 3, 1, 3, 2, 1, 4, - 4, 5, 7, 1, 1, 2, 4, 0, 2, 1, - 3, 1, 0, 2, 1, 3, 1, 1, 3, 1, - 1, 1, 2, 1, 3, 3, 5, 1, 3, 4, - 1, 0, 2, 1, 3, 3, 1, 1, 0, 2, - 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 2, 3, 3, 2, 3, 2, 3, - 2, 2, 2, 2, 4, 3, 3, 3, 2, 4, - 4, 2, 5, 1, 3, 1, 1, 3, 1, 1, - 3, 3, 3, 1, 3, 1, 1, 3, 1, 3, - 1, 3, 1, 1, 3, 4, 1, 1, 1, 4, - 2, 2, 0, 2, 3, 0, 1, 1, 2, 1, - 1, 2, 0, 2, 2, 2, 0, 2, 1, 1, - 3, 1, 3, 1, 1, 2, 3, 1, 1, 1, - 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 3, 1, 2, 0, 1, -}; -static const YYINT yydefred[] = { 2, - 0, 0, 11, 0, 0, 0, 0, 4, 15, 3, - 244, 243, 0, 0, 0, 0, 139, 0, 6, 10, - 0, 7, 5, 1, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 14, 16, - 0, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, - 39, 40, 41, 12, 8, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 140, 0, - 143, 0, 144, 145, 146, 147, 148, 149, 150, 151, - 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, - 162, 163, 18, 131, 0, 92, 90, 0, 0, 0, - 242, 0, 0, 0, 0, 0, 50, 0, 0, 0, - 238, 0, 0, 0, 235, 0, 0, 232, 234, 0, - 128, 137, 0, 60, 0, 0, 0, 45, 48, 47, - 66, 17, 13, 9, 142, 204, 0, 186, 0, 184, - 249, 250, 173, 239, 0, 0, 0, 190, 0, 0, - 0, 0, 174, 0, 0, 0, 0, 0, 0, 0, - 197, 0, 179, 164, 219, 0, 141, 0, 0, 91, - 51, 0, 0, 0, 122, 0, 0, 0, 0, 0, - 0, 0, 0, 69, 68, 0, 0, 134, 236, 0, - 240, 0, 0, 0, 0, 0, 75, 0, 0, 0, - 213, 0, 0, 0, 0, 176, 0, 189, 0, 187, - 196, 0, 194, 203, 0, 201, 177, 165, 0, 0, - 0, 217, 178, 220, 0, 223, 121, 120, 0, 118, - 117, 115, 0, 105, 104, 94, 0, 0, 0, 0, - 0, 52, 0, 0, 123, 53, 56, 54, 63, 64, - 58, 79, 0, 0, 0, 0, 65, 0, 237, 0, - 0, 233, 129, 61, 0, 0, 0, 256, 0, 0, - 185, 253, 245, 246, 247, 0, 193, 248, 192, 191, - 181, 0, 0, 0, 180, 200, 198, 222, 0, 0, - 0, 0, 0, 0, 95, 0, 0, 0, 98, 112, - 110, 0, 126, 0, 81, 0, 0, 71, 72, 70, - 42, 136, 135, 130, 77, 76, 0, 208, 207, 0, - 209, 0, 214, 254, 188, 195, 202, 0, 0, 224, - 183, 133, 119, 59, 116, 0, 0, 97, 106, 0, - 0, 0, 85, 0, 44, 0, 74, 0, 0, 206, - 0, 228, 225, 226, 0, 0, 100, 0, 111, 127, - 0, 0, 0, 212, 211, 215, 0, 0, 0, 102, - 0, 86, 89, 83, 210, 252, 0, 0, 0, 103, - 0, 88, 107, -}; -#if defined(YYDESTRUCT_CALL) || defined(YYSTYPE_TOSTRING) -static const YYINT yystos[] = { 0, - 318, 375, 256, 261, 282, 284, 306, 10, 376, 379, - 312, 313, 365, 314, 314, 365, 377, 380, 10, 10, - 314, 10, 10, 378, 408, 256, 259, 266, 267, 268, - 269, 270, 271, 272, 273, 274, 276, 277, 278, 285, - 286, 287, 288, 293, 294, 299, 300, 309, 316, 10, - 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, - 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, - 401, 402, 403, 314, 10, 364, 256, 265, 279, 281, - 286, 287, 292, 296, 301, 302, 304, 314, 10, 348, - 381, 409, 410, 411, 412, 413, 414, 415, 416, 417, - 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, - 428, 429, 10, 314, 333, 314, 356, 357, 314, 363, - 365, 363, 363, 333, 333, 333, 314, 314, 365, 123, - 314, 33, 40, 320, 321, 322, 323, 324, 325, 404, - 406, 311, 353, 353, 365, 269, 270, 365, 314, 365, - 353, 10, 314, 10, 10, 314, 436, 314, 431, 439, - 313, 314, 366, 313, 314, 368, 433, 441, 353, 265, - 273, 279, 281, 286, 296, 301, 304, 348, 314, 435, - 443, 314, 348, 314, 42, 258, 10, 258, 58, 356, - 362, 123, 336, 314, 358, 359, 359, 359, 336, 336, - 336, 262, 370, 319, 320, 333, 405, 407, 321, 320, - 314, 368, 124, 38, 44, 353, 319, 363, 363, 303, - 437, 44, 298, 61, 44, 314, 258, 314, 430, 440, - 314, 432, 442, 314, 434, 444, 314, 314, 258, 61, - 44, 353, 354, 303, 314, 349, 303, 314, 335, 337, - 314, 360, 361, 313, 314, 125, 91, 338, 339, 367, - 58, 343, 263, 61, 358, 362, 362, 362, 343, 343, - 343, 353, 260, 369, 327, 61, 125, 44, 41, 298, - 323, 324, 406, 353, 329, 359, 359, 295, 445, 438, - 439, 311, 313, 314, 315, 45, 350, 352, 350, 441, - 349, 44, 44, 44, 349, 350, 443, 63, 345, 310, - 44, 334, 44, 367, 125, 44, 61, 91, 340, 314, - 332, 344, 350, 350, 353, 319, 264, 290, 291, 328, - 331, 353, 407, 350, 291, 330, 285, 314, 63, 347, - 351, 275, 446, 311, 440, 442, 444, 280, 314, 346, - 355, 314, 337, 343, 360, 91, 340, 338, 350, 353, - 44, 263, 305, 308, 371, 372, 366, 311, 307, 326, - 445, 353, 63, 341, 350, 353, 93, 93, 332, 350, - 61, 44, 289, 314, 63, 347, 44, 93, 61, 342, - 311, 374, 283, 373, 311, 341, 342, 123, 58, 93, - 341, 311, 125, -}; -#endif /* YYDESTRUCT_CALL || YYSTYPE_TOSTRING */ -static const YYINT yydgoto[] = { 1, - 204, 134, 135, 136, 137, 138, 139, 370, 275, 330, - 285, 336, 331, 321, 206, 312, 249, 193, 250, 258, - 259, 319, 374, 390, 262, 322, 309, 350, 340, 90, - 246, 375, 341, 298, 216, 243, 351, 117, 118, 195, - 196, 252, 253, 191, 120, 76, 121, 163, 260, 166, - 274, 203, 365, 366, 394, 392, 2, 9, 17, 24, - 10, 18, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, 73, 140, 207, 141, 208, 25, - 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, - 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, - 112, 229, 159, 232, 167, 235, 180, 157, 221, 290, - 160, 230, 168, 233, 181, 236, 289, 343, -}; -static const YYINT yysindex[] = { 0, - 0, 117, 0, -188, -247, -238, -188, 0, 0, 0, - 0, 0, 85, 95, 12, 99, 0, -8, 0, 0, - 19, 0, 0, 0, 51, 101, -198, -193, -182, -188, - -188, -188, -198, -198, -198, -179, -172, 0, -188, 22, - -21, -164, -164, -188, -196, -188, -156, -164, 0, 0, - 141, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 26, 162, -141, -139, -184, - -30, -164, -194, -138, -137, -136, -135, 138, 0, -77, - 0, 172, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, -75, 0, 0, -40, 62, -128, - 0, -128, -128, 62, 62, 62, 0, -74, -21, -198, - 0, -127, -21, -175, 0, 65, 152, 0, 0, 148, - 0, 0, -164, 0, -21, -188, -188, 0, 0, 0, - 0, 0, 0, 0, 0, 0, -110, 0, 150, 0, - 0, 0, 0, 0, 0, -48, 154, 0, -164, -118, - -59, -113, 0, -112, -111, -109, -108, -54, 146, 164, - 0, -164, 0, 0, 0, -231, 0, -221, -105, 0, - 0, -76, 153, -36, 0, -27, -27, -27, 153, 153, - 153, -164, -50, 0, 0, 151, -12, 0, 0, 173, - 0, -85, -21, -21, -21, -164, 0, -128, -128, -80, - 0, -139, 89, 89, -175, 0, -231, 0, 174, 0, - 0, 175, 0, 0, 176, 0, 0, 0, -231, 89, - -138, 0, 0, 0, 158, 0, 0, 0, -28, 0, - 0, 0, 178, 0, 0, 0, -143, 91, 179, -7, - -97, 0, 89, 89, 0, 0, 0, 0, 0, 0, - 0, 0, -164, -21, -173, -164, 0, -198, 0, 89, - 152, 0, 0, 0, -67, -128, -128, 0, -18, -49, - 0, 0, 0, 0, 0, -86, 0, 0, 0, 0, - 0, -113, -112, -111, 0, 0, 0, 0, -236, -84, - -221, 153, -105, 9, 0, -71, 89, -164, 0, 0, - 0, 184, 0, -34, 0, -239, -184, 0, 0, 0, - 0, 0, 0, 0, 0, 0, -79, 0, 0, -72, - 0, -80, 0, 0, 0, 0, 0, -164, 83, 0, - 0, 0, 0, 0, 0, -164, 140, 0, 0, 143, - -97, 89, 0, 180, 0, 195, 0, -45, -25, 0, - -18, 0, 0, 0, 196, 156, 0, 185, 0, 0, - -66, -26, -64, 0, 0, 0, 89, 185, 130, 0, - 198, 0, 0, 0, 0, 0, 161, 89, -39, 0, - 165, 0, 0, -}; -static const YYINT yyrindex[] = { 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 273, 0, 0, 0, 0, -15, - -15, -15, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 324, 331, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, -6, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 101, 31, 0, - 0, 0, 0, 31, 31, 31, 0, -5, 7, 0, - 0, 0, 0, 0, 0, 78, 67, 0, 0, 338, - 0, 0, 0, 0, 4, -15, -15, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 344, 0, - 0, 0, 0, 0, 76, 0, 346, 0, 349, 0, - 0, 0, 0, 0, 0, 0, 0, 353, 50, 354, - 0, 356, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 357, -2, 0, 101, 101, 101, 357, 357, - 357, 0, -3, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, -10, - 0, 0, 0, 0, 0, 0, 0, 0, 360, 0, - 0, 361, 0, 0, 367, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 14, 0, 0, 0, 32, 0, - 0, 0, 372, 0, 0, 0, 0, 0, 262, 6, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 41, 378, 0, 0, 0, 0, 0, - 71, 0, 0, 0, 383, 385, 395, 0, 0, 396, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 397, 0, - 0, 357, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 398, 0, -1, 0, 399, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, - 0, -10, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 400, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 0, 8, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, -}; -#if YYBTYACC -static const YYINT yycindex[] = { 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, -}; -#endif -static const YYINT yygindex[] = { 0, - -124, -90, 279, 0, 199, 200, 0, 0, 0, 0, - 0, 0, 0, 54, 128, 0, 0, 40, 102, 100, - 0, 103, -301, 30, -153, 0, 0, 0, 48, 20, - -159, -165, 0, 0, -42, 0, 0, 302, 0, -133, - -96, 108, 0, -29, 2, 0, 97, 98, 167, 288, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 401, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 212, 155, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 206, 127, 205, 129, 190, 131, 92, 0, -}; -#define YYTABLESIZE 435 -static const YYINT yytable[] = { 143, - 144, 50, 132, 218, 78, 151, 80, 124, 125, 133, - 251, 132, 224, 67, 257, 311, 67, 189, 133, 257, - 217, 22, 205, 221, 264, 197, 198, 78, 75, 80, - 189, 278, 122, 123, 78, 154, 80, 385, 205, 169, - 93, 132, 210, 348, 339, 269, 270, 271, 256, 99, - 67, 101, 255, 317, 205, 124, 125, 297, 299, 199, - 89, 87, 265, 265, 265, 363, 14, 301, 364, 317, - 170, 244, 146, 147, 306, 15, 230, 349, 171, 305, - 231, 247, 245, 318, 172, 396, 173, 229, 93, 132, - 327, 174, 248, 199, 19, 87, 401, 323, 324, 356, - 13, 175, 178, 16, 20, 183, 176, 230, 23, 177, - 113, 231, 277, 238, 334, 114, 328, 329, 229, 88, - 116, 286, 287, 11, 12, 251, 8, 296, 161, 162, - 99, 119, 101, 296, 127, 129, 240, 164, 211, 242, - 145, 128, 148, 150, 130, 373, 142, 218, 219, 326, - 152, 359, 265, 265, 115, 11, 12, 149, 354, 272, - 124, 125, 126, 199, 200, 201, 266, 267, 268, 254, - 255, 155, 156, 284, 158, 179, 182, 88, 184, 185, - 186, 187, 188, 205, 192, 194, 131, 202, 213, 214, - 230, 215, 220, 222, 231, 226, 380, 225, 227, 238, - 228, 231, 234, 239, 237, 238, 240, 241, 251, 273, - 261, 276, 280, 279, 288, 315, 320, 302, 303, 304, - 308, 313, 316, 335, 344, 342, 263, 361, 362, 352, - 325, 368, 377, 332, 369, 378, 254, 255, 382, 387, - 381, 254, 255, 383, 391, 389, 395, 26, 388, 223, - 27, 218, 398, 400, 78, 399, 393, 28, 29, 30, - 31, 32, 33, 34, 35, 36, 337, 37, 38, 39, - 67, 402, 138, 116, 255, 360, 40, 41, 42, 43, - 251, 310, 164, 165, 44, 45, 194, 205, 384, 403, - 46, 47, 131, 221, 67, 338, 67, 67, 241, 78, - 48, 80, 78, 255, 80, 372, 77, 49, 78, 27, - 80, 124, 125, 376, 251, 78, 28, 29, 30, 31, - 32, 33, 34, 35, 36, 21, 37, 221, 39, 79, - 230, 80, 74, 46, 231, 40, 81, 82, 43, 153, - 49, 229, 83, 44, 45, 67, 84, 62, 67, 46, - 47, 85, 86, 167, 87, 169, 230, 230, 172, 48, - 231, 231, 182, 171, 88, 216, 108, 229, 229, 166, - 168, 230, 3, 240, 230, 231, 170, 4, 231, 230, - 230, 114, 229, 231, 231, 229, 96, 73, 238, 238, - 229, 229, 43, 292, 57, 293, 294, 295, 5, 292, - 6, 293, 294, 295, 55, 175, 227, 109, 82, 84, - 209, 281, 353, 282, 379, 358, 357, 397, 386, 190, - 355, 212, 7, 314, 367, 91, 283, 291, 345, 300, - 307, 346, 333, 371, 347, -}; -static const YYINT yycheck[] = { 42, - 43, 10, 33, 10, 10, 48, 10, 10, 10, 40, - 10, 33, 61, 10, 91, 44, 10, 58, 40, 91, - 145, 10, 10, 10, 61, 122, 123, 33, 10, 33, - 58, 44, 31, 32, 40, 10, 40, 63, 129, 82, - 10, 10, 133, 280, 63, 199, 200, 201, 125, 44, - 10, 44, 63, 61, 145, 58, 58, 223, 224, 10, - 10, 10, 196, 197, 198, 305, 314, 227, 308, 61, - 265, 303, 269, 270, 240, 314, 10, 314, 273, 239, - 10, 303, 314, 91, 279, 387, 281, 10, 58, 58, - 264, 286, 314, 44, 10, 44, 398, 263, 264, 91, - 4, 296, 83, 7, 10, 86, 301, 41, 10, 304, - 10, 41, 125, 38, 280, 314, 290, 291, 41, 314, - 314, 218, 219, 312, 313, 125, 10, 45, 313, 314, - 125, 314, 125, 45, 314, 39, 61, 313, 314, 182, - 44, 314, 46, 47, 123, 63, 311, 146, 147, 274, - 10, 317, 286, 287, 27, 312, 313, 314, 312, 202, - 33, 34, 35, 124, 125, 126, 196, 197, 198, 313, - 314, 10, 314, 216, 314, 314, 314, 314, 314, 42, - 258, 10, 258, 274, 123, 314, 314, 262, 124, 38, - 124, 44, 303, 44, 124, 314, 362, 44, 258, 124, - 314, 314, 314, 258, 314, 314, 61, 44, 314, 260, - 58, 61, 298, 41, 295, 125, 314, 44, 44, 44, - 63, 44, 44, 291, 311, 275, 263, 44, 263, 314, - 273, 311, 93, 276, 307, 93, 313, 314, 44, 44, - 61, 313, 314, 289, 311, 61, 311, 256, 93, 298, - 259, 258, 123, 93, 260, 58, 283, 266, 267, 268, - 269, 270, 271, 272, 273, 274, 285, 276, 277, 278, - 264, 311, 0, 314, 285, 318, 285, 286, 287, 288, - 280, 310, 313, 314, 293, 294, 314, 275, 314, 125, - 299, 300, 314, 280, 291, 314, 290, 291, 314, 305, - 309, 305, 308, 314, 308, 348, 256, 316, 314, 259, - 314, 314, 314, 356, 314, 265, 266, 267, 268, 269, - 270, 271, 272, 273, 274, 314, 276, 314, 278, 279, - 264, 281, 314, 10, 264, 285, 286, 287, 288, 314, - 10, 264, 292, 293, 294, 305, 296, 10, 308, 299, - 300, 301, 302, 10, 304, 10, 290, 291, 10, 309, - 290, 291, 10, 10, 314, 10, 10, 290, 291, 10, - 10, 305, 256, 298, 308, 305, 10, 261, 308, 313, - 314, 10, 305, 313, 314, 308, 125, 10, 313, 314, - 313, 314, 10, 311, 10, 313, 314, 315, 282, 311, - 284, 313, 314, 315, 10, 10, 10, 10, 10, 10, - 132, 213, 311, 214, 361, 316, 314, 388, 371, 118, - 313, 134, 306, 257, 327, 25, 215, 222, 302, 225, - 241, 303, 278, 342, 304, -}; -#if YYBTYACC -static const YYINT yyctable[] = { -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -}; -#endif -#define YYFINAL 1 -#ifndef YYDEBUG -#define YYDEBUG 0 -#endif -#define YYMAXTOKEN 316 -#define YYUNDFTOKEN 447 -#define YYTRANSLATE(a) ((a) > YYMAXTOKEN ? YYUNDFTOKEN : (a)) -#if YYDEBUG -static const char *const yyname[] = { - -"$end",0,0,0,0,0,0,0,0,0,"'\\n'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -"'!'",0,0,0,0,"'&'",0,"'('","')'","'*'",0,"','","'-'",0,0,0,0,0,0,0,0,0,0,0,0, -"':'",0,0,"'='",0,"'?'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -"'['",0,"']'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"'{'", -"'|'","'}'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"error","AND","AT","ATTACH","BLOCK","BUILD", -"CHAR","COLONEQ","COMPILE_WITH","CONFIG","DEFFS","DEFINE","DEFOPT","DEFPARAM", -"DEFFLAG","DEFPSEUDO","DEFPSEUDODEV","DEVICE","DEVCLASS","DUMPS","DEVICE_MAJOR", -"ENDFILE","XFILE","FILE_SYSTEM","FLAGS","IDENT","IOCONF","LINKZERO","XMACHINE", -"MAJOR","MAKEOPTIONS","MAXUSERS","MAXPARTITIONS","MINOR","NEEDS_COUNT", -"NEEDS_FLAG","NO","XOBJECT","OBSOLETE","ON","OPTIONS","PACKAGE","PLUSEQ", -"PREFIX","BUILDPREFIX","PSEUDO_DEVICE","PSEUDO_ROOT","ROOT","SELECT","SINGLE", -"SOURCE","TYPE","VECTOR","VERSION","WITH","NUMBER","PATHNAME","QSTRING","WORD", -"EMPTYSTRING","ENDDEFS","$accept","configuration","fopts","condexpr","condatom", -"cond_or_expr","cond_and_expr","cond_prefix_expr","cond_base_expr","fs_spec", -"fflags","fflag","oflags","oflag","rule","depend","devbase","devattach_opt", -"atlist","interface_opt","atname","loclist","locdef","locdefault","values", -"locdefaults","depend_list","depends","locators","locator","dev_spec", -"device_instance","attachment","value","major_minor","signed_number","int32", -"npseudo","device_flags","deffs","deffses","defopt","defopts","optdepend", -"optdepends","optdepend_list","optfile_opt","subarches","filename", -"stringvalue","locname","mkvarname","device_major_block","device_major_char", -"devnodes","devnodetype","devnodeflags","devnode_dims","topthings", -"machine_spec","definition_part","selection_part","topthing","definitions", -"definition","define_file","define_object","define_device_major", -"define_prefix","define_buildprefix","define_devclass","define_filesystems", -"define_attribute","define_option","define_flag","define_obsolete_flag", -"define_param","define_obsolete_param","define_device", -"define_device_attachment","define_maxpartitions","define_maxusers", -"define_makeoptions","define_pseudo","define_pseudodev","define_major", -"define_version","condmkopt_list","majorlist","condmkoption","majordef", -"selections","selection","select_attr","select_no_attr","select_no_filesystems", -"select_filesystems","select_no_makeoptions","select_makeoptions", -"select_no_options","select_options","select_maxusers","select_ident", -"select_no_ident","select_config","select_no_config","select_no_pseudodev", -"select_pseudodev","select_pseudoroot","select_no_device_instance_attachment", -"select_no_device_attachment","select_no_device_instance", -"select_device_instance","no_fs_list","fs_list","no_mkopt_list","mkopt_list", -"no_opt_list","opt_list","conf","root_spec","sysparam_list","fsoption", -"no_fsoption","mkoption","no_mkoption","option","no_option","on_opt","sysparam", -"illegal-symbol", -}; -static const char *const yyrule[] = { -"$accept : configuration", -"configuration : topthings machine_spec definition_part selection_part", -"topthings :", -"topthings : topthings topthing", -"topthing : '\\n'", -"topthing : SOURCE filename '\\n'", -"topthing : BUILD filename '\\n'", -"machine_spec : XMACHINE WORD '\\n'", -"machine_spec : XMACHINE WORD WORD '\\n'", -"machine_spec : XMACHINE WORD WORD subarches '\\n'", -"machine_spec : IOCONF WORD '\\n'", -"machine_spec : error", -"subarches : WORD", -"subarches : subarches WORD", -"definition_part : definitions ENDDEFS", -"definitions :", -"definitions : definitions '\\n'", -"definitions : definitions definition '\\n'", -"definitions : definitions error '\\n'", -"definitions : definitions ENDFILE", -"definition : define_file", -"definition : define_object", -"definition : define_device_major", -"definition : define_prefix", -"definition : define_buildprefix", -"definition : define_devclass", -"definition : define_filesystems", -"definition : define_attribute", -"definition : define_option", -"definition : define_flag", -"definition : define_obsolete_flag", -"definition : define_param", -"definition : define_obsolete_param", -"definition : define_device", -"definition : define_device_attachment", -"definition : define_maxpartitions", -"definition : define_maxusers", -"definition : define_makeoptions", -"definition : define_pseudo", -"definition : define_pseudodev", -"definition : define_major", -"definition : define_version", -"define_file : XFILE filename fopts fflags rule", -"define_object : XOBJECT filename fopts oflags", -"define_device_major : DEVICE_MAJOR WORD device_major_char device_major_block fopts devnodes", -"define_prefix : PREFIX filename", -"define_prefix : PREFIX", -"define_buildprefix : BUILDPREFIX filename", -"define_buildprefix : BUILDPREFIX WORD", -"define_buildprefix : BUILDPREFIX", -"define_devclass : DEVCLASS WORD", -"define_filesystems : DEFFS deffses optdepend_list", -"define_attribute : DEFINE WORD interface_opt depend_list", -"define_option : DEFOPT optfile_opt defopts optdepend_list", -"define_flag : DEFFLAG optfile_opt defopts optdepend_list", -"define_obsolete_flag : OBSOLETE DEFFLAG optfile_opt defopts", -"define_param : DEFPARAM optfile_opt defopts optdepend_list", -"define_obsolete_param : OBSOLETE DEFPARAM optfile_opt defopts", -"define_device : DEVICE devbase interface_opt depend_list", -"define_device_attachment : ATTACH devbase AT atlist devattach_opt depend_list", -"define_maxpartitions : MAXPARTITIONS int32", -"define_maxusers : MAXUSERS int32 int32 int32", -"define_makeoptions : MAKEOPTIONS condmkopt_list", -"define_pseudo : DEFPSEUDO devbase interface_opt depend_list", -"define_pseudodev : DEFPSEUDODEV devbase interface_opt depend_list", -"define_major : MAJOR '{' majorlist '}'", -"define_version : VERSION int32", -"fopts :", -"fopts : condexpr", -"fflags :", -"fflags : fflags fflag", -"fflag : NEEDS_COUNT", -"fflag : NEEDS_FLAG", -"rule :", -"rule : COMPILE_WITH stringvalue", -"oflags :", -"oflags : oflags oflag", -"oflag : NEEDS_FLAG", -"device_major_char :", -"device_major_char : CHAR int32", -"device_major_block :", -"device_major_block : BLOCK int32", -"devnodes :", -"devnodes : devnodetype ',' devnodeflags", -"devnodes : devnodetype", -"devnodetype : SINGLE", -"devnodetype : VECTOR '=' devnode_dims", -"devnode_dims : NUMBER", -"devnode_dims : NUMBER ':' NUMBER", -"devnodeflags : LINKZERO", -"deffses : deffs", -"deffses : deffses deffs", -"deffs : WORD", -"interface_opt :", -"interface_opt : '{' '}'", -"interface_opt : '{' loclist '}'", -"loclist : locdef", -"loclist : locdef ',' loclist", -"locdef : locname locdefault", -"locdef : locname", -"locdef : '[' locname locdefault ']'", -"locdef : locname '[' int32 ']'", -"locdef : locname '[' int32 ']' locdefaults", -"locdef : '[' locname '[' int32 ']' locdefaults ']'", -"locname : WORD", -"locname : QSTRING", -"locdefault : '=' value", -"locdefaults : '=' '{' values '}'", -"depend_list :", -"depend_list : ':' depends", -"depends : depend", -"depends : depends ',' depend", -"depend : WORD", -"optdepend_list :", -"optdepend_list : ':' optdepends", -"optdepends : optdepend", -"optdepends : optdepends ',' optdepend", -"optdepend : WORD", -"atlist : atname", -"atlist : atlist ',' atname", -"atname : WORD", -"atname : ROOT", -"defopts : defopt", -"defopts : defopts defopt", -"defopt : WORD", -"defopt : WORD '=' value", -"defopt : WORD COLONEQ value", -"defopt : WORD '=' value COLONEQ value", -"condmkopt_list : condmkoption", -"condmkopt_list : condmkopt_list ',' condmkoption", -"condmkoption : condexpr mkvarname PLUSEQ value", -"devbase : WORD", -"devattach_opt :", -"devattach_opt : WITH WORD", -"majorlist : majordef", -"majorlist : majorlist ',' majordef", -"majordef : devbase '=' int32", -"int32 : NUMBER", -"selection_part : selections", -"selections :", -"selections : selections '\\n'", -"selections : selections selection '\\n'", -"selections : selections error '\\n'", -"selection : definition", -"selection : select_attr", -"selection : select_no_attr", -"selection : select_no_filesystems", -"selection : select_filesystems", -"selection : select_no_makeoptions", -"selection : select_makeoptions", -"selection : select_no_options", -"selection : select_options", -"selection : select_maxusers", -"selection : select_ident", -"selection : select_no_ident", -"selection : select_config", -"selection : select_no_config", -"selection : select_no_pseudodev", -"selection : select_pseudodev", -"selection : select_pseudoroot", -"selection : select_no_device_instance_attachment", -"selection : select_no_device_attachment", -"selection : select_no_device_instance", -"selection : select_device_instance", -"select_attr : SELECT WORD", -"select_no_attr : NO SELECT WORD", -"select_no_filesystems : NO FILE_SYSTEM no_fs_list", -"select_filesystems : FILE_SYSTEM fs_list", -"select_no_makeoptions : NO MAKEOPTIONS no_mkopt_list", -"select_makeoptions : MAKEOPTIONS mkopt_list", -"select_no_options : NO OPTIONS no_opt_list", -"select_options : OPTIONS opt_list", -"select_maxusers : MAXUSERS int32", -"select_ident : IDENT stringvalue", -"select_no_ident : NO IDENT", -"select_config : CONFIG conf root_spec sysparam_list", -"select_no_config : NO CONFIG WORD", -"select_no_pseudodev : NO PSEUDO_DEVICE WORD", -"select_pseudodev : PSEUDO_DEVICE WORD npseudo", -"select_pseudoroot : PSEUDO_ROOT device_instance", -"select_no_device_instance_attachment : NO device_instance AT attachment", -"select_no_device_attachment : NO DEVICE AT attachment", -"select_no_device_instance : NO device_instance", -"select_device_instance : device_instance AT attachment locators device_flags", -"fs_list : fsoption", -"fs_list : fs_list ',' fsoption", -"fsoption : WORD", -"no_fs_list : no_fsoption", -"no_fs_list : no_fs_list ',' no_fsoption", -"no_fsoption : WORD", -"mkopt_list : mkoption", -"mkopt_list : mkopt_list ',' mkoption", -"mkoption : mkvarname '=' value", -"mkoption : mkvarname PLUSEQ value", -"no_mkopt_list : no_mkoption", -"no_mkopt_list : no_mkopt_list ',' no_mkoption", -"no_mkoption : WORD", -"opt_list : option", -"opt_list : opt_list ',' option", -"option : WORD", -"option : WORD '=' value", -"no_opt_list : no_option", -"no_opt_list : no_opt_list ',' no_option", -"no_option : WORD", -"conf : WORD", -"root_spec : ROOT on_opt dev_spec", -"root_spec : ROOT on_opt dev_spec fs_spec", -"dev_spec : '?'", -"dev_spec : WORD", -"dev_spec : major_minor", -"major_minor : MAJOR NUMBER MINOR NUMBER", -"fs_spec : TYPE '?'", -"fs_spec : TYPE WORD", -"sysparam_list :", -"sysparam_list : sysparam_list sysparam", -"sysparam : DUMPS on_opt dev_spec", -"npseudo :", -"npseudo : int32", -"device_instance : WORD", -"device_instance : WORD '*'", -"attachment : ROOT", -"attachment : WORD", -"attachment : WORD '?'", -"locators :", -"locators : locators locator", -"locator : WORD '?'", -"locator : WORD values", -"device_flags :", -"device_flags : FLAGS int32", -"condexpr : cond_or_expr", -"cond_or_expr : cond_and_expr", -"cond_or_expr : cond_or_expr '|' cond_and_expr", -"cond_and_expr : cond_prefix_expr", -"cond_and_expr : cond_and_expr '&' cond_prefix_expr", -"cond_prefix_expr : cond_base_expr", -"cond_base_expr : condatom", -"cond_base_expr : '!' condatom", -"cond_base_expr : '(' condexpr ')'", -"condatom : WORD", -"mkvarname : QSTRING", -"mkvarname : WORD", -"optfile_opt :", -"optfile_opt : filename", -"filename : QSTRING", -"filename : PATHNAME", -"value : QSTRING", -"value : WORD", -"value : EMPTYSTRING", -"value : signed_number", -"stringvalue : QSTRING", -"stringvalue : WORD", -"values : value", -"values : value ',' values", -"signed_number : NUMBER", -"signed_number : '-' NUMBER", -"on_opt :", -"on_opt : ON", - -}; -#endif - -int yydebug; -int yynerrs; - -int yyerrflag; -int yychar; -YYSTYPE yyval; -YYSTYPE yylval; - -/* define the initial stack-sizes */ -#ifdef YYSTACKSIZE -#undef YYMAXDEPTH -#define YYMAXDEPTH YYSTACKSIZE -#else -#ifdef YYMAXDEPTH -#define YYSTACKSIZE YYMAXDEPTH -#else -#define YYSTACKSIZE 10000 -#define YYMAXDEPTH 10000 -#endif -#endif - -#define YYINITSTACKSIZE 200 - -typedef struct { - unsigned stacksize; - YYINT *s_base; - YYINT *s_mark; - YYINT *s_last; - YYSTYPE *l_base; - YYSTYPE *l_mark; -} YYSTACKDATA; -/* variables for the parser stack */ -static YYSTACKDATA yystack; -#line 1083 "gram.y" - -void -yyerror(const char *s) -{ - - cfgerror("%s", s); -} - -/************************************************************/ - -/* - * Wrap allocations that live on the parser stack so that we can free - * them again on error instead of leaking. - */ - -#define MAX_WRAP 1000 - -struct wrap_entry { - void *ptr; - unsigned typecode; -}; - -static struct wrap_entry wrapstack[MAX_WRAP]; -static unsigned wrap_depth; - -/* - * Remember pointer PTR with type-code CODE. - */ -static void -wrap_alloc(void *ptr, unsigned code) -{ - unsigned pos; - - if (wrap_depth >= MAX_WRAP) { - panic("allocation wrapper stack overflow"); - } - pos = wrap_depth++; - wrapstack[pos].ptr = ptr; - wrapstack[pos].typecode = code; -} - -/* - * We succeeded; commit to keeping everything that's been allocated so - * far and clear the stack. - */ -static void -wrap_continue(void) -{ - wrap_depth = 0; -} - -/* - * We failed; destroy all the objects allocated. - */ -static void -wrap_cleanup(void) -{ - unsigned i; - - /* - * Destroy each item. Note that because everything allocated - * is entered on the list separately, lists and trees need to - * have their links blanked before being destroyed. Also note - * that strings are interned elsewhere and not handled by this - * mechanism. - */ - - for (i=0; idl_next = NULL; - defoptlist_destroy(dl); - } - break; - case WRAP_CODE_loclist: - { - struct loclist *ll = wrapstack[i].ptr; - - ll->ll_next = NULL; - loclist_destroy(ll); - } - break; - case WRAP_CODE_attrlist: - { - struct attrlist *al = wrapstack[i].ptr; - - al->al_next = NULL; - al->al_this = NULL; - attrlist_destroy(al); - } - break; - case WRAP_CODE_condexpr: - { - struct condexpr *cx = wrapstack[i].ptr; - - cx->cx_type = CX_ATOM; - cx->cx_atom = NULL; - condexpr_destroy(cx); - } - break; - default: - panic("invalid code %u on allocation wrapper stack", - wrapstack[i].typecode); - } - } - - wrap_depth = 0; -} - -/* - * Instantiate the wrapper functions. - * - * Each one calls wrap_alloc to save the pointer and then returns the - * pointer again; these need to be generated with the preprocessor in - * order to be typesafe. - */ -#define DEF_ALLOCWRAP(t) \ - static struct t * \ - wrap_mk_##t(struct t *arg) \ - { \ - wrap_alloc(arg, WRAP_CODE_##t); \ - return arg; \ - } - -DEF_ALLOCWRAP(nvlist); -DEF_ALLOCWRAP(defoptlist); -DEF_ALLOCWRAP(loclist); -DEF_ALLOCWRAP(attrlist); -DEF_ALLOCWRAP(condexpr); - -/************************************************************/ - -/* - * Data constructors - * - * (These are *beneath* the allocation wrappers.) - */ - -static struct defoptlist * -mk_defoptlist(const char *name, const char *val, const char *lintval) -{ - return defoptlist_create(name, val, lintval); -} - -static struct loclist * -mk_loc(const char *name, const char *str, long long num) -{ - return loclist_create(name, str, num); -} - -static struct loclist * -mk_loc_val(const char *str, struct loclist *next) -{ - struct loclist *ll; - - ll = mk_loc(NULL, str, 0); - ll->ll_next = next; - return ll; -} - -static struct attrlist * -mk_attrlist(struct attrlist *next, struct attr *a) -{ - return attrlist_cons(next, a); -} - -static struct condexpr * -mk_cx_atom(const char *s) -{ - struct condexpr *cx; - - cx = condexpr_create(CX_ATOM); - cx->cx_atom = s; - return cx; -} - -static struct condexpr * -mk_cx_not(struct condexpr *sub) -{ - struct condexpr *cx; - - cx = condexpr_create(CX_NOT); - cx->cx_not = sub; - return cx; -} - -static struct condexpr * -mk_cx_and(struct condexpr *left, struct condexpr *right) -{ - struct condexpr *cx; - - cx = condexpr_create(CX_AND); - cx->cx_and.left = left; - cx->cx_and.right = right; - return cx; -} - -static struct condexpr * -mk_cx_or(struct condexpr *left, struct condexpr *right) -{ - struct condexpr *cx; - - cx = condexpr_create(CX_OR); - cx->cx_or.left = left; - cx->cx_or.right = right; - return cx; -} - -/************************************************************/ - -static void -setmachine(const char *mch, const char *mcharch, struct nvlist *mchsubarches, - int isioconf) -{ - char buf[MAXPATHLEN]; - struct nvlist *nv; - - if (isioconf) { - if (include(_PATH_DEVNULL, ENDDEFS, 0, 0) != 0) - exit(1); - ioconfname = mch; - return; - } - - machine = mch; - machinearch = mcharch; - machinesubarches = mchsubarches; - - /* - * Define attributes for all the given names - */ - if (defattr(machine, NULL, NULL, 0) != 0 || - (machinearch != NULL && - defattr(machinearch, NULL, NULL, 0) != 0)) - exit(1); - for (nv = machinesubarches; nv != NULL; nv = nv->nv_next) { - if (defattr(nv->nv_name, NULL, NULL, 0) != 0) - exit(1); - } - - /* - * Set up the file inclusion stack. This empty include tells - * the parser there are no more device definitions coming. - */ - if (include(_PATH_DEVNULL, ENDDEFS, 0, 0) != 0) - exit(1); - - /* Include arch/${MACHINE}/conf/files.${MACHINE} */ - (void)snprintf(buf, sizeof(buf), "arch/%s/conf/files.%s", - machine, machine); - if (include(buf, ENDFILE, 0, 0) != 0) - exit(1); - - /* Include any arch/${MACHINE_SUBARCH}/conf/files.${MACHINE_SUBARCH} */ - for (nv = machinesubarches; nv != NULL; nv = nv->nv_next) { - (void)snprintf(buf, sizeof(buf), "arch/%s/conf/files.%s", - nv->nv_name, nv->nv_name); - if (include(buf, ENDFILE, 0, 0) != 0) - exit(1); - } - - /* Include any arch/${MACHINE_ARCH}/conf/files.${MACHINE_ARCH} */ - if (machinearch != NULL) - (void)snprintf(buf, sizeof(buf), "arch/%s/conf/files.%s", - machinearch, machinearch); - else - strlcpy(buf, _PATH_DEVNULL, sizeof(buf)); - if (include(buf, ENDFILE, 0, 0) != 0) - exit(1); - - /* - * Include the global conf/files. As the last thing - * pushed on the stack, it will be processed first. - */ - if (include("conf/files", ENDFILE, 0, 0) != 0) - exit(1); - - oktopackage = 1; -} - -static void -check_maxpart(void) -{ - - if (maxpartitions <= 0 && ioconfname == NULL) { - stop("cannot proceed without maxpartitions specifier"); - } -} - -static void -check_version(void) -{ - /* - * In essence, version is 0 and is not supported anymore - */ - if (version < CONFIG_MINVERSION) - stop("your sources are out of date -- please update."); -} - -/* - * Prepend a blank entry to the locator definitions so the code in - * sem.c can distinguish "empty locator list" from "no locator list". - * XXX gross. - */ -static struct loclist * -present_loclist(struct loclist *ll) -{ - struct loclist *ret; - - ret = MK3(loc, "", NULL, 0); - ret->ll_next = ll; - return ret; -} - -static void -app(struct loclist *p, struct loclist *q) -{ - while (p->ll_next) - p = p->ll_next; - p->ll_next = q; -} - -static struct loclist * -locarray(const char *name, int count, struct loclist *adefs, int opt) -{ - struct loclist *defs = adefs; - struct loclist **p; - char buf[200]; - int i; - - if (count <= 0) { - fprintf(stderr, "config: array with <= 0 size: %s\n", name); - exit(1); - } - p = &defs; - for(i = 0; i < count; i++) { - if (*p == NULL) - *p = MK3(loc, NULL, "0", 0); - snprintf(buf, sizeof(buf), "%s%c%d", name, ARRCHR, i); - (*p)->ll_name = i == 0 ? name : intern(buf); - (*p)->ll_num = i > 0 || opt; - p = &(*p)->ll_next; - } - *p = 0; - return defs; -} - - -static struct loclist * -namelocvals(const char *name, struct loclist *vals) -{ - struct loclist *p; - char buf[200]; - int i; - - for (i = 0, p = vals; p; i++, p = p->ll_next) { - snprintf(buf, sizeof(buf), "%s%c%d", name, ARRCHR, i); - p->ll_name = i == 0 ? name : intern(buf); - } - return vals; -} - -#line 1456 "gram.c" - -#if YYDEBUG -#include /* needed for printf */ -#endif - -#include /* needed for malloc, etc */ -#include /* needed for memset */ - -/* allocate initial stack or double stack size, up to YYMAXDEPTH */ -static int yygrowstack(YYSTACKDATA *data) -{ - int i; - unsigned newsize; - YYINT *newss; - YYSTYPE *newvs; - - if ((newsize = data->stacksize) == 0) - newsize = YYINITSTACKSIZE; - else if (newsize >= YYMAXDEPTH) - return YYENOMEM; - else if ((newsize *= 2) > YYMAXDEPTH) - newsize = YYMAXDEPTH; - - i = (int) (data->s_mark - data->s_base); - newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss)); - if (newss == 0) - return YYENOMEM; - - data->s_base = newss; - data->s_mark = newss + i; - - newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs)); - if (newvs == 0) - return YYENOMEM; - - data->l_base = newvs; - data->l_mark = newvs + i; - - data->stacksize = newsize; - data->s_last = data->s_base + newsize - 1; - return 0; -} - -#if YYPURE || defined(YY_NO_LEAKS) -static void yyfreestack(YYSTACKDATA *data) -{ - free(data->s_base); - free(data->l_base); - memset(data, 0, sizeof(*data)); -} -#else -#define yyfreestack(data) /* nothing */ -#endif - -#define YYABORT goto yyabort -#define YYREJECT goto yyabort -#define YYACCEPT goto yyaccept -#define YYERROR goto yyerrlab - -int -YYPARSE_DECL() -{ - int yym, yyn, yystate; -#if YYDEBUG - const char *yys; - - if ((yys = getenv("YYDEBUG")) != 0) - { - yyn = *yys; - if (yyn >= '0' && yyn <= '9') - yydebug = yyn - '0'; - } -#endif - - yynerrs = 0; - yyerrflag = 0; - yychar = YYEMPTY; - yystate = 0; - -#if YYPURE - memset(&yystack, 0, sizeof(yystack)); -#endif - - if (yystack.s_base == NULL && yygrowstack(&yystack) == YYENOMEM) goto yyoverflow; - yystack.s_mark = yystack.s_base; - yystack.l_mark = yystack.l_base; - yystate = 0; - *yystack.s_mark = 0; - -yyloop: - if ((yyn = yydefred[yystate]) != 0) goto yyreduce; - if (yychar < 0) - { - if ((yychar = YYLEX) < 0) yychar = YYEOF; -#if YYDEBUG - if (yydebug) - { - yys = yyname[YYTRANSLATE(yychar)]; - printf("%sdebug: state %d, reading %d (%s)\n", - YYPREFIX, yystate, yychar, yys); - } -#endif - } - if ((yyn = yysindex[yystate]) && (yyn += yychar) >= 0 && - yyn <= YYTABLESIZE && yycheck[yyn] == yychar) - { -#if YYDEBUG - if (yydebug) - printf("%sdebug: state %d, shifting to state %d\n", - YYPREFIX, yystate, yytable[yyn]); -#endif - if (yystack.s_mark >= yystack.s_last && yygrowstack(&yystack) == YYENOMEM) - { - goto yyoverflow; - } - yystate = yytable[yyn]; - *++yystack.s_mark = yytable[yyn]; - *++yystack.l_mark = yylval; - yychar = YYEMPTY; - if (yyerrflag > 0) --yyerrflag; - goto yyloop; - } - if ((yyn = yyrindex[yystate]) && (yyn += yychar) >= 0 && - yyn <= YYTABLESIZE && yycheck[yyn] == yychar) - { - yyn = yytable[yyn]; - goto yyreduce; - } - if (yyerrflag) goto yyinrecovery; - - YYERROR_CALL("syntax error"); - - goto yyerrlab; - -yyerrlab: - ++yynerrs; - -yyinrecovery: - if (yyerrflag < 3) - { - yyerrflag = 3; - for (;;) - { - if ((yyn = yysindex[*yystack.s_mark]) && (yyn += YYERRCODE) >= 0 && - yyn <= YYTABLESIZE && yycheck[yyn] == YYERRCODE) - { -#if YYDEBUG - if (yydebug) - printf("%sdebug: state %d, error recovery shifting\ - to state %d\n", YYPREFIX, *yystack.s_mark, yytable[yyn]); -#endif - if (yystack.s_mark >= yystack.s_last && yygrowstack(&yystack) == YYENOMEM) - { - goto yyoverflow; - } - yystate = yytable[yyn]; - *++yystack.s_mark = yytable[yyn]; - *++yystack.l_mark = yylval; - goto yyloop; - } - else - { -#if YYDEBUG - if (yydebug) - printf("%sdebug: error recovery discarding state %d\n", - YYPREFIX, *yystack.s_mark); -#endif - if (yystack.s_mark <= yystack.s_base) goto yyabort; - --yystack.s_mark; - --yystack.l_mark; - } - } - } - else - { - if (yychar == YYEOF) goto yyabort; -#if YYDEBUG - if (yydebug) - { - yys = yyname[YYTRANSLATE(yychar)]; - printf("%sdebug: state %d, error recovery discards token %d (%s)\n", - YYPREFIX, yystate, yychar, yys); - } -#endif - yychar = YYEMPTY; - goto yyloop; - } - -yyreduce: -#if YYDEBUG - if (yydebug) - printf("%sdebug: state %d, reducing by rule %d (%s)\n", - YYPREFIX, yystate, yyn, yyrule[yyn]); -#endif - yym = yylen[yyn]; - if (yym) - yyval = yystack.l_mark[1-yym]; - else - memset(&yyval, 0, sizeof yyval); - switch (yyn) - { -case 5: -#line 275 "gram.y" - { if (!srcdir) srcdir = yystack.l_mark[-1].str; } -break; -case 6: -#line 276 "gram.y" - { if (!builddir) builddir = yystack.l_mark[-1].str; } -break; -case 7: -#line 281 "gram.y" - { setmachine(yystack.l_mark[-1].str,NULL,NULL,0); } -break; -case 8: -#line 282 "gram.y" - { setmachine(yystack.l_mark[-2].str,yystack.l_mark[-1].str,NULL,0); } -break; -case 9: -#line 283 "gram.y" - { setmachine(yystack.l_mark[-3].str,yystack.l_mark[-2].str,yystack.l_mark[-1].list,0); } -break; -case 10: -#line 284 "gram.y" - { setmachine(yystack.l_mark[-1].str,NULL,NULL,1); } -break; -case 11: -#line 285 "gram.y" - { stop("cannot proceed without machine or ioconf specifier"); } -break; -case 12: -#line 290 "gram.y" - { yyval.list = new_n(yystack.l_mark[0].str); } -break; -case 13: -#line 291 "gram.y" - { yyval.list = new_nx(yystack.l_mark[0].str, yystack.l_mark[-1].list); } -break; -case 14: -#line 302 "gram.y" - { check_maxpart(); check_version(); } -break; -case 17: -#line 309 "gram.y" - { wrap_continue(); } -break; -case 18: -#line 310 "gram.y" - { wrap_cleanup(); } -break; -case 19: -#line 311 "gram.y" - { enddefs(); checkfiles(); } -break; -case 42: -#line 342 "gram.y" - { addfile(yystack.l_mark[-3].str, yystack.l_mark[-2].condexpr, yystack.l_mark[-1].flag, yystack.l_mark[0].str); } -break; -case 43: -#line 347 "gram.y" - { addfile(yystack.l_mark[-2].str, yystack.l_mark[-1].condexpr, yystack.l_mark[0].flag, NULL); } -break; -case 44: -#line 353 "gram.y" - { - adddevm(yystack.l_mark[-4].str, yystack.l_mark[-3].devmajor, yystack.l_mark[-2].devmajor, yystack.l_mark[-1].condexpr, yystack.l_mark[0].list); - do_devsw = 1; - } -break; -case 45: -#line 361 "gram.y" - { prefix_push(yystack.l_mark[0].str); } -break; -case 46: -#line 362 "gram.y" - { prefix_pop(); } -break; -case 47: -#line 366 "gram.y" - { buildprefix_push(yystack.l_mark[0].str); } -break; -case 48: -#line 367 "gram.y" - { buildprefix_push(yystack.l_mark[0].str); } -break; -case 49: -#line 368 "gram.y" - { buildprefix_pop(); } -break; -case 50: -#line 372 "gram.y" - { (void)defdevclass(yystack.l_mark[0].str, NULL, NULL, 1); } -break; -case 51: -#line 376 "gram.y" - { deffilesystem(yystack.l_mark[-1].list, yystack.l_mark[0].list); } -break; -case 52: -#line 381 "gram.y" - { (void)defattr0(yystack.l_mark[-2].str, yystack.l_mark[-1].loclist, yystack.l_mark[0].attrlist, 0); } -break; -case 53: -#line 386 "gram.y" - { defoption(yystack.l_mark[-2].str, yystack.l_mark[-1].defoptlist, yystack.l_mark[0].list); } -break; -case 54: -#line 391 "gram.y" - { defflag(yystack.l_mark[-2].str, yystack.l_mark[-1].defoptlist, yystack.l_mark[0].list, 0); } -break; -case 55: -#line 396 "gram.y" - { defflag(yystack.l_mark[-1].str, yystack.l_mark[0].defoptlist, NULL, 1); } -break; -case 56: -#line 401 "gram.y" - { defparam(yystack.l_mark[-2].str, yystack.l_mark[-1].defoptlist, yystack.l_mark[0].list, 0); } -break; -case 57: -#line 406 "gram.y" - { defparam(yystack.l_mark[-1].str, yystack.l_mark[0].defoptlist, NULL, 1); } -break; -case 58: -#line 411 "gram.y" - { defdev(yystack.l_mark[-2].devb, yystack.l_mark[-1].loclist, yystack.l_mark[0].attrlist, 0); } -break; -case 59: -#line 416 "gram.y" - { defdevattach(yystack.l_mark[-1].deva, yystack.l_mark[-4].devb, yystack.l_mark[-2].list, yystack.l_mark[0].attrlist); } -break; -case 60: -#line 420 "gram.y" - { maxpartitions = yystack.l_mark[0].i32; } -break; -case 61: -#line 425 "gram.y" - { setdefmaxusers(yystack.l_mark[-2].i32, yystack.l_mark[-1].i32, yystack.l_mark[0].i32); } -break; -case 63: -#line 435 "gram.y" - { defdev(yystack.l_mark[-2].devb, yystack.l_mark[-1].loclist, yystack.l_mark[0].attrlist, 1); } -break; -case 64: -#line 440 "gram.y" - { defdev(yystack.l_mark[-2].devb, yystack.l_mark[-1].loclist, yystack.l_mark[0].attrlist, 2); } -break; -case 66: -#line 448 "gram.y" - { setversion(yystack.l_mark[0].i32); } -break; -case 67: -#line 453 "gram.y" - { yyval.condexpr = NULL; } -break; -case 68: -#line 454 "gram.y" - { yyval.condexpr = yystack.l_mark[0].condexpr; } -break; -case 69: -#line 459 "gram.y" - { yyval.flag = 0; } -break; -case 70: -#line 460 "gram.y" - { yyval.flag = yystack.l_mark[-1].flag | yystack.l_mark[0].flag; } -break; -case 71: -#line 465 "gram.y" - { yyval.flag = FI_NEEDSCOUNT; } -break; -case 72: -#line 466 "gram.y" - { yyval.flag = FI_NEEDSFLAG; } -break; -case 73: -#line 471 "gram.y" - { yyval.str = NULL; } -break; -case 74: -#line 472 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 75: -#line 477 "gram.y" - { yyval.flag = 0; } -break; -case 76: -#line 478 "gram.y" - { yyval.flag = yystack.l_mark[-1].flag | yystack.l_mark[0].flag; } -break; -case 77: -#line 483 "gram.y" - { yyval.flag = FI_NEEDSFLAG; } -break; -case 78: -#line 488 "gram.y" - { yyval.devmajor = -1; } -break; -case 79: -#line 489 "gram.y" - { yyval.devmajor = yystack.l_mark[0].i32; } -break; -case 80: -#line 494 "gram.y" - { yyval.devmajor = -1; } -break; -case 81: -#line 495 "gram.y" - { yyval.devmajor = yystack.l_mark[0].i32; } -break; -case 82: -#line 500 "gram.y" - { yyval.list = new_s("DEVNODE_DONTBOTHER"); } -break; -case 83: -#line 501 "gram.y" - { yyval.list = nvcat(yystack.l_mark[-2].list, yystack.l_mark[0].list); } -break; -case 84: -#line 502 "gram.y" - { yyval.list = yystack.l_mark[0].list; } -break; -case 85: -#line 507 "gram.y" - { yyval.list = new_s("DEVNODE_SINGLE"); } -break; -case 86: -#line 508 "gram.y" - { yyval.list = nvcat(new_s("DEVNODE_VECTOR"), yystack.l_mark[0].list); } -break; -case 87: -#line 513 "gram.y" - { yyval.list = new_i(yystack.l_mark[0].num.val); } -break; -case 88: -#line 514 "gram.y" - { - struct nvlist *__nv1, *__nv2; - - __nv1 = new_i(yystack.l_mark[-2].num.val); - __nv2 = new_i(yystack.l_mark[0].num.val); - yyval.list = nvcat(__nv1, __nv2); - } -break; -case 89: -#line 525 "gram.y" - { yyval.list = new_s("DEVNODE_FLAG_LINKZERO");} -break; -case 90: -#line 530 "gram.y" - { yyval.list = new_n(yystack.l_mark[0].str); } -break; -case 91: -#line 531 "gram.y" - { yyval.list = new_nx(yystack.l_mark[0].str, yystack.l_mark[-1].list); } -break; -case 92: -#line 536 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 93: -#line 541 "gram.y" - { yyval.loclist = NULL; } -break; -case 94: -#line 542 "gram.y" - { yyval.loclist = present_loclist(NULL); } -break; -case 95: -#line 543 "gram.y" - { yyval.loclist = present_loclist(yystack.l_mark[-1].loclist); } -break; -case 96: -#line 553 "gram.y" - { yyval.loclist = yystack.l_mark[0].loclist; } -break; -case 97: -#line 554 "gram.y" - { yyval.loclist = yystack.l_mark[-2].loclist; app(yystack.l_mark[-2].loclist, yystack.l_mark[0].loclist); } -break; -case 98: -#line 563 "gram.y" - { yyval.loclist = MK3(loc, yystack.l_mark[-1].str, yystack.l_mark[0].str, 0); } -break; -case 99: -#line 564 "gram.y" - { yyval.loclist = MK3(loc, yystack.l_mark[0].str, NULL, 0); } -break; -case 100: -#line 565 "gram.y" - { yyval.loclist = MK3(loc, yystack.l_mark[-2].str, yystack.l_mark[-1].str, 1); } -break; -case 101: -#line 566 "gram.y" - { yyval.loclist = locarray(yystack.l_mark[-3].str, yystack.l_mark[-1].i32, NULL, 0); } -break; -case 102: -#line 568 "gram.y" - { yyval.loclist = locarray(yystack.l_mark[-4].str, yystack.l_mark[-2].i32, yystack.l_mark[0].loclist, 0); } -break; -case 103: -#line 570 "gram.y" - { yyval.loclist = locarray(yystack.l_mark[-5].str, yystack.l_mark[-3].i32, yystack.l_mark[-1].loclist, 1); } -break; -case 104: -#line 575 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 105: -#line 576 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 106: -#line 581 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 107: -#line 586 "gram.y" - { yyval.loclist = yystack.l_mark[-1].loclist; } -break; -case 108: -#line 591 "gram.y" - { yyval.attrlist = NULL; } -break; -case 109: -#line 592 "gram.y" - { yyval.attrlist = yystack.l_mark[0].attrlist; } -break; -case 110: -#line 597 "gram.y" - { yyval.attrlist = MK2(attrlist, NULL, yystack.l_mark[0].attr); } -break; -case 111: -#line 598 "gram.y" - { yyval.attrlist = MK2(attrlist, yystack.l_mark[-2].attrlist, yystack.l_mark[0].attr); } -break; -case 112: -#line 603 "gram.y" - { yyval.attr = refattr(yystack.l_mark[0].str); } -break; -case 113: -#line 608 "gram.y" - { yyval.list = NULL; } -break; -case 114: -#line 609 "gram.y" - { yyval.list = yystack.l_mark[0].list; } -break; -case 115: -#line 614 "gram.y" - { yyval.list = new_n(yystack.l_mark[0].str); } -break; -case 116: -#line 615 "gram.y" - { yyval.list = new_nx(yystack.l_mark[0].str, yystack.l_mark[-2].list); } -break; -case 117: -#line 620 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 118: -#line 626 "gram.y" - { yyval.list = new_n(yystack.l_mark[0].str); } -break; -case 119: -#line 627 "gram.y" - { yyval.list = new_nx(yystack.l_mark[0].str, yystack.l_mark[-2].list); } -break; -case 120: -#line 632 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 121: -#line 633 "gram.y" - { yyval.str = NULL; } -break; -case 122: -#line 638 "gram.y" - { yyval.defoptlist = yystack.l_mark[0].defoptlist; } -break; -case 123: -#line 639 "gram.y" - { yyval.defoptlist = defoptlist_append(yystack.l_mark[0].defoptlist, yystack.l_mark[-1].defoptlist); } -break; -case 124: -#line 644 "gram.y" - { yyval.defoptlist = MK3(defoptlist, yystack.l_mark[0].str, NULL, NULL); } -break; -case 125: -#line 645 "gram.y" - { yyval.defoptlist = MK3(defoptlist, yystack.l_mark[-2].str, yystack.l_mark[0].str, NULL); } -break; -case 126: -#line 646 "gram.y" - { yyval.defoptlist = MK3(defoptlist, yystack.l_mark[-2].str, NULL, yystack.l_mark[0].str); } -break; -case 127: -#line 647 "gram.y" - { yyval.defoptlist = MK3(defoptlist, yystack.l_mark[-4].str, yystack.l_mark[-2].str, yystack.l_mark[0].str); } -break; -case 130: -#line 658 "gram.y" - { appendcondmkoption(yystack.l_mark[-3].condexpr, yystack.l_mark[-2].str, yystack.l_mark[0].str); } -break; -case 131: -#line 663 "gram.y" - { yyval.devb = getdevbase(yystack.l_mark[0].str); } -break; -case 132: -#line 668 "gram.y" - { yyval.deva = NULL; } -break; -case 133: -#line 669 "gram.y" - { yyval.deva = getdevattach(yystack.l_mark[0].str); } -break; -case 136: -#line 681 "gram.y" - { setmajor(yystack.l_mark[-2].devb, yystack.l_mark[0].i32); } -break; -case 137: -#line 685 "gram.y" - { - if (yystack.l_mark[0].num.val > INT_MAX || yystack.l_mark[0].num.val < INT_MIN) - cfgerror("overflow %" PRId64, yystack.l_mark[0].num.val); - else - yyval.i32 = (int32_t)yystack.l_mark[0].num.val; - } -break; -case 141: -#line 708 "gram.y" - { wrap_continue(); } -break; -case 142: -#line 709 "gram.y" - { wrap_cleanup(); } -break; -case 164: -#line 738 "gram.y" - { addattr(yystack.l_mark[0].str); } -break; -case 165: -#line 742 "gram.y" - { delattr(yystack.l_mark[0].str); } -break; -case 172: -#line 770 "gram.y" - { setmaxusers(yystack.l_mark[0].i32); } -break; -case 173: -#line 774 "gram.y" - { setident(yystack.l_mark[0].str); } -break; -case 174: -#line 778 "gram.y" - { setident(NULL); } -break; -case 175: -#line 783 "gram.y" - { addconf(&conf); } -break; -case 176: -#line 787 "gram.y" - { delconf(yystack.l_mark[0].str); } -break; -case 177: -#line 791 "gram.y" - { delpseudo(yystack.l_mark[0].str); } -break; -case 178: -#line 795 "gram.y" - { addpseudo(yystack.l_mark[-1].str, yystack.l_mark[0].i32); } -break; -case 179: -#line 799 "gram.y" - { addpseudoroot(yystack.l_mark[0].str); } -break; -case 180: -#line 804 "gram.y" - { deldevi(yystack.l_mark[-2].str, yystack.l_mark[0].str); } -break; -case 181: -#line 808 "gram.y" - { deldeva(yystack.l_mark[0].str); } -break; -case 182: -#line 812 "gram.y" - { deldev(yystack.l_mark[0].str); } -break; -case 183: -#line 817 "gram.y" - { adddev(yystack.l_mark[-4].str, yystack.l_mark[-2].str, yystack.l_mark[-1].loclist, yystack.l_mark[0].i32); } -break; -case 186: -#line 828 "gram.y" - { addfsoption(yystack.l_mark[0].str); } -break; -case 189: -#line 839 "gram.y" - { delfsoption(yystack.l_mark[0].str); } -break; -case 192: -#line 851 "gram.y" - { addmkoption(yystack.l_mark[-2].str, yystack.l_mark[0].str); } -break; -case 193: -#line 852 "gram.y" - { appendmkoption(yystack.l_mark[-2].str, yystack.l_mark[0].str); } -break; -case 196: -#line 864 "gram.y" - { delmkoption(yystack.l_mark[0].str); } -break; -case 199: -#line 875 "gram.y" - { addoption(yystack.l_mark[0].str, NULL); } -break; -case 200: -#line 876 "gram.y" - { addoption(yystack.l_mark[-2].str, yystack.l_mark[0].str); } -break; -case 203: -#line 887 "gram.y" - { deloption(yystack.l_mark[0].str); } -break; -case 204: -#line 892 "gram.y" - { - conf.cf_name = yystack.l_mark[0].str; - conf.cf_lineno = currentline(); - conf.cf_fstype = NULL; - conf.cf_root = NULL; - conf.cf_dump = NULL; - } -break; -case 205: -#line 903 "gram.y" - { setconf(&conf.cf_root, "root", yystack.l_mark[0].list); } -break; -case 206: -#line 904 "gram.y" - { setconf(&conf.cf_root, "root", yystack.l_mark[-1].list); } -break; -case 207: -#line 909 "gram.y" - { yyval.list = new_si(intern("?"), - (long long)NODEV); } -break; -case 208: -#line 911 "gram.y" - { yyval.list = new_si(yystack.l_mark[0].str, - (long long)NODEV); } -break; -case 209: -#line 913 "gram.y" - { yyval.list = new_si(NULL, yystack.l_mark[0].val); } -break; -case 210: -#line 918 "gram.y" - { yyval.val = (int64_t)makedev(yystack.l_mark[-2].num.val, yystack.l_mark[0].num.val); } -break; -case 211: -#line 923 "gram.y" - { setfstype(&conf.cf_fstype, intern("?")); } -break; -case 212: -#line 924 "gram.y" - { setfstype(&conf.cf_fstype, yystack.l_mark[0].str); } -break; -case 215: -#line 935 "gram.y" - { setconf(&conf.cf_dump, "dumps", yystack.l_mark[0].list); } -break; -case 216: -#line 940 "gram.y" - { yyval.i32 = 1; } -break; -case 217: -#line 941 "gram.y" - { yyval.i32 = yystack.l_mark[0].i32; } -break; -case 218: -#line 946 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 219: -#line 947 "gram.y" - { yyval.str = starref(yystack.l_mark[-1].str); } -break; -case 220: -#line 952 "gram.y" - { yyval.str = NULL; } -break; -case 221: -#line 953 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 222: -#line 954 "gram.y" - { yyval.str = wildref(yystack.l_mark[-1].str); } -break; -case 223: -#line 959 "gram.y" - { yyval.loclist = NULL; } -break; -case 224: -#line 960 "gram.y" - { yyval.loclist = yystack.l_mark[0].loclist; app(yystack.l_mark[0].loclist, yystack.l_mark[-1].loclist); } -break; -case 225: -#line 965 "gram.y" - { yyval.loclist = MK3(loc, yystack.l_mark[-1].str, NULL, 0); } -break; -case 226: -#line 966 "gram.y" - { yyval.loclist = namelocvals(yystack.l_mark[-1].str, yystack.l_mark[0].loclist); } -break; -case 227: -#line 971 "gram.y" - { yyval.i32 = 0; } -break; -case 228: -#line 972 "gram.y" - { yyval.i32 = yystack.l_mark[0].i32; } -break; -case 231: -#line 995 "gram.y" - { yyval.condexpr = MKF2(cx, or, yystack.l_mark[-2].condexpr, yystack.l_mark[0].condexpr); } -break; -case 233: -#line 1000 "gram.y" - { yyval.condexpr = MKF2(cx, and, yystack.l_mark[-2].condexpr, yystack.l_mark[0].condexpr); } -break; -case 235: -#line 1010 "gram.y" - { yyval.condexpr = yystack.l_mark[0].condexpr; } -break; -case 236: -#line 1011 "gram.y" - { yyval.condexpr = MKF1(cx, not, yystack.l_mark[0].condexpr); } -break; -case 237: -#line 1012 "gram.y" - { yyval.condexpr = yystack.l_mark[-1].condexpr; } -break; -case 238: -#line 1017 "gram.y" - { yyval.condexpr = MKF1(cx, atom, yystack.l_mark[0].str); } -break; -case 239: -#line 1028 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 240: -#line 1029 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 241: -#line 1034 "gram.y" - { yyval.str = NULL; } -break; -case 242: -#line 1035 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 243: -#line 1040 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 244: -#line 1041 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 245: -#line 1046 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 246: -#line 1047 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 247: -#line 1048 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 248: -#line 1049 "gram.y" - { - char bf[40]; - - (void)snprintf(bf, sizeof(bf), FORMAT(yystack.l_mark[0].num), (long long)yystack.l_mark[0].num.val); - yyval.str = intern(bf); - } -break; -case 249: -#line 1059 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 250: -#line 1060 "gram.y" - { yyval.str = yystack.l_mark[0].str; } -break; -case 251: -#line 1066 "gram.y" - { yyval.loclist = MKF2(loc, val, yystack.l_mark[0].str, NULL); } -break; -case 252: -#line 1067 "gram.y" - { yyval.loclist = MKF2(loc, val, yystack.l_mark[-2].str, yystack.l_mark[0].loclist); } -break; -case 253: -#line 1072 "gram.y" - { yyval.num = yystack.l_mark[0].num; } -break; -case 254: -#line 1073 "gram.y" - { yyval.num.fmt = yystack.l_mark[0].num.fmt; yyval.num.val = -yystack.l_mark[0].num.val; } -break; -#line 2373 "gram.c" - } - yystack.s_mark -= yym; - yystate = *yystack.s_mark; - yystack.l_mark -= yym; - yym = yylhs[yyn]; - if (yystate == 0 && yym == 0) - { -#if YYDEBUG - if (yydebug) - printf("%sdebug: after reduction, shifting from state 0 to\ - state %d\n", YYPREFIX, YYFINAL); -#endif - yystate = YYFINAL; - *++yystack.s_mark = YYFINAL; - *++yystack.l_mark = yyval; - if (yychar < 0) - { - if ((yychar = YYLEX) < 0) yychar = YYEOF; -#if YYDEBUG - if (yydebug) - { - yys = yyname[YYTRANSLATE(yychar)]; - printf("%sdebug: state %d, reading %d (%s)\n", - YYPREFIX, YYFINAL, yychar, yys); - } -#endif - } - if (yychar == YYEOF) goto yyaccept; - goto yyloop; - } - if ((yyn = yygindex[yym]) && (yyn += yystate) >= 0 && - yyn <= YYTABLESIZE && yycheck[yyn] == yystate) - yystate = yytable[yyn]; - else - yystate = yydgoto[yym]; -#if YYDEBUG - if (yydebug) - printf("%sdebug: after reduction, shifting from state %d \ -to state %d\n", YYPREFIX, *yystack.s_mark, yystate); -#endif - if (yystack.s_mark >= yystack.s_last && yygrowstack(&yystack) == YYENOMEM) - { - goto yyoverflow; - } - *++yystack.s_mark = (YYINT) yystate; - *++yystack.l_mark = yyval; - goto yyloop; - -yyoverflow: - YYERROR_CALL("yacc stack overflow"); - -yyabort: - yyfreestack(&yystack); - return (1); - -yyaccept: - yyfreestack(&yystack); - return (0); -} diff --git a/usr.bin/config/gram.h b/usr.bin/config/gram.h deleted file mode 100644 index 16ef96578..000000000 --- a/usr.bin/config/gram.h +++ /dev/null @@ -1,89 +0,0 @@ -#ifndef _yy_defines_h_ -#define _yy_defines_h_ - -#define AND 257 -#define AT 258 -#define ATTACH 259 -#define BLOCK 260 -#define BUILD 261 -#define CHAR 262 -#define COLONEQ 263 -#define COMPILE_WITH 264 -#define CONFIG 265 -#define DEFFS 266 -#define DEFINE 267 -#define DEFOPT 268 -#define DEFPARAM 269 -#define DEFFLAG 270 -#define DEFPSEUDO 271 -#define DEFPSEUDODEV 272 -#define DEVICE 273 -#define DEVCLASS 274 -#define DUMPS 275 -#define DEVICE_MAJOR 276 -#define ENDFILE 277 -#define XFILE 278 -#define FILE_SYSTEM 279 -#define FLAGS 280 -#define IDENT 281 -#define IOCONF 282 -#define LINKZERO 283 -#define XMACHINE 284 -#define MAJOR 285 -#define MAKEOPTIONS 286 -#define MAXUSERS 287 -#define MAXPARTITIONS 288 -#define MINOR 289 -#define NEEDS_COUNT 290 -#define NEEDS_FLAG 291 -#define NO 292 -#define XOBJECT 293 -#define OBSOLETE 294 -#define ON 295 -#define OPTIONS 296 -#define PACKAGE 297 -#define PLUSEQ 298 -#define PREFIX 299 -#define BUILDPREFIX 300 -#define PSEUDO_DEVICE 301 -#define PSEUDO_ROOT 302 -#define ROOT 303 -#define SELECT 304 -#define SINGLE 305 -#define SOURCE 306 -#define TYPE 307 -#define VECTOR 308 -#define VERSION 309 -#define WITH 310 -#define NUMBER 311 -#define PATHNAME 312 -#define QSTRING 313 -#define WORD 314 -#define EMPTYSTRING 315 -#define ENDDEFS 316 -#ifdef YYSTYPE -#undef YYSTYPE_IS_DECLARED -#define YYSTYPE_IS_DECLARED 1 -#endif -#ifndef YYSTYPE_IS_DECLARED -#define YYSTYPE_IS_DECLARED 1 -typedef union { - struct attr *attr; - struct devbase *devb; - struct deva *deva; - struct nvlist *list; - struct defoptlist *defoptlist; - struct loclist *loclist; - struct attrlist *attrlist; - struct condexpr *condexpr; - const char *str; - struct numconst num; - int64_t val; - u_char flag; - devmajor_t devmajor; - int32_t i32; -} YYSTYPE; -#endif /* !YYSTYPE_IS_DECLARED */ -extern YYSTYPE yylval; - -#endif /* _yy_defines_h_ */ diff --git a/usr.bin/config/scan.c b/usr.bin/config/scan.c deleted file mode 100644 index db205dee8..000000000 --- a/usr.bin/config/scan.c +++ /dev/null @@ -1,3094 +0,0 @@ -#line 2 "scan.c" - -#line 4 "scan.c" - -#define YY_INT_ALIGNED short int - -/* A lexical scanner generated by flex */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 -#define YY_FLEX_SUBMINOR_VERSION 35 -#if YY_FLEX_SUBMINOR_VERSION > 0 -#define FLEX_BETA -#endif - -/* First, we deal with platform-specific or compiler-specific issues. */ - -/* begin standard C headers. */ -#ifdef _LIBC -#include "namespace.h" -#endif -#include -#include -#include -#include - -/* end standard C headers. */ - -/* $NetBSD: flexint.h,v 1.2 2014/10/29 18:28:36 christos Exp $ */ - -/* flex integer type definitions */ - -#ifndef FLEXINT_H -#define FLEXINT_H - -/* C99 systems have . Non-C99 systems may or may not. */ - -#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L - -/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, - * if you want the limit (max/min) macros for int types. - */ -#ifndef __STDC_LIMIT_MACROS -#define __STDC_LIMIT_MACROS 1 -#endif - -#include -typedef int8_t flex_int8_t; -typedef uint8_t flex_uint8_t; -typedef int16_t flex_int16_t; -typedef uint16_t flex_uint16_t; -typedef int32_t flex_int32_t; -typedef uint32_t flex_uint32_t; -#else -typedef signed char flex_int8_t; -typedef short int flex_int16_t; -typedef int flex_int32_t; -typedef unsigned char flex_uint8_t; -typedef unsigned short int flex_uint16_t; -typedef unsigned int flex_uint32_t; - -/* Limits of integral types. */ -#ifndef INT8_MIN -#define INT8_MIN (-128) -#endif -#ifndef INT16_MIN -#define INT16_MIN (-32767-1) -#endif -#ifndef INT32_MIN -#define INT32_MIN (-2147483647-1) -#endif -#ifndef INT8_MAX -#define INT8_MAX (127) -#endif -#ifndef INT16_MAX -#define INT16_MAX (32767) -#endif -#ifndef INT32_MAX -#define INT32_MAX (2147483647) -#endif -#ifndef UINT8_MAX -#define UINT8_MAX (255U) -#endif -#ifndef UINT16_MAX -#define UINT16_MAX (65535U) -#endif -#ifndef UINT32_MAX -#define UINT32_MAX (4294967295U) -#endif - -#endif /* ! C99 */ - -#endif /* ! FLEXINT_H */ - -#ifdef __cplusplus - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -/* C99 requires __STDC__ to be defined as 1. */ -#if defined (__STDC__) - -#define YY_USE_CONST - -#endif /* defined (__STDC__) */ -#endif /* ! __cplusplus */ - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN (yy_start) = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START (((yy_start) - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart(yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#ifndef YY_BUF_SIZE -#define YY_BUF_SIZE 16384 -#endif - -/* The state buf must be large enough to hold one state per character in the main buffer. - */ -#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) - -#ifndef YY_TYPEDEF_YY_BUFFER_STATE -#define YY_TYPEDEF_YY_BUFFER_STATE -typedef struct yy_buffer_state *YY_BUFFER_STATE; -#endif - -#ifndef YY_TYPEDEF_YY_SIZE_T -#define YY_TYPEDEF_YY_SIZE_T -typedef size_t yy_size_t; -#endif - -extern yy_size_t yyleng; - -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - - #define YY_LESS_LINENO(n) - #define YY_LINENO_REWIND_TO(ptr) - -/* Return all but the first "n" matched characters back to the input stream. */ -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - int yyless_macro_arg = (n); \ - YY_LESS_LINENO(yyless_macro_arg);\ - *yy_cp = (yy_hold_char); \ - YY_RESTORE_YY_MORE_OFFSET \ - (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, (yytext_ptr) ) - -#ifndef YY_STRUCT_YY_BUFFER_STATE -#define YY_STRUCT_YY_BUFFER_STATE -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - yy_size_t yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - int yy_bs_lineno; /**< The line count. */ - int yy_bs_column; /**< The column count. */ - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; - -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - - }; -#endif /* !YY_STRUCT_YY_BUFFER_STATE */ - -/* Stack of input buffers. */ -static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ -static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ -static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - * - * Returns the top of the stack, or NULL. - */ -#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ - ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ - : NULL) - -/* Same as previous macro, but useful when we know that the buffer stack is not - * NULL or when we need an lvalue. For internal use only. - */ -#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; -static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ -yy_size_t yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 0; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart (FILE *input_file ); -void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); -YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); -void yy_delete_buffer (YY_BUFFER_STATE b ); -void yy_flush_buffer (YY_BUFFER_STATE b ); -void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); -void yypop_buffer_state (void ); - -static void yyensure_buffer_stack (void ); -static void yy_load_buffer_state (void ); -static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); - -#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) - -YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); -YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); -YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); - -void *yyalloc (yy_size_t ); -void *yyrealloc (void *,yy_size_t ); -void yyfree (void * ); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! YY_CURRENT_BUFFER ){ \ - yyensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ - yy_create_buffer(yyin,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! YY_CURRENT_BUFFER ){\ - yyensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ - yy_create_buffer(yyin,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) - -/* Begin user sect3 */ - -#define yywrap() (/*CONSTCOND*/1) -#define YY_SKIP_YYWRAP - -typedef unsigned char YY_CHAR; - -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; - -typedef int yy_state_type; - -extern int yylineno; - -int yylineno = 1; - -extern char *yytext; -#define yytext_ptr yytext - -static yy_state_type yy_get_previous_state (void ); -static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); -static int yy_get_next_buffer (void ); -#if defined(__GNUC__) && __GNUC__ >= 3 -__attribute__((__noreturn__)) -#endif -static void yy_fatal_error (yyconst char msg[] ); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - (yytext_ptr) = yy_bp; \ - yyleng = (size_t) (yy_cp - yy_bp); \ - (yy_hold_char) = *yy_cp; \ - *yy_cp = '\0'; \ - (yy_c_buf_p) = yy_cp; - -#define YY_NUM_RULES 77 -#define YY_END_OF_BUFFER 78 -/* This struct is not used in this scanner, - but its presence is necessary. */ -struct yy_trans_info - { - flex_int32_t yy_verify; - flex_int32_t yy_nxt; - }; -static yyconst flex_int16_t yy_accept[437] = - { 0, - 0, 0, 0, 0, 78, 76, 75, 72, 76, 74, - 76, 64, 68, 70, 76, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 73, 60, 59, 60, 60, 75, 71, - 0, 66, 0, 74, 51, 64, 64, 68, 0, 0, - 70, 52, 65, 65, 65, 2, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 34, 65, 37, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 0, - 0, 0, 67, 69, 1, 65, 65, 65, 65, 65, - - 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 0, 0, 0, 0, - 0, 65, 65, 65, 6, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 20, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 43, - 65, 65, 65, 47, 65, 65, 50, 0, 0, 0, - 0, 0, 65, 4, 5, 65, 65, 65, 65, 9, - - 65, 65, 65, 65, 65, 65, 19, 65, 65, 0, - 57, 0, 65, 65, 22, 23, 65, 65, 65, 65, - 65, 65, 27, 65, 65, 65, 31, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 0, - 0, 0, 0, 0, 3, 65, 65, 65, 8, 65, - 10, 12, 65, 65, 65, 17, 65, 65, 0, 0, - 58, 0, 65, 0, 65, 65, 24, 65, 65, 65, - 65, 65, 65, 35, 65, 65, 65, 39, 65, 44, - 45, 46, 48, 65, 0, 0, 0, 65, 65, 65, - 11, 65, 65, 65, 65, 65, 65, 0, 65, 0, - - 0, 65, 65, 26, 65, 65, 65, 65, 65, 65, - 38, 65, 65, 49, 0, 0, 65, 65, 65, 13, - 65, 16, 65, 0, 65, 65, 0, 53, 0, 0, - 0, 0, 25, 65, 65, 30, 65, 65, 36, 0, - 65, 65, 0, 65, 0, 65, 14, 65, 0, 0, - 65, 0, 0, 54, 0, 0, 0, 0, 0, 65, - 65, 65, 65, 0, 0, 0, 65, 65, 65, 0, - 0, 0, 65, 65, 65, 0, 55, 0, 0, 0, - 65, 0, 0, 0, 0, 0, 61, 0, 0, 65, - 65, 65, 33, 0, 0, 0, 0, 63, 0, 0, - - 65, 65, 40, 0, 0, 0, 0, 62, 0, 0, - 65, 65, 65, 0, 0, 56, 0, 0, 21, 0, - 28, 65, 32, 0, 65, 42, 0, 7, 15, 18, - 0, 65, 65, 29, 41, 0 - } ; - -static yyconst YY_CHAR yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 1, 4, 5, 1, 1, 1, 1, 1, - 1, 1, 6, 1, 7, 8, 8, 9, 10, 10, - 10, 10, 10, 10, 10, 11, 11, 12, 1, 1, - 13, 1, 1, 1, 14, 14, 14, 14, 14, 14, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 16, 15, 15, - 1, 17, 1, 1, 15, 1, 18, 19, 20, 21, - - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, - 32, 33, 15, 34, 35, 36, 37, 38, 39, 40, - 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst YY_CHAR yy_meta[44] = - { 0, - 1, 2, 3, 4, 5, 1, 6, 7, 8, 8, - 8, 1, 1, 9, 9, 9, 1, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 1 - } ; - -static yyconst flex_uint16_t yy_base[470] = - { 0, - 0, 0, 41, 42, 924, 1387, 920, 885, 42, 0, - 871, 0, 39, 42, 869, 49, 53, 58, 65, 63, - 67, 73, 85, 75, 96, 102, 104, 111, 118, 125, - 113, 120, 123, 1387, 1387, 1387, 47, 855, 859, 1387, - 90, 1387, 849, 0, 1387, 0, 0, 130, 830, 150, - 166, 1387, 0, 136, 145, 148, 155, 171, 173, 175, - 178, 181, 185, 187, 191, 194, 203, 209, 217, 219, - 221, 225, 227, 229, 235, 237, 242, 244, 251, 254, - 256, 258, 263, 265, 268, 274, 276, 278, 281, 51, - 807, 84, 1387, 0, 283, 285, 293, 289, 297, 299, - - 307, 313, 315, 317, 319, 321, 327, 325, 338, 346, - 348, 350, 354, 356, 358, 360, 366, 369, 373, 375, - 379, 385, 391, 389, 396, 402, 408, 410, 412, 416, - 418, 420, 427, 425, 429, 432, 795, 791, 782, 769, - 766, 436, 438, 444, 451, 455, 460, 462, 464, 466, - 468, 471, 473, 475, 483, 496, 505, 507, 512, 514, - 516, 518, 521, 524, 526, 528, 530, 532, 537, 540, - 543, 546, 552, 555, 557, 560, 564, 569, 576, 566, - 581, 583, 586, 591, 595, 597, 600, 169, 608, 750, - 734, 729, 607, 609, 611, 613, 617, 621, 623, 626, - - 629, 631, 635, 640, 645, 648, 650, 652, 657, 670, - 1387, 742, 674, 691, 676, 678, 685, 681, 687, 683, - 689, 691, 693, 695, 702, 705, 707, 709, 711, 713, - 717, 722, 724, 726, 730, 732, 734, 736, 742, 701, - 686, 750, 703, 657, 752, 754, 760, 764, 768, 770, - 772, 775, 777, 782, 785, 789, 791, 793, 668, 800, - 1387, 665, 625, 659, 802, 799, 804, 809, 815, 817, - 819, 822, 319, 824, 826, 828, 832, 834, 837, 839, - 841, 843, 850, 852, 631, 627, 638, 857, 859, 861, - 863, 865, 867, 869, 605, 878, 882, 623, 587, 889, - - 607, 891, 889, 893, 899, 901, 895, 568, 567, 904, - 906, 908, 184, 910, 553, 523, 912, 921, 503, 924, - 926, 929, 498, 509, 936, 473, 937, 1387, 502, 943, - 947, 490, 946, 948, 952, 954, 459, 467, 956, 577, - 455, 428, 453, 958, 761, 427, 960, 423, 967, 439, - 407, 411, 971, 1387, 402, 980, 203, 984, 988, 970, - 986, 369, 354, 236, 995, 1000, 331, 327, 998, 367, - 1008, 1012, 314, 1010, 298, 1019, 1387, 313, 1023, 1028, - 280, 305, 385, 1032, 299, 1037, 1387, 276, 1041, 1040, - 1042, 232, 0, 390, 1049, 243, 1053, 1387, 227, 1057, - - 188, 167, 1056, 483, 1063, 193, 1067, 1387, 164, 1074, - 140, 1073, 114, 138, 1080, 1387, 133, 1084, 0, 110, - 1083, 1085, 0, 85, 49, 0, 59, 0, 1087, 0, - 55, 1089, 32, 1091, 0, 1387, 1124, 1133, 1142, 1146, - 1149, 1153, 1157, 1166, 1175, 1183, 1191, 1199, 1207, 1216, - 1224, 1232, 1240, 1248, 1256, 1264, 1273, 1282, 1290, 1299, - 1307, 1316, 1324, 1333, 1341, 1350, 1359, 1368, 1377 - } ; - -static yyconst flex_int16_t yy_def[470] = - { 0, - 436, 1, 437, 437, 436, 436, 436, 436, 438, 439, - 436, 440, 441, 441, 436, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 436, 436, 436, 436, 436, 436, 436, - 438, 436, 438, 439, 436, 440, 440, 441, 441, 441, - 441, 436, 443, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 436, - 436, 436, 436, 50, 442, 442, 442, 442, 442, 442, - - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 436, 436, 436, 436, - 436, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 436, 436, 436, - 436, 436, 442, 442, 442, 442, 442, 442, 442, 442, - - 442, 442, 442, 442, 442, 442, 442, 442, 442, 436, - 436, 444, 442, 443, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 436, - 436, 436, 436, 436, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 444, 436, - 436, 445, 443, 446, 442, 442, 442, 442, 442, 442, - 442, 442, 443, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 436, 436, 436, 442, 442, 442, - 442, 442, 442, 442, 443, 442, 442, 445, 443, 447, - - 448, 442, 442, 442, 442, 442, 442, 443, 443, 442, - 442, 442, 443, 442, 436, 436, 442, 442, 443, 442, - 442, 442, 443, 449, 442, 443, 436, 436, 450, 447, - 451, 452, 442, 442, 442, 442, 443, 443, 442, 453, - 443, 443, 436, 442, 454, 443, 442, 443, 455, 456, - 443, 450, 436, 436, 457, 451, 458, 459, 452, 442, - 442, 443, 443, 460, 461, 453, 443, 443, 442, 462, - 463, 454, 443, 442, 443, 436, 436, 464, 455, 465, - 443, 457, 458, 436, 458, 436, 436, 466, 459, 442, - 442, 443, 443, 460, 436, 460, 436, 436, 467, 461, - - 443, 443, 442, 462, 436, 462, 436, 436, 468, 463, - 443, 442, 443, 464, 436, 436, 469, 465, 443, 466, - 442, 442, 443, 467, 443, 443, 468, 443, 442, 443, - 469, 442, 443, 442, 443, 0, 436, 436, 436, 436, - 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, - 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, - 436, 436, 436, 436, 436, 436, 436, 436, 436 - } ; - -static yyconst flex_uint16_t yy_nxt[1431] = - { 0, - 6, 7, 8, 9, 10, 11, 6, 12, 13, 14, - 14, 15, 6, 16, 16, 16, 6, 17, 18, 19, - 20, 21, 22, 16, 16, 23, 16, 16, 24, 25, - 26, 27, 28, 29, 30, 31, 16, 32, 33, 16, - 16, 16, 34, 36, 36, 42, 47, 48, 48, 47, - 51, 51, 51, 435, 50, 53, 47, 416, 43, 53, - 47, 408, 37, 37, 53, 47, 38, 38, 433, 53, - 47, 53, 47, 53, 47, 90, 137, 91, 50, 53, - 47, 53, 47, 55, 62, 138, 57, 398, 56, 59, - 60, 53, 47, 93, 58, 64, 61, 65, 66, 63, - - 72, 67, 53, 47, 140, 68, 43, 69, 53, 47, - 53, 47, 387, 73, 141, 70, 71, 53, 47, 53, - 47, 74, 77, 75, 53, 47, 53, 47, 80, 53, - 47, 53, 47, 76, 78, 416, 79, 47, 48, 48, - 377, 88, 53, 47, 81, 82, 84, 430, 89, 83, - 85, 53, 47, 87, 53, 47, 86, 47, 94, 94, - 94, 53, 47, 94, 428, 95, 408, 94, 94, 94, - 94, 94, 94, 47, 51, 51, 51, 53, 47, 53, - 47, 53, 47, 96, 53, 47, 97, 53, 47, 240, - 99, 53, 47, 53, 47, 436, 98, 53, 47, 241, - - 53, 47, 426, 103, 341, 100, 384, 101, 102, 53, - 47, 108, 106, 425, 105, 53, 47, 342, 104, 385, - 110, 107, 109, 53, 47, 53, 47, 53, 47, 398, - 111, 53, 47, 53, 47, 53, 47, 112, 114, 395, - 115, 53, 47, 53, 47, 436, 117, 113, 53, 47, - 53, 47, 396, 118, 119, 116, 122, 53, 47, 121, - 53, 47, 53, 47, 53, 47, 120, 423, 123, 53, - 47, 53, 47, 126, 53, 47, 124, 127, 387, 128, - 53, 47, 53, 47, 53, 47, 125, 53, 47, 53, - 47, 53, 47, 130, 129, 53, 47, 134, 131, 53, - - 47, 436, 142, 53, 47, 53, 47, 354, 133, 419, - 132, 135, 143, 53, 47, 377, 136, 144, 146, 53, - 47, 53, 47, 53, 47, 53, 47, 53, 47, 413, - 145, 53, 47, 53, 47, 148, 153, 149, 308, 147, - 150, 309, 154, 156, 53, 47, 151, 152, 157, 411, - 158, 155, 53, 47, 53, 47, 53, 47, 402, 159, - 53, 47, 53, 47, 53, 47, 53, 47, 401, 160, - 405, 162, 53, 47, 163, 53, 47, 393, 161, 53, - 47, 53, 47, 406, 164, 53, 47, 166, 384, 165, - 167, 53, 47, 395, 169, 53, 47, 53, 47, 392, - - 168, 385, 53, 47, 354, 173, 396, 170, 53, 47, - 172, 171, 174, 328, 53, 47, 53, 47, 53, 47, - 175, 176, 53, 47, 53, 47, 53, 47, 381, 177, - 178, 53, 47, 53, 47, 53, 47, 181, 53, 47, - 350, 182, 53, 47, 53, 47, 179, 180, 184, 375, - 53, 47, 373, 183, 350, 193, 187, 53, 47, 368, - 185, 53, 47, 186, 195, 194, 53, 47, 53, 47, - 53, 47, 53, 47, 53, 47, 367, 53, 47, 53, - 47, 53, 47, 196, 363, 197, 405, 198, 203, 53, - 47, 332, 199, 357, 206, 362, 201, 358, 200, 406, - - 202, 205, 53, 47, 328, 204, 210, 211, 351, 212, - 324, 53, 47, 53, 47, 348, 208, 207, 214, 47, - 53, 47, 53, 47, 53, 47, 209, 53, 47, 213, - 53, 47, 53, 47, 53, 47, 53, 47, 53, 47, - 217, 346, 218, 53, 47, 343, 53, 47, 215, 53, - 47, 216, 53, 47, 324, 222, 220, 225, 53, 47, - 219, 53, 47, 53, 47, 223, 53, 47, 224, 221, - 53, 47, 53, 47, 229, 53, 47, 226, 340, 227, - 364, 232, 53, 47, 365, 230, 228, 53, 47, 53, - 47, 231, 53, 47, 233, 338, 234, 53, 47, 337, - - 235, 53, 47, 53, 47, 237, 53, 47, 301, 210, - 211, 236, 212, 53, 47, 53, 47, 53, 47, 53, - 47, 326, 239, 53, 47, 261, 238, 53, 47, 53, - 47, 245, 53, 47, 323, 53, 47, 53, 47, 301, - 250, 53, 47, 246, 249, 248, 53, 47, 316, 247, - 251, 53, 47, 315, 53, 47, 53, 47, 53, 47, - 264, 254, 255, 53, 47, 299, 252, 261, 253, 256, - 211, 210, 211, 257, 212, 260, 261, 258, 262, 287, - 53, 47, 53, 47, 53, 47, 264, 53, 47, 53, - 47, 53, 47, 53, 47, 53, 47, 53, 47, 53, - - 47, 53, 47, 265, 264, 267, 286, 266, 53, 47, - 268, 53, 47, 53, 47, 273, 47, 53, 47, 53, - 47, 269, 285, 53, 47, 263, 272, 270, 53, 47, - 53, 47, 53, 47, 275, 271, 53, 47, 53, 47, - 53, 47, 53, 47, 211, 277, 274, 276, 53, 47, - 244, 260, 261, 281, 262, 282, 243, 279, 53, 47, - 53, 47, 345, 278, 370, 280, 53, 47, 371, 283, - 53, 47, 242, 284, 53, 47, 53, 47, 53, 47, - 289, 53, 47, 53, 47, 290, 192, 288, 53, 47, - 191, 53, 47, 291, 292, 295, 47, 53, 47, 53, - - 47, 260, 261, 301, 262, 53, 47, 190, 53, 47, - 53, 47, 189, 296, 297, 53, 47, 188, 293, 294, - 302, 53, 47, 53, 47, 53, 47, 139, 53, 47, - 53, 47, 53, 47, 53, 47, 304, 47, 53, 47, - 53, 47, 303, 313, 47, 53, 47, 53, 47, 53, - 47, 436, 305, 312, 306, 307, 53, 47, 53, 47, - 39, 310, 311, 53, 47, 53, 47, 319, 47, 53, - 47, 53, 47, 53, 47, 53, 47, 92, 317, 324, - 318, 52, 314, 45, 53, 47, 40, 321, 53, 47, - 327, 328, 332, 329, 320, 53, 47, 53, 47, 53, - - 47, 53, 47, 322, 325, 53, 47, 53, 47, 340, - 53, 47, 53, 47, 53, 47, 53, 47, 53, 47, - 333, 39, 345, 436, 334, 339, 335, 53, 47, 336, - 53, 47, 53, 47, 344, 53, 47, 350, 327, 328, - 436, 329, 53, 47, 327, 328, 436, 329, 353, 354, - 436, 355, 53, 47, 53, 47, 436, 347, 53, 47, - 53, 47, 53, 47, 53, 47, 53, 47, 376, 377, - 436, 378, 353, 354, 436, 355, 53, 47, 436, 360, - 374, 353, 354, 369, 355, 386, 387, 361, 388, 436, - 436, 436, 53, 47, 436, 358, 397, 398, 436, 399, - - 390, 436, 436, 436, 53, 47, 436, 365, 436, 407, - 408, 391, 409, 436, 436, 436, 53, 47, 436, 371, - 376, 377, 436, 378, 376, 377, 436, 378, 436, 415, - 416, 412, 417, 386, 387, 436, 388, 403, 386, 387, - 436, 388, 386, 387, 436, 388, 53, 47, 53, 47, - 397, 398, 436, 399, 397, 398, 436, 399, 397, 398, - 436, 399, 53, 47, 407, 408, 436, 409, 407, 408, - 436, 409, 436, 422, 421, 407, 408, 436, 409, 53, - 47, 415, 416, 436, 417, 415, 416, 436, 417, 53, - 47, 53, 47, 53, 47, 53, 47, 53, 47, 436, - - 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, - 429, 436, 436, 436, 436, 432, 436, 436, 436, 436, - 436, 436, 436, 434, 35, 35, 35, 35, 35, 35, - 35, 35, 35, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 44, 44, 436, 44, 44, 44, 44, 44, - 44, 46, 46, 46, 46, 49, 49, 49, 54, 54, - 54, 54, 53, 436, 53, 53, 259, 259, 259, 259, - 259, 259, 259, 259, 259, 298, 298, 298, 298, 298, - 298, 298, 298, 298, 300, 436, 436, 436, 436, 436, - 436, 300, 330, 330, 436, 330, 330, 436, 330, 330, - - 331, 436, 436, 436, 436, 436, 436, 331, 349, 436, - 436, 436, 436, 436, 436, 349, 352, 352, 352, 352, - 352, 352, 352, 352, 352, 356, 356, 436, 356, 356, - 436, 356, 356, 359, 436, 359, 436, 436, 359, 359, - 359, 366, 436, 366, 436, 436, 366, 366, 366, 372, - 436, 372, 436, 436, 372, 372, 372, 379, 379, 436, - 379, 379, 436, 379, 379, 380, 436, 436, 436, 436, - 436, 436, 380, 382, 382, 382, 382, 382, 382, 382, - 382, 382, 383, 383, 383, 383, 383, 383, 383, 383, - 383, 389, 389, 436, 389, 389, 389, 389, 389, 394, - - 394, 394, 394, 394, 394, 394, 394, 394, 400, 400, - 436, 400, 400, 400, 400, 400, 404, 404, 404, 404, - 404, 404, 404, 404, 404, 410, 410, 436, 410, 410, - 410, 410, 410, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 418, 418, 436, 418, 418, 436, 418, 418, - 420, 420, 420, 420, 420, 420, 420, 420, 420, 424, - 424, 424, 424, 424, 424, 424, 424, 424, 427, 427, - 427, 427, 427, 427, 427, 427, 427, 431, 431, 431, - 431, 431, 431, 431, 431, 431, 5, 436, 436, 436, - 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, - - 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, - 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, - 436, 436, 436, 436, 436, 436, 436, 436, 436, 436 - } ; - -static yyconst flex_int16_t yy_chk[1431] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 3, 4, 9, 13, 13, 13, 14, - 14, 14, 14, 433, 13, 16, 16, 431, 9, 17, - 17, 427, 3, 4, 18, 18, 3, 4, 425, 20, - 20, 19, 19, 21, 21, 37, 90, 37, 13, 22, - 22, 24, 24, 17, 20, 90, 18, 424, 17, 19, - 19, 23, 23, 41, 18, 21, 19, 21, 22, 20, - - 24, 22, 25, 25, 92, 23, 41, 23, 26, 26, - 27, 27, 420, 25, 92, 23, 23, 28, 28, 31, - 31, 25, 27, 26, 29, 29, 32, 32, 28, 33, - 33, 30, 30, 26, 27, 417, 27, 48, 48, 48, - 414, 32, 54, 54, 28, 28, 30, 413, 33, 29, - 30, 55, 55, 31, 56, 56, 30, 50, 50, 50, - 50, 57, 57, 50, 411, 55, 409, 50, 50, 50, - 50, 50, 50, 51, 51, 51, 51, 58, 58, 59, - 59, 60, 60, 56, 61, 61, 57, 62, 62, 188, - 59, 63, 63, 64, 64, 406, 58, 65, 65, 188, - - 66, 66, 402, 62, 313, 60, 357, 61, 61, 67, - 67, 65, 64, 401, 63, 68, 68, 313, 62, 357, - 67, 64, 66, 69, 69, 70, 70, 71, 71, 399, - 68, 72, 72, 73, 73, 74, 74, 69, 70, 364, - 71, 75, 75, 76, 76, 396, 73, 69, 77, 77, - 78, 78, 364, 73, 73, 72, 75, 79, 79, 74, - 80, 80, 81, 81, 82, 82, 73, 392, 77, 83, - 83, 84, 84, 80, 85, 85, 77, 81, 388, 82, - 86, 86, 87, 87, 88, 88, 79, 89, 89, 95, - 95, 96, 96, 84, 83, 98, 98, 88, 85, 97, - - 97, 385, 96, 99, 99, 100, 100, 382, 87, 381, - 86, 88, 97, 101, 101, 378, 89, 98, 100, 102, - 102, 103, 103, 104, 104, 105, 105, 106, 106, 375, - 99, 108, 108, 107, 107, 102, 104, 103, 273, 101, - 103, 273, 104, 106, 109, 109, 103, 103, 107, 373, - 108, 105, 110, 110, 111, 111, 112, 112, 368, 109, - 113, 113, 114, 114, 115, 115, 116, 116, 367, 110, - 370, 112, 117, 117, 113, 118, 118, 363, 111, 119, - 119, 120, 120, 370, 114, 121, 121, 116, 383, 115, - 117, 122, 122, 394, 119, 124, 124, 123, 123, 362, - - 118, 383, 125, 125, 355, 122, 394, 120, 126, 126, - 121, 120, 123, 352, 127, 127, 128, 128, 129, 129, - 124, 125, 130, 130, 131, 131, 132, 132, 351, 126, - 127, 134, 134, 133, 133, 135, 135, 130, 136, 136, - 350, 131, 142, 142, 143, 143, 128, 129, 133, 348, - 144, 144, 346, 132, 343, 142, 136, 145, 145, 342, - 134, 146, 146, 135, 144, 143, 147, 147, 148, 148, - 149, 149, 150, 150, 151, 151, 341, 152, 152, 153, - 153, 154, 154, 146, 338, 147, 404, 148, 152, 155, - 155, 332, 149, 332, 154, 337, 150, 332, 149, 404, - - 151, 153, 156, 156, 329, 152, 157, 157, 326, 157, - 324, 157, 157, 158, 158, 323, 156, 155, 159, 159, - 160, 160, 161, 161, 162, 162, 156, 163, 163, 158, - 164, 164, 165, 165, 166, 166, 167, 167, 168, 168, - 162, 319, 163, 169, 169, 316, 170, 170, 160, 171, - 171, 161, 172, 172, 315, 167, 165, 170, 173, 173, - 164, 174, 174, 175, 175, 168, 176, 176, 169, 166, - 177, 177, 180, 180, 174, 178, 178, 171, 340, 172, - 340, 177, 179, 179, 340, 175, 173, 181, 181, 182, - 182, 176, 183, 183, 178, 309, 179, 184, 184, 308, - - 181, 185, 185, 186, 186, 183, 187, 187, 301, 189, - 189, 182, 189, 193, 193, 194, 194, 195, 195, 196, - 196, 299, 186, 197, 197, 298, 185, 198, 198, 199, - 199, 193, 200, 200, 295, 201, 201, 202, 202, 287, - 199, 203, 203, 195, 198, 197, 204, 204, 286, 196, - 201, 205, 205, 285, 206, 206, 207, 207, 208, 208, - 264, 204, 205, 209, 209, 263, 202, 262, 203, 206, - 259, 210, 210, 208, 210, 213, 213, 209, 213, 244, - 213, 213, 215, 215, 216, 216, 217, 218, 218, 220, - 220, 217, 217, 219, 219, 221, 221, 222, 222, 223, - - 223, 224, 224, 218, 243, 220, 241, 219, 225, 225, - 221, 226, 226, 227, 227, 228, 228, 229, 229, 230, - 230, 222, 240, 231, 231, 214, 226, 224, 232, 232, - 233, 233, 234, 234, 230, 225, 235, 235, 236, 236, - 237, 237, 238, 238, 212, 232, 229, 231, 239, 239, - 192, 242, 242, 236, 242, 237, 191, 234, 245, 245, - 246, 246, 345, 233, 345, 235, 247, 247, 345, 238, - 248, 248, 190, 239, 249, 249, 250, 250, 251, 251, - 247, 252, 252, 253, 253, 248, 141, 246, 254, 254, - 140, 255, 255, 250, 253, 256, 256, 257, 257, 258, - - 258, 260, 260, 265, 260, 266, 266, 139, 265, 265, - 267, 267, 138, 257, 258, 268, 268, 137, 254, 255, - 266, 269, 269, 270, 270, 271, 271, 91, 272, 272, - 274, 274, 275, 275, 276, 276, 269, 49, 277, 277, - 278, 278, 268, 279, 279, 280, 280, 281, 281, 282, - 282, 43, 270, 277, 271, 272, 283, 283, 284, 284, - 39, 275, 276, 288, 288, 289, 289, 290, 290, 291, - 291, 292, 292, 293, 293, 294, 294, 38, 288, 296, - 289, 15, 284, 11, 296, 296, 8, 293, 297, 297, - 300, 300, 302, 300, 292, 303, 303, 302, 302, 304, - - 304, 307, 307, 294, 297, 305, 305, 306, 306, 312, - 310, 310, 311, 311, 312, 312, 314, 314, 317, 317, - 303, 7, 318, 5, 305, 310, 306, 318, 318, 307, - 320, 320, 321, 321, 317, 322, 322, 325, 327, 327, - 0, 327, 325, 325, 330, 330, 0, 330, 331, 331, - 0, 331, 333, 333, 334, 334, 0, 321, 335, 335, - 336, 336, 339, 339, 344, 344, 347, 347, 349, 349, - 0, 349, 353, 353, 0, 353, 360, 360, 0, 334, - 347, 356, 356, 344, 356, 358, 358, 335, 358, 359, - 0, 359, 361, 361, 0, 359, 365, 365, 0, 365, - - 360, 366, 0, 366, 369, 369, 0, 366, 0, 371, - 371, 361, 371, 372, 0, 372, 374, 374, 0, 372, - 376, 376, 0, 376, 379, 379, 0, 379, 0, 380, - 380, 374, 380, 384, 384, 0, 384, 369, 386, 386, - 0, 386, 389, 389, 0, 389, 390, 390, 391, 391, - 395, 395, 0, 395, 397, 397, 0, 397, 400, 400, - 0, 400, 403, 403, 405, 405, 0, 405, 407, 407, - 0, 407, 0, 391, 390, 410, 410, 0, 410, 412, - 412, 415, 415, 0, 415, 418, 418, 0, 418, 421, - 421, 422, 422, 429, 429, 432, 432, 434, 434, 0, - - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 412, 0, 0, 0, 0, 422, 0, 0, 0, 0, - 0, 0, 0, 432, 437, 437, 437, 437, 437, 437, - 437, 437, 437, 438, 438, 438, 438, 438, 438, 438, - 438, 438, 439, 439, 0, 439, 439, 439, 439, 439, - 439, 440, 440, 440, 440, 441, 441, 441, 442, 442, - 442, 442, 443, 0, 443, 443, 444, 444, 444, 444, - 444, 444, 444, 444, 444, 445, 445, 445, 445, 445, - 445, 445, 445, 445, 446, 0, 0, 0, 0, 0, - 0, 446, 447, 447, 0, 447, 447, 0, 447, 447, - - 448, 0, 0, 0, 0, 0, 0, 448, 449, 0, - 0, 0, 0, 0, 0, 449, 450, 450, 450, 450, - 450, 450, 450, 450, 450, 451, 451, 0, 451, 451, - 0, 451, 451, 452, 0, 452, 0, 0, 452, 452, - 452, 453, 0, 453, 0, 0, 453, 453, 453, 454, - 0, 454, 0, 0, 454, 454, 454, 455, 455, 0, - 455, 455, 0, 455, 455, 456, 0, 0, 0, 0, - 0, 0, 456, 457, 457, 457, 457, 457, 457, 457, - 457, 457, 458, 458, 458, 458, 458, 458, 458, 458, - 458, 459, 459, 0, 459, 459, 459, 459, 459, 460, - - 460, 460, 460, 460, 460, 460, 460, 460, 461, 461, - 0, 461, 461, 461, 461, 461, 462, 462, 462, 462, - 462, 462, 462, 462, 462, 463, 463, 0, 463, 463, - 463, 463, 463, 464, 464, 464, 464, 464, 464, 464, - 464, 464, 465, 465, 0, 465, 465, 0, 465, 465, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 468, 468, - 468, 468, 468, 468, 468, 468, 468, 469, 469, 469, - 469, 469, 469, 469, 469, 469, 436, 436, 436, 436, - 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, - - 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, - 436, 436, 436, 436, 436, 436, 436, 436, 436, 436, - 436, 436, 436, 436, 436, 436, 436, 436, 436, 436 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -extern int yy_flex_debug; -int yy_flex_debug = 0; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -#define YY_RESTORE_YY_MORE_OFFSET -char *yytext; -#line 1 "scan.l" -#line 2 "scan.l" -/* $NetBSD: scan.l,v 1.25 2015/09/04 10:16:35 uebayasi Exp $ */ - -/* - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * - * This software was developed by the Computer Systems Engineering group - * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and - * contributed to Berkeley. - * - * All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Lawrence Berkeley Laboratories. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * from: @(#)scan.l 8.1 (Berkeley) 6/6/93 - */ - -#include -__RCSID("$NetBSD: scan.l,v 1.25 2015/09/04 10:16:35 uebayasi Exp $"); - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#undef ECHO -#include "defs.h" -#include "gram.h" - -int yyline; -const char *yyfile; -const char *lastfile; -char curinclpath[PATH_MAX]; -int ifdefstate = -1; -int st; -#define IDS_PARENT_DISABLED \ - ((ifdefstate > 6) && ((((ifdefstate/6)-1) & 1) == 1)) -#define IDS_MAX_DEPTH 362797056 /* 6^11 */ -/* States for ifdefstate: - - 0 -> matched ifdef - 1 -> unmatched ifdef - 2 -> matched elifdef - 3 -> unmatched elifdef - 4 -> matched else - 5 -> unmatched else - - Upon "ifdef", add one and multiply by 6. - Upon "endif", divide by 6, remove 1. - - ifdef -> MATCH => continue - MISMATCH => set to 1 - elifdef -> if (!1) -> MISMATCH - MATCH => set to 2 - MISMATCH => if (2 || 3) set to 3, else set to 1 - else -> if (1) -> MATCH - MATCH => set to 4 - MISMATCH => set to 5 - - in each case, if parent & 1 == 1, MISMATCH -*/ - -/* - * Data for returning to previous files from include files. - */ -struct incl { - struct incl *in_prev; /* previous includes in effect, if any */ - YY_BUFFER_STATE in_buf; /* previous lex state */ - const char *in_fname; /* previous file name */ - int in_lineno; /* previous line number */ - int in_ateof; /* token to insert at EOF */ - int in_interesting; /* previous value for "interesting" */ - int in_ifdefstate; /* conditional level */ -}; -static struct incl *incl; -static int endinclude(void); -static int getincludepath(void); -static int getcurifdef(void); - - -#define YY_NO_INPUT 1 - -#line 1039 "scan.c" - -#define INITIAL 0 -#define IGNORED 1 - -#ifndef YY_NO_UNISTD_H -/* Special case for "unistd.h", since it is non-ANSI. We include it way - * down here because we want the user's section 1 to have been scanned first. - * The user has a chance to override it with an option. - */ -#include -#endif - -#ifndef YY_EXTRA_TYPE -#define YY_EXTRA_TYPE void * -#endif - -static int yy_init_globals (void ); - -/* Accessor methods to globals. - These are made visible to non-reentrant scanners for convenience. */ - -int yylex_destroy (void ); - -int yyget_debug (void ); - -void yyset_debug (int debug_flag ); - -YY_EXTRA_TYPE yyget_extra (void ); - -void yyset_extra (YY_EXTRA_TYPE user_defined ); - -FILE *yyget_in (void ); - -void yyset_in (FILE * _in_str ); - -FILE *yyget_out (void ); - -void yyset_out (FILE * _out_str ); - -yy_size_t yyget_leng (void ); - -char *yyget_text (void ); - -int yyget_lineno (void ); - -void yyset_lineno (int _line_number ); - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap (void ); -#else -extern int yywrap (void ); -#endif -#endif - -#ifndef YY_NO_UNPUT - -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy (char *,yyconst char *,int ); -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * ); -#endif - -#ifndef YY_NO_INPUT - -#ifdef __cplusplus -static int yyinput (void ); -#else -static int input (void ); -#endif - -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ - { \ - int c = '*'; \ - size_t n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else \ - { \ - errno=0; \ - while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ - { \ - if( errno != EINTR) \ - { \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - break; \ - } \ - errno=0; \ - clearerr(yyin); \ - } \ - }\ -\ - -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* end tables serialization structures and prototypes */ - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL_IS_OURS 1 - -extern int yylex (void); - -#define YY_DECL int yylex (void) -#endif /* !YY_DECL */ - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK /*LINTED*/break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -/** The main scanner function which does all the work. - */ -YY_DECL -{ - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - - if ( !(yy_init) ) - { - (yy_init) = 1; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! (yy_start) ) - (yy_start) = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! YY_CURRENT_BUFFER ) { - yyensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer(yyin,YY_BUF_SIZE ); - } - - yy_load_buffer_state( ); - } - - { -#line 124 "scan.l" - - /* Local variables for yylex() */ - int tok; - -#line 1256 "scan.c" - - while (/*CONSTCOND*/ 1 ) /* loops until end-of-file is reached */ - { - yy_cp = (yy_c_buf_p); - - /* Support of yytext. */ - *yy_cp = (yy_hold_char); - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = (yy_start); -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 437 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 1387 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - -do_action: /* This label is used only to access EOF actions. */ - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = (yy_hold_char); - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 128 "scan.l" -return AND; - YY_BREAK -case 2: -YY_RULE_SETUP -#line 129 "scan.l" -return AT; - YY_BREAK -case 3: -YY_RULE_SETUP -#line 130 "scan.l" -return ATTACH; - YY_BREAK -case 4: -YY_RULE_SETUP -#line 131 "scan.l" -return BLOCK; - YY_BREAK -case 5: -YY_RULE_SETUP -#line 132 "scan.l" -return BUILD; - YY_BREAK -case 6: -YY_RULE_SETUP -#line 133 "scan.l" -return CHAR; - YY_BREAK -case 7: -YY_RULE_SETUP -#line 134 "scan.l" -return COMPILE_WITH; - YY_BREAK -case 8: -YY_RULE_SETUP -#line 135 "scan.l" -return CONFIG; - YY_BREAK -case 9: -YY_RULE_SETUP -#line 136 "scan.l" -return DEFFS; - YY_BREAK -case 10: -YY_RULE_SETUP -#line 137 "scan.l" -return DEFINE; - YY_BREAK -case 11: -YY_RULE_SETUP -#line 138 "scan.l" -return DEFFLAG; - YY_BREAK -case 12: -YY_RULE_SETUP -#line 139 "scan.l" -return DEFOPT; - YY_BREAK -case 13: -YY_RULE_SETUP -#line 140 "scan.l" -return DEFPARAM; - YY_BREAK -case 14: -YY_RULE_SETUP -#line 141 "scan.l" -return DEFPSEUDO; - YY_BREAK -case 15: -YY_RULE_SETUP -#line 142 "scan.l" -return DEFPSEUDODEV; - YY_BREAK -case 16: -YY_RULE_SETUP -#line 143 "scan.l" -return DEVCLASS; - YY_BREAK -case 17: -YY_RULE_SETUP -#line 144 "scan.l" -return DEVICE; - YY_BREAK -case 18: -YY_RULE_SETUP -#line 145 "scan.l" -return DEVICE_MAJOR; - YY_BREAK -case 19: -YY_RULE_SETUP -#line 146 "scan.l" -return DUMPS; - YY_BREAK -case 20: -YY_RULE_SETUP -#line 147 "scan.l" -return XFILE; - YY_BREAK -case 21: -YY_RULE_SETUP -#line 148 "scan.l" -return FILE_SYSTEM; - YY_BREAK -case 22: -YY_RULE_SETUP -#line 149 "scan.l" -return FLAGS; - YY_BREAK -case 23: -YY_RULE_SETUP -#line 150 "scan.l" -return IDENT; - YY_BREAK -case 24: -YY_RULE_SETUP -#line 151 "scan.l" -return IOCONF; - YY_BREAK -case 25: -YY_RULE_SETUP -#line 152 "scan.l" -return LINKZERO; - YY_BREAK -case 26: -YY_RULE_SETUP -#line 153 "scan.l" -return XMACHINE; - YY_BREAK -case 27: -YY_RULE_SETUP -#line 154 "scan.l" -return MAJOR; - YY_BREAK -case 28: -YY_RULE_SETUP -#line 155 "scan.l" -return MAKEOPTIONS; - YY_BREAK -case 29: -YY_RULE_SETUP -#line 156 "scan.l" -return MAXPARTITIONS; - YY_BREAK -case 30: -YY_RULE_SETUP -#line 157 "scan.l" -return MAXUSERS; - YY_BREAK -case 31: -YY_RULE_SETUP -#line 158 "scan.l" -return MINOR; - YY_BREAK -case 32: -YY_RULE_SETUP -#line 159 "scan.l" -return NEEDS_COUNT; - YY_BREAK -case 33: -YY_RULE_SETUP -#line 160 "scan.l" -return NEEDS_FLAG; - YY_BREAK -case 34: -YY_RULE_SETUP -#line 161 "scan.l" -return NO; - YY_BREAK -case 35: -YY_RULE_SETUP -#line 162 "scan.l" -return XOBJECT; - YY_BREAK -case 36: -YY_RULE_SETUP -#line 163 "scan.l" -return OBSOLETE; - YY_BREAK -case 37: -YY_RULE_SETUP -#line 164 "scan.l" -return ON; - YY_BREAK -case 38: -YY_RULE_SETUP -#line 165 "scan.l" -return OPTIONS; - YY_BREAK -case 39: -YY_RULE_SETUP -#line 166 "scan.l" -return PREFIX; - YY_BREAK -case 40: -YY_RULE_SETUP -#line 167 "scan.l" -return BUILDPREFIX; - YY_BREAK -case 41: -YY_RULE_SETUP -#line 168 "scan.l" -return PSEUDO_DEVICE; - YY_BREAK -case 42: -YY_RULE_SETUP -#line 169 "scan.l" -return PSEUDO_ROOT; - YY_BREAK -case 43: -YY_RULE_SETUP -#line 170 "scan.l" -return ROOT; - YY_BREAK -case 44: -YY_RULE_SETUP -#line 171 "scan.l" -return SELECT; - YY_BREAK -case 45: -YY_RULE_SETUP -#line 172 "scan.l" -return SINGLE; - YY_BREAK -case 46: -YY_RULE_SETUP -#line 173 "scan.l" -return SOURCE; - YY_BREAK -case 47: -YY_RULE_SETUP -#line 174 "scan.l" -return TYPE; - YY_BREAK -case 48: -YY_RULE_SETUP -#line 175 "scan.l" -return VECTOR; - YY_BREAK -case 49: -YY_RULE_SETUP -#line 176 "scan.l" -return VERSION; - YY_BREAK -case 50: -YY_RULE_SETUP -#line 177 "scan.l" -return WITH; - YY_BREAK -case 51: -YY_RULE_SETUP -#line 179 "scan.l" -return PLUSEQ; - YY_BREAK -case 52: -YY_RULE_SETUP -#line 180 "scan.l" -return COLONEQ; - YY_BREAK -case 53: -/* rule 53 can match eol */ -YY_RULE_SETUP -#line 182 "scan.l" -{ - ifdefstate = (ifdefstate + 1) * 6; - if (ifdefstate >= IDS_MAX_DEPTH) { - yyerror("too many levels of conditional"); - } - if (!IDS_PARENT_DISABLED && getcurifdef()) { - BEGIN(INITIAL); - } else { - ifdefstate++; - BEGIN(IGNORED); - } - yyline++; - } - YY_BREAK -case 54: -/* rule 54 can match eol */ -YY_RULE_SETUP -#line 196 "scan.l" -{ - ifdefstate = (ifdefstate + 1) * 6; - if (ifdefstate >= IDS_MAX_DEPTH) { - yyerror("too many levels of conditional"); - } - if (!IDS_PARENT_DISABLED && !getcurifdef()) { - BEGIN(INITIAL); - } else { - ifdefstate++; - BEGIN(IGNORED); - } - yyline++; - } - YY_BREAK -case 55: -/* rule 55 can match eol */ -YY_RULE_SETUP -#line 211 "scan.l" -{ - st = ifdefstate % 6; - if (ifdefstate < 0 || st > 3) { - yyerror("mismatched elifdef"); - } - if (IDS_PARENT_DISABLED || - st != 1 || !getcurifdef()) { - if (st == 2 || st == 3) { - ifdefstate += 3 - st; - } else { - ifdefstate += 1 - st; - } - BEGIN(IGNORED); - } else { - ifdefstate++; - BEGIN(INITIAL); - } - yyline++; - } - YY_BREAK -case 56: -/* rule 56 can match eol */ -YY_RULE_SETUP -#line 231 "scan.l" -{ - st = ifdefstate % 6; - if (ifdefstate < 0 || st > 3) { - yyerror("mismatched elifndef"); - } - if (IDS_PARENT_DISABLED || - st != 1 || getcurifdef()) { - if (st == 2 || st == 3) { - ifdefstate += 3 - st; - } else { - ifdefstate += 1 - st; - } - BEGIN(IGNORED); - } else { - ifdefstate++; - BEGIN(INITIAL); - } - yyline++; - } - YY_BREAK -case 57: -/* rule 57 can match eol */ -YY_RULE_SETUP -#line 251 "scan.l" -{ - st = ifdefstate % 6; - if (ifdefstate < 0 || st > 3) { - yyerror("mismatched else"); - } - if (!IDS_PARENT_DISABLED && (st == 1)) { - ifdefstate += 3; - BEGIN(INITIAL); - } else { - ifdefstate += 5 - st; - BEGIN(IGNORED); - } - yyline++; - } - YY_BREAK -case 58: -/* rule 58 can match eol */ -YY_RULE_SETUP -#line 266 "scan.l" -{ - if (ifdefstate < 0) { - yyerror("mismatched endif"); - } - if (!IDS_PARENT_DISABLED) { - BEGIN(INITIAL); - } - ifdefstate = (ifdefstate/6) - 1; - yyline++; - } - YY_BREAK -case 59: -/* rule 59 can match eol */ -YY_RULE_SETUP -#line 277 "scan.l" -{ - yyline++; - } - YY_BREAK -case 60: -YY_RULE_SETUP -#line 281 "scan.l" -/* ignore */ - YY_BREAK -case 61: -/* rule 61 can match eol */ -YY_RULE_SETUP -#line 283 "scan.l" -{ - yyline++; - if (getincludepath()) { - include(curinclpath, 0, 0, 1); - } else { - yyerror("bad include path-name"); - } - } - YY_BREAK -case 62: -/* rule 62 can match eol */ -YY_RULE_SETUP -#line 292 "scan.l" -{ - yyline++; - if (getincludepath()) { - include(curinclpath, 0, 1, 1); - } else { - yyerror("bad cinclude path-name"); - } - } - YY_BREAK -case 63: -/* rule 63 can match eol */ -YY_RULE_SETUP -#line 301 "scan.l" -{ - yyline++; - if (!oktopackage) { - yyerror("package not allowed here"); - } else if (getincludepath()) { - package(curinclpath); - } else { - yyerror("bad package path-name"); - } - } - YY_BREAK -case 64: -YY_RULE_SETUP -#line 312 "scan.l" -{ - yylval.str = intern(yytext); - return PATHNAME; - } - YY_BREAK -case 65: -YY_RULE_SETUP -#line 317 "scan.l" -{ - yylval.str = intern(yytext); - return WORD; - } - YY_BREAK -case 66: -YY_RULE_SETUP -#line 322 "scan.l" -{ - yylval.str = intern(""); - return EMPTYSTRING; - } - YY_BREAK -case 67: -/* rule 67 can match eol */ -YY_RULE_SETUP -#line 327 "scan.l" -{ - size_t l = strlen(yytext); - if (l > 1 && yytext[l - 1] == '"') - yytext[l - 1] = '\0'; - - yylval.str = intern(yytext + 1); - return QSTRING; - } - YY_BREAK -case 68: -YY_RULE_SETUP -#line 335 "scan.l" -{ - yylval.num.fmt = 8; - yylval.num.val = strtoll(yytext, NULL, 8); - return NUMBER; - } - YY_BREAK -case 69: -YY_RULE_SETUP -#line 340 "scan.l" -{ - yylval.num.fmt = 16; - yylval.num.val = (long long)strtoull(yytext + 2, NULL, 16); - return NUMBER; - } - YY_BREAK -case 70: -YY_RULE_SETUP -#line 345 "scan.l" -{ - yylval.num.fmt = 10; - yylval.num.val = strtoll(yytext, NULL, 10); - return NUMBER; - } - YY_BREAK -case 71: -/* rule 71 can match eol */ -YY_RULE_SETUP -#line 350 "scan.l" -{ - /* - * Note: newline followed by whitespace is always a - * continuation of the previous line, so do NOT - * return a token in this case. - */ - yyline++; - } - YY_BREAK -case 72: -/* rule 72 can match eol */ -YY_RULE_SETUP -#line 358 "scan.l" -{ - yyline++; - return '\n'; - } - YY_BREAK -case 73: -YY_RULE_SETUP -#line 362 "scan.l" -{ - /* Detect NUL characters in the config file and - * error out. - */ - cfgerror("NUL character detected at line %i", yyline); - } - YY_BREAK -case 74: -YY_RULE_SETUP -#line 368 "scan.l" -{ /* ignored (comment) */; } - YY_BREAK -case 75: -YY_RULE_SETUP -#line 369 "scan.l" -{ /* ignored (white space) */; } - YY_BREAK -case 76: -YY_RULE_SETUP -#line 370 "scan.l" -{ return yytext[0]; } - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(IGNORED): -#line 371 "scan.l" -{ - if (ifdefstate > (incl == NULL ? -1 : incl->in_ifdefstate)) { - yyerror("reached EOF while looking for endif"); - } - if (incl == NULL) - return YY_NULL; - tok = endinclude(); - if (tok) - return tok; - /* otherwise continue scanning */ - } - YY_BREAK -case 77: -YY_RULE_SETUP -#line 383 "scan.l" -ECHO; - YY_BREAK -#line 1876 "scan.c" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = (yy_hold_char); - YY_RESTORE_YY_MORE_OFFSET - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between YY_CURRENT_BUFFER and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++(yy_c_buf_p); - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = (yy_c_buf_p); - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_END_OF_FILE: - { - (yy_did_buffer_switch_on_eof) = 0; - - if ( yywrap( ) ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = - (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - (yy_c_buf_p) = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of user's declarations */ -} /* end of yylex */ - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ -static int yy_get_next_buffer (void) -{ - register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - register char *source = (yytext_ptr); - register yy_size_t number_to_move, i; - int ret_val; - - if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (yy_size_t)(((yy_c_buf_p) - (yytext_ptr)) - 1); - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; - - else - { - yy_size_t num_to_read = - YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; - - int yy_c_buf_p_offset = - (int) ((yy_c_buf_p) - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - yy_size_t new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - - number_to_move - 1; - - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - (yy_n_chars), num_to_read ); - - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - if ( (yy_n_chars) == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart(yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { - /* Extend the array by 50%, plus the number we really need. */ - yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); - if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); - } - - (yy_n_chars) += number_to_move; - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; - - (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; - - return ret_val; -} - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - - static yy_state_type yy_get_previous_state (void) -{ - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = (yy_start); - - for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 43); - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 437 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; -} - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) -{ - register int yy_is_jam; - register char *yy_cp = (yy_c_buf_p); - - register YY_CHAR yy_c = 43; - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 437 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 436); - - return yy_is_jam ? 0 : yy_current_state; -} - -#ifndef YY_NO_UNPUT - -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus - static int yyinput (void) -#else - static int input (void) -#endif - -{ - int c; - - *(yy_c_buf_p) = (yy_hold_char); - - if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - /* This was really a NUL. */ - *(yy_c_buf_p) = '\0'; - - else - { /* need more input */ - yy_size_t offset = (yy_size_t) - ((yy_c_buf_p) - (yytext_ptr)); - ++(yy_c_buf_p); - - switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - yyrestart(yyin ); - - /*FALLTHROUGH*/ - - case EOB_ACT_END_OF_FILE: - { - if ( yywrap( ) ) - return EOF; - - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = (yytext_ptr) + offset; - break; - } - } - } - - c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ - *(yy_c_buf_p) = '\0'; /* preserve yytext */ - (yy_hold_char) = *++(yy_c_buf_p); - - return c; -} -#endif /* ifndef YY_NO_INPUT */ - -/** Immediately switch to a different input stream. - * @param input_file A readable stream. - * - * @note This function does not reset the start condition to @c INITIAL . - */ - void yyrestart (FILE * input_file ) -{ - - if ( ! YY_CURRENT_BUFFER ){ - yyensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer(yyin,YY_BUF_SIZE ); - } - - yy_init_buffer(YY_CURRENT_BUFFER,input_file ); - yy_load_buffer_state( ); -} - -/** Switch to a different input buffer. - * @param new_buffer The new input buffer. - * - */ - void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) -{ - - /* TODO. We should be able to replace this entire function body - * with - * yypop_buffer_state(); - * yypush_buffer_state(new_buffer); - */ - yyensure_buffer_stack (); - if ( YY_CURRENT_BUFFER == new_buffer ) - return; - - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - YY_CURRENT_BUFFER_LVALUE = new_buffer; - yy_load_buffer_state( ); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - (yy_did_buffer_switch_on_eof) = 1; -} - -static void yy_load_buffer_state (void) -{ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; - yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; - (yy_hold_char) = *(yy_c_buf_p); -} - -/** Allocate and initialize an input buffer state. - * @param file A readable stream. - * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. - * - * @return the allocated buffer state. - */ - YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) -{ - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = (yy_size_t)size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer(b,file ); - - return b; -} - -/** Destroy the buffer. - * @param b a buffer created with yy_create_buffer() - * - */ - void yy_delete_buffer (YY_BUFFER_STATE b ) -{ - - if ( ! b ) - return; - - if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ - YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yyfree((void *) b->yy_ch_buf ); - - yyfree((void *) b ); -} - -/* Initializes or reinitializes a buffer. - * This function is sometimes called more than once on the same buffer, - * such as during a yyrestart() or at EOF. - */ - static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) - -{ - int oerrno = errno; - - yy_flush_buffer(b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - - /* If b is the current buffer, then yy_init_buffer was _probably_ - * called from yyrestart() or through yy_get_next_buffer. - * In that case, we don't want to reset the lineno or column. - */ - if (b != YY_CURRENT_BUFFER){ - b->yy_bs_lineno = 1; - b->yy_bs_column = 0; - } - - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; - - errno = oerrno; -} - -/** Discard all buffered characters. On the next scan, YY_INPUT will be called. - * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. - * - */ - void yy_flush_buffer (YY_BUFFER_STATE b ) -{ - if ( ! b ) - return; - - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == YY_CURRENT_BUFFER ) - yy_load_buffer_state( ); -} - -/** Pushes the new state onto the stack. The new state becomes - * the current state. This function will allocate the stack - * if necessary. - * @param new_buffer The new state. - * - */ -void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) -{ - if (new_buffer == NULL) - return; - - yyensure_buffer_stack(); - - /* This block is copied from yy_switch_to_buffer. */ - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - /* Only push if top exists. Otherwise, replace top. */ - if (YY_CURRENT_BUFFER) - (yy_buffer_stack_top)++; - YY_CURRENT_BUFFER_LVALUE = new_buffer; - - /* copied from yy_switch_to_buffer. */ - yy_load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; -} - -/** Removes and deletes the top of the stack, if present. - * The next element becomes the new top. - * - */ -void yypop_buffer_state (void) -{ - if (!YY_CURRENT_BUFFER) - return; - - yy_delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - if ((yy_buffer_stack_top) > 0) - --(yy_buffer_stack_top); - - if (YY_CURRENT_BUFFER) { - yy_load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; - } -} - -/* Allocates the stack if it does not exist. - * Guarantees space for at least one push. - */ -static void yyensure_buffer_stack (void) -{ - yy_size_t num_to_alloc; - - if (!(yy_buffer_stack)) { - - /* First allocation is just for 2 elements, since we don't know if this - * scanner will even need a stack. We use 2 instead of 1 to avoid an - * immediate realloc on the next call. - */ - num_to_alloc = 1; - (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc - (num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); - - memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); - - (yy_buffer_stack_max) = num_to_alloc; - (yy_buffer_stack_top) = 0; - return; - } - - if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ - - /* Increase the buffer to prepare for a possible push. */ - yy_size_t grow_size = 8 /* arbitrary grow size */; - - num_to_alloc = (yy_buffer_stack_max) + grow_size; - (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc - ((yy_buffer_stack), - num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); - - /* zero only the new slots.*/ - memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); - (yy_buffer_stack_max) = num_to_alloc; - } -} - -/** Setup the input buffer state to scan directly from a user-specified character buffer. - * @param base the character buffer - * @param size the size in bytes of the character buffer - * - * @return the newly allocated buffer state object. - */ -YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) -{ - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer(b ); - - return b; -} - -/** Setup the input buffer state to scan a string. The next call to yylex() will - * scan from a @e copy of @a str. - * @param yystr a NUL-terminated string to scan - * - * @return the newly allocated buffer state object. - * @note If you want to scan bytes that may contain NUL values, then use - * yy_scan_bytes() instead. - */ -YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) -{ - - return yy_scan_bytes(yystr,strlen(yystr) ); -} - -/** Setup the input buffer state to scan the given bytes. The next call to yylex() will - * scan from a @e copy of @a bytes. - * @param yybytes the byte buffer to scan - * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. - * - * @return the newly allocated buffer state object. - */ -YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) -{ - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - yy_size_t i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = _yybytes_len + 2; - buf = (char *) yyalloc(n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < _yybytes_len; ++i ) - buf[i] = yybytes[i]; - - buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer(buf,n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; -} - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -static void yy_fatal_error (yyconst char* msg ) -{ - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); -} - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - int yyless_macro_arg = (n); \ - YY_LESS_LINENO(yyless_macro_arg);\ - yytext[yyleng] = (yy_hold_char); \ - (yy_c_buf_p) = yytext + yyless_macro_arg; \ - (yy_hold_char) = *(yy_c_buf_p); \ - *(yy_c_buf_p) = '\0'; \ - yyleng = yyless_macro_arg; \ - } \ - while ( 0 ) - -/* Accessor methods (get/set functions) to struct members. */ - -/** Get the current line number. - * - */ -int yyget_lineno (void) -{ - - return yylineno; -} - -/** Get the input stream. - * - */ -FILE *yyget_in (void) -{ - return yyin; -} - -/** Get the output stream. - * - */ -FILE *yyget_out (void) -{ - return yyout; -} - -/** Get the length of the current token. - * - */ -yy_size_t yyget_leng (void) -{ - return yyleng; -} - -/** Get the current token. - * - */ - -char *yyget_text (void) -{ - return yytext; -} - -/** Set the current line number. - * @param _line_number - * - */ -void yyset_lineno (int _line_number ) -{ - - yylineno = _line_number; -} - -/** Set the input stream. This does not discard the current - * input buffer. - * @param _in_str A readable stream. - * - * @see yy_switch_to_buffer - */ -void yyset_in (FILE * _in_str ) -{ - yyin = _in_str ; -} - -void yyset_out (FILE * _out_str ) -{ - yyout = _out_str ; -} - -int yyget_debug (void) -{ - return yy_flex_debug; -} - -void yyset_debug (int _bdebug ) -{ - yy_flex_debug = _bdebug ; -} - -static int yy_init_globals (void) -{ - /* Initialization is the same as for the non-reentrant scanner. - * This function is called from yylex_destroy(), so don't allocate here. - */ - - (yy_buffer_stack) = 0; - (yy_buffer_stack_top) = 0; - (yy_buffer_stack_max) = 0; - (yy_c_buf_p) = (char *) 0; - (yy_init) = 0; - (yy_start) = 0; - -/* Defined in main.c */ -#ifdef YY_STDINIT - yyin = stdin; - yyout = stdout; -#else - yyin = (FILE *) 0; - yyout = (FILE *) 0; -#endif - - /* For future reference: Set errno on error, since we are called by - * yylex_init() - */ - return 0; -} - -/* yylex_destroy is for both reentrant and non-reentrant scanners. */ -int yylex_destroy (void) -{ - - /* Pop the buffer stack, destroying each element. */ - while(YY_CURRENT_BUFFER){ - yy_delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - yypop_buffer_state(); - } - - /* Destroy the stack itself. */ - yyfree((yy_buffer_stack) ); - (yy_buffer_stack) = NULL; - - /* Reset the globals. This is important in a non-reentrant scanner so the next time - * yylex() is called, initialization will occur. */ - yy_init_globals( ); - - return 0; -} - -/* - * Internal utility routines. - */ - -#ifndef yytext_ptr -static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) -{ - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; -} -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * s ) -{ - register int n; - for ( n = 0; s[n]; ++n ) - ; - - return n; -} -#endif - -void *yyalloc (yy_size_t size ) -{ - return (void *) malloc( size ); -} - -void *yyrealloc (void * ptr, yy_size_t size ) -{ - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); -} - -void yyfree (void * ptr ) -{ - free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ -} - -#define YYTABLES_NAME "yytables" - -#line 383 "scan.l" - - - -int interesting = 1; - -static int -curdir_push(const char *fname) -{ - struct prefix *pf; - char *p, *d, *f; - - /* Set up the initial "current directory" for include directives. */ - d = dirname(f = estrdup(fname)); - if (*d == '/') - p = estrdup(d); - else { - char *cwd, buf[PATH_MAX]; - - if ((cwd = getcwd(buf, sizeof(buf))) == NULL) { - free(f); - return (-1); - } - easprintf(&p, "%s/%s", cwd, d); - } - free(f); - pf = ecalloc(1, sizeof(*pf)); - pf->pf_prefix = p; - SLIST_INSERT_HEAD(&curdirs, pf, pf_next); - - return (0); -} - -static void -curdir_pop(void) -{ - struct prefix *pf; - - pf = SLIST_FIRST(&curdirs); - SLIST_REMOVE_HEAD(&curdirs, pf_next); - if (SLIST_EMPTY(&curdirs)) - panic("curdirs is empty"); - /* LINTED cast away const (pf_prefix is malloc'd for curdirs) */ - free((void *)__UNCONST(pf->pf_prefix)); - free(pf); -} - -/* - * Open the "main" file (conffile). - */ -int -firstfile(const char *fname) -{ - -#if defined(__NetBSD__) - if ((yyin = fopen(fname, "rf")) == NULL) -#else - if ((yyin = fopen(fname, "r")) == NULL) -#endif - return (-1); - - if (curdir_push(fname) == -1) - return (-1); - - yyfile = conffile = fname; - yyline = 1; - return (0); -} - -/* - * Add a "package" to the configuration. This is essentially - * syntactic sugar around the sequence: - * - * prefix ../some/directory - * include "files.package" - * prefix - */ -void -package(const char *fname) -{ - char *fname1 = estrdup(fname); - char *fname2 = estrdup(fname); - char *dir = dirname(fname1); - char *file = basename(fname2); - - /* - * Push the prefix on to the prefix stack and process the include - * file. When we reach the end of the include file, inserting - * the PREFIX token into the input stream will pop the prefix off - * of the prefix stack. - */ - prefix_push(dir); - (void) include(file, PREFIX, 0, 1); - - free(fname1); - free(fname2); -} - -int includedepth; - -/* - * Open the named file for inclusion at the current point. Returns 0 on - * success (file opened and previous state pushed), nonzero on failure - * (fopen failed, complaint made). The `ateof' parameter controls the - * token to be inserted at the end of the include file (i.e. ENDFILE). - * If ateof == 0 then nothing is inserted. - */ -int -include(const char *fname, int ateof, int conditional, int direct) -{ - FILE *fp; - struct incl *in; - char *s; - static int havedirs; - extern int vflag; - - if (havedirs == 0) { - havedirs = 1; - setupdirs(); - } - - if (fname[0] == '/') - s = estrdup(fname); - else if (fname[0] == '.' && fname[1] == '/') { - struct prefix *pf = SLIST_FIRST(&curdirs); - easprintf(&s, "%s/%s", pf->pf_prefix, fname + 2); - } else - s = sourcepath(fname); - if ((fp = fopen(s, "r")) == NULL) { - if (conditional == 0) - cfgerror("cannot open %s for reading: %s", s, - strerror(errno)); - else if (vflag) - cfgwarn("cannot open conditional include file %s: %s", - s, strerror(errno)); - free(s); - return (-1); - } - if (curdir_push(s) == -1) { - cfgerror("cannot record current working directory for %s", s); - fclose(fp); - free(s); - return (-1); - } - in = ecalloc(1, sizeof *in); - in->in_prev = incl; - in->in_buf = YY_CURRENT_BUFFER; - in->in_fname = yyfile; - in->in_lineno = yyline; - in->in_ateof = ateof; - in->in_interesting = interesting; - in->in_ifdefstate = ifdefstate; - interesting = direct & interesting; - if (interesting) - logconfig_include(fp, fname); - incl = in; - CFGDBG(1, "include `%s' from `%s' line %d", fname, yyfile, yyline); - yy_switch_to_buffer(yy_create_buffer(fp,YY_BUF_SIZE)); - yyfile = intern(s); - yyline = 1; - free(s); - includedepth++; - return (0); -} - -/* - * Extract the pathname from a include/cinclude/package into curinclpath - */ -static int -getincludepath(void) -{ - const char *p = yytext; - ptrdiff_t len; - const char *e; - - while (*p && isascii((unsigned int)*p) && !isspace((unsigned int)*p)) - p++; - while (*p && isascii((unsigned int)*p) && isspace((unsigned int)*p)) - p++; - if (!*p) - return 0; - if (*p == '"') { - p++; - e = strchr(p, '"'); - if (!e) return 0; - } else { - e = p; - while (*e && isascii((unsigned int)*e) - && !isspace((unsigned int)*e)) - e++; - } - - len = e-p; - if (len > (ptrdiff_t)sizeof(curinclpath)-1) - len = sizeof(curinclpath)-1; - strncpy(curinclpath, p, sizeof(curinclpath)); - curinclpath[len] = '\0'; - - return 1; -} - -/* - * Terminate the most recent inclusion. - */ -static int -endinclude(void) -{ - struct incl *in; - int ateof; - - curdir_pop(); - if ((in = incl) == NULL) - panic("endinclude"); - incl = in->in_prev; - lastfile = yyfile; - yy_delete_buffer(YY_CURRENT_BUFFER); - (void)fclose(yyin); - yy_switch_to_buffer(in->in_buf); - yyfile = in->in_fname; - yyline = in->in_lineno; - ateof = in->in_ateof; - interesting = in->in_interesting; - free(in); - - includedepth--; - - return (ateof); -} - -/* - * Return the current line number. If yacc has looked ahead and caused - * us to consume a newline, we have to subtract one. yychar is yacc's - * token lookahead, so we can tell. - */ -u_short -currentline(void) -{ - extern int yychar; - - return (u_short)(yyline - (yychar == '\n')); -} - -static int -getcurifdef(void) -{ - char *p = yytext, *q; - - while (*p && isascii((unsigned int)*p) && !isspace((unsigned int)*p)) - p++; - while (*p && isascii((unsigned int)*p) && isspace((unsigned int)*p)) - p++; - q = p; - while (*q && isascii((unsigned int)*q) && !isspace((unsigned int)*q)) - q++; - *q = '\0'; - - return ht_lookup(attrtab, intern(p)) != NULL; -} -