⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 data.c

📁 操作系统SunOS 4.1.3版本的源码
💻 C
📖 第 1 页 / 共 4 页
字号:
  NULL,				/* environ */  NULL,				/* env */  NULL,				/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  NULL,				/* data *//***** FPU test *****/  CPUGROUP,			/* group */  FPUTEST,			/* id */  -1,				/* unit, single */  0,				/* selection type */  0,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  ENABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "FPU",			/* label */  "fpu",			/* devname */  "fputest",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  NULL,				/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  NULL,				/* data *//***** FPU test *****/  CPUGROUP,			/* group */  FPU2,				/* id */  -1,				/* unit, single */  0,				/* selection type */  0,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  ENABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "FPU2",			/* label */  "fpu",			/* devname */  "fputest",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  NULL,				/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  NULL,				/* data *//***** des test *****/  CPUGROUP,			/* group */  DES,				/* id */  0,				/* unit */  0,				/* selection type */  0,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  ENABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "DCP Chip",			/* label */  "des\0\0",			/* devname */  "dcptest",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  NULL,				/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  NULL,				/* data *//***** on board ethernet test(ie0) *****/  CPUGROUP,			/* group */  ENET0,			/* id */  0,				/* unit */  0,				/* selection type */  1,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  ENABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "Ethernet",			/* label */  "ie\0\0",			/* devname */  "nettest",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  (char *)10,			/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  (char *)1,			/* data *//***** on board ethernet test(le0) *****/  CPUGROUP,			/* group */  ENET1,			/* id */  0,				/* unit */  0,				/* selection type */  1,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  ENABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "Ethernet",			/* label */  "le\0\0",			/* devname */  "nettest",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  (char *)10,			/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  (char *)1,			/* data *//***** S-Bus token ring  *****/  CPUGROUP,			/* group */  TRNET,			/* id */  0,				/* unit */  0,				/* selection type */  1,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  ENABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "Token Ring",			/* label */  "tr\0\0",			/* devname */  "nettest",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  (char *)10,			/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  (char *)1,			/* data *//***** S-BUS HSI(SunLink)test *****/  CPUGROUP,			/* group */  SBUS_HSI,			/* id */  0,				/* unit */  2,				/* selection type */  1,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  DISABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "SunLink (HSI) #",		/* label */  "HSI\0\0",			/* devname */  "sunlink",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  NULL,				/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  (caddr_t)0x40,                /* data (defaults to "0 1 2 3" loopback, */                                /* no internal loopback and on-board clock) *//***** sp(ttya & ttyb) test *****/  CPUGROUP,			/* group */  CPU_SP,			/* id */  0,				/* unit */  2,				/* selection type */  1,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  DISABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "Serial Ports",		/* label */  "zs\0\0",			/* devname */  "sptest",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  NULL,				/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  (caddr_t)3,			/* data(defaults to a-b) *//***** sp(ttyc & ttyd) test *****/  CPUGROUP,			/* group */  CPU_SP1,			/* id */  0,				/* unit */  2,				/* selection type */  1,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  DISABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "Serial Ports",		/* label */  "zs\0\0",			/* devname */  "sptest",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  NULL,				/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  (caddr_t)3,			/* data(defaults to c-d) *//***** on-board printer port test(pp) *****/  CPUGROUP,			/* group */  PP,				/* id */  0,				/* unit */  2,				/* selection type */  0,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  DISABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "Printer Port #",		/* label */  "pp\0\0",			/* devname */  "pptest",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  NULL,				/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  NULL,				/* data *//***** on-board audio port test(audio) *****/  CPUGROUP,			/* group */  AUDIO,			/* id */  -1,				/* unit, single */  0,				/* selection type */  1,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  ENABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "Audio Port",			/* label */  "audio\0\0",			/* devname */  "autest",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  (char *)100,			/* special(volume) */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  NULL,				/* data *//***** monochrome test(bwtwo0) *****/  CPUGROUP,                     /* group */  BW2,                          /* id */  0,                            /* unit */  0,                            /* selection type */  0,                            /* popup */  1,                            /* test_no */  1,                            /* which_test */  ENABLE,                       /* dev_enable */  ENABLE,                       /* enable */  0,                            /* pass */  0,                            /* error */  "10",                         /* priority */  0,                            /* pid */  "Monochrome FB",              /* label */  "bwtwo\0\0",                  /* devname */  "mono",                       /* testname */  NULL,                         /* tail */  NULL,                         /* environ */  NULL,                         /* env */  NULL,                         /* special */  NULL,                         /* conf */  NULL,                         /* select */  NULL,                         /* option */  NULL,                         /* msg */  NULL,                         /* data */ /***** color test(cgthree0) *****/  CPUGROUP,	 		/* group */  COLOR3,			/* id */  0,				/* unit */  0,				/* selection type */  0,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  ENABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "Color FB",			/* label */  "cgthree\0\0",		/* devname */  "color",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  NULL,				/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  NULL,				/* data *//***** color test(cgfour0) *****/  CPUGROUP,			/* group */  COLOR4,			/* id */  0,				/* unit */  0,				/* selection type */  0,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  ENABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "Color FB",			/* label */  "cgfour\0\0",			/* devname */  "color",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  NULL,				/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  NULL,				/* data *//***** color test(cgsix0) *****/  CPUGROUP,                     /* group */  COLOR6,                       /* id */  0,                            /* unit */  0,                            /* selection type */  0,                            /* popup */  1,                            /* test_no */  1,                            /* which_test */  ENABLE,                       /* dev_enable */  ENABLE,                       /* enable */  0,                            /* pass */  0,                            /* error */  "10",                         /* priority */  0,                            /* pid */  "Color FB",                   /* label */  "cgsix\0\0",                  /* devname */  "cg6test",                    /* testname */  NULL,                         /* tail */  NULL,                         /* environ */  NULL,                         /* env */  NULL,                         /* special */  NULL,                         /* conf */  NULL,                         /* select */  NULL,                         /* option */  NULL,                         /* msg */  NULL,                         /* data */ /***** c24 test(cgeight) *****/  CPUGROUP,			/* group */  COLOR8,			/* id */  0,				/* unit */  0,				/* selection type */  0,				/* popup */  1,				/* test_no */  1,				/* which_test */  ENABLE,			/* dev_enable */  ENABLE,			/* enable */  0,				/* pass */  0,				/* error */  "10",				/* priority */  0,				/* pid */  "Color FB",			/* label */  "cgeight\0\0",		/* devname */  "c24",			/* testname */  NULL,				/* tail */  NULL,				/* environ */  NULL,				/* env */  NULL,				/* special */  NULL,				/* conf */  NULL,				/* select */  NULL,				/* option */  NULL,				/* msg */  NULL,				/* data *//***** egret (cg12) test *****/  CPUGROUP,                     /* group */  CG12,                         /* id */  0,                            /* unit */  0,                            /* selection type */  1,                            /* popup */  1,                            /* test_no */  1,                            /* which_test */  ENABLE,                       /* dev_enable */  ENABLE,                       /* enable */  0,                            /* pass */  0,                            /* error */  "10",                         /* priority */  0,                            /* pid */  "Color FB GS",                /* label */  "cgtwelve\0\0",               /* devname */  "cg12",                       /* testname */  NULL,                         /* tail */  NULL,                         /* environ */  NULL,                         /* env */  (char *) 1,                   /* special - 1 loop per board test*/  NULL,                         /* conf */  NULL,                         /* select */  NULL,                         /* option */  NULL,                         /* msg */  (char *) (1<<12),             /* data - 1 loop per function test *//***** Hawk (gttest) *****/  CPUGROUP,                     /* group */  GT,                           /* id */  0,                            /* unit */  0,                            /* selection type */  1,                            /* popup */  1,                            /* test_no */  1,                            /* which_test */  ENABLE,                       /* dev_enable */  ENABLE,                       /* enable */  0,                            /* pass */  0,                            /* error */  "10",                         /* priority */  0,                            /* pid */  "Graphics Tower GT#",         /* label */  "gt\0\0",                     /* devname */  "gttest",                     /* testname */  NULL,                         /* tail */  NULL,                         /* environ */  NULL,                         /* env */  (char *) 1,                   /* special - 1 loop per board test*/  NULL,                         /* conf */  NULL,                         /* select */  NULL,                         /* option */  NULL,                         /* msg */  (char *) (0x027FFFF),        /* data - 1 loop per function test, 1023 is max *//***** mptest (mp-4) test *****/  CPUGROUP,                     /* group */  MP4,                          /* id */  0,                            /* unit */  1,                            /* selection type */  1,                            /* popup */  1,                            /* test_no */  1,                            /* which_test */  ENABLE,                       /* dev_enable */  DISABLE,                      /* enable */  0,                            /* pass */  0,                            /* error */  "10",                         /* priority */  0,                            /* pid */  "Multiprocessors",            /* label */  "mp\0\0",                    /* devname */  "mptest",                     /* testname */  NULL,                         /* tail */  NULL,                         /* environ */  NULL,                         /* env */  NULL,                         /* special */  NULL,                         /* conf */  NULL,                         /* select */  NULL,                         /* option */  NULL,                         /* msg */  NULL,                   	/* data - test all functions */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -