Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

vxd.cc

Go to the documentation of this file.
00001 /* 
00002  *      HT Editor
00003  *      vxd.cc
00004  *
00005  *      Copyright (C) 1999-2002 Stefan Weyergraf (stefan@weyergraf.de)
00006  *
00007  *      This program is free software; you can redistribute it and/or modify
00008  *      it under the terms of the GNU General Public License version 2 as
00009  *      published by the Free Software Foundation.
00010  *
00011  *      This program is distributed in the hope that it will be useful,
00012  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *      GNU General Public License for more details.
00015  *
00016  *      You should have received a copy of the GNU General Public License
00017  *      along with this program; if not, write to the Free Software
00018  *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00019  */
00020 
00021 #include "vxd.h"
00022 #include "vxdserv.h"
00023 
00024 vxd_t *find_vxd(vxd_desc *table, int key)
00025 {
00026         while (table->key!=-1) {
00027                 if (table->key==key) return &table->vxd;
00028                 table++;
00029         }
00030         return 0;
00031 }
00032 
00033 char *find_vxd_service(vxd_service_desc *table, int key)
00034 {
00035         while (table->key!=-1) {
00036                 if (table->key==key) return table->name;
00037                 table++;
00038         }
00039         return 0;
00040 }
00041 
00042 vxd_desc vxds[] = {
00043                 { 0x0001,       {"VMM", vxd_vmm_services} },
00044                 { 0x0002,       {"DEBUG",       vxd_debug_services} },
00045                 { 0x0003,       {"VPICD",       vxd_vpicd_services} },
00046                 { 0x0004,       {"VDMAD",       vxd_vdmad_services} },
00047                 { 0x0005,       {"VTD", vxd_vtd_services} },
00048                 { 0x0006,       {"V86MMGR", vxd_v86mmgr_services} },
00049                 { 0x0007,       {"PAGESWAP", vxd_pageswap_services} },
00050                 { 0x0009,       {"REBOOT", 0} },
00051                 { 0x000a,       {"VDD", vxd_vdd_services} },
00052                 { 0x000b,       {"VSD", vxd_vsd_services} },
00053                 { 0x000c,       {"VMD", vxd_vmd_services} },
00054                 { 0x000d,       {"VKD", vxd_vkd_services} },
00055                 { 0x000e,       {"VCD", vxd_vcd_services} },
00056                 { 0x000f,       {"VPD", vxd_vpd_services} },
00057                 { 0x0010,       {"IOS", vxd_ios_services} },
00058                 { 0x0011,       {"VMCPD",       vxd_vmcpd_services} },
00059                 { 0x0012,       {"EBIOS",       vxd_ebios_services} },
00060                 { 0x0014,       {"VNETBIOS", vxd_vnetbios_services} },
00061                 { 0x0015,       {"DOSMGR", vxd_dosmgr_services} },
00062                 { 0x0017,       {"SHELL",       vxd_shell_services} },
00063                 { 0x0018,       {"VMPOOL", vxd_vmpool_services} },
00064                 { 0x001a,       {"DOSNET", vxd_dosnet_services} },
00065                 { 0x0020,       {"INT13",       vxd_int13_services} },
00066                 { 0x0021,       {"PAGEFILE", vxd_pagefile_services} },
00067                 { 0x0026,       {"VPOWERD", vxd_vpowerd_services} },
00068                 { 0x0027,       {"VXDLDR", vxd_vxdldr_services} },
00069                 { 0x0028,       {"NDIS", vxd_ndis_services} },
00070                 { 0x002a,       {"VWIN32", vxd_vwin32_services} },
00071                 { 0x002b,       {"VCOMM",       vxd_vcomm_services} },
00072                 { 0x002c,       {"SPOOLER", 0}  },
00073                 { 0x0031,       {"NETBEUI", 0}  },
00074                 { 0x0032,       {"VSERVER", 0}  },
00075                 { 0x0033,       {"CONFIGMG", vxd_configmg_services} },
00076                 { 0x0034,       {"CM", vxd_cm_services} },
00077                 { 0x0036,       {"VFBACKUP", vxd_vfbackup_services} },
00078                 { 0x0037,       {"VMINI",       vxd_vmini_services} },
00079                 { 0x0038,       {"VCOND",       vxd_vcond_services} },
00080                 { 0x003d,       {"BIOS", 0} },
00081                 { 0x003e,       {"WSOCK",       vxd_wsock_services} },
00082                 { 0x0040,       {"IFSMGR", vxd_ifsmgr_services} },
00083                 { 0x0041,       {"VCDFSD", 0} },
00084                 { 0x0043,       {"PCI", vxd_pci_services}       },
00085                 { 0x0048,       {"PERF", vxd_perf_services} },
00086                 { 0x004a,       {"MTRR", vxd_mtrr_services} },
00087                 { 0x004b,       {"NTKERN", vxd_ntkern_services} },
00088                 { 0x004c,       {"ACPI", vxd_acpi_services} },
00089                 { 0x004e,       {"SMCLIB", vxd_smclib_services} },
00090                 { 0x011f,       {"VFLATD", vxd_vflatd_services} },
00091                 { 0x0202,       {"SIWDEBUG", 0} },
00092                 { 0x0449,       {"VJOYD",       vxd_vjoyd_services} },
00093                 { 0x044a,       {"MMDEVLDR", vxd_mmdevldr_services} },
00094                 { 0x0480,       {"VNETSUP", vxd_vnetsup_services} },
00095                 { 0x0481,       {"VREDIR", vxd_vredir_services} },
00096                 { 0x0483,       {"VSHARE", vxd_vshare_services} },
00097                 { 0x0486,       {"VFAT", 0} },
00098                 { 0x0487,       {"NWLINK", 0} },
00099                 { 0x0488,       {"VTDI", vxd_vtdi_services} },
00100                 { 0x0489,       {"VIP", vxd_vip_services} },
00101                 { 0x048a,       {"MSTCP",       vxd_mstcp_services} },
00102                 { 0x048b,       {"VCACHE", vxd_vcache_services} },
00103                 { 0x048e,       {"NWREDIR", 0}  },
00104                 { 0x0491,       {"FILESEC", 0}  },
00105                 { 0x0492,       {"NWSERVER", 0} },
00106                 { 0x0496,       {"NDIS2SUP", 0} },
00107                 { 0x0497,       {"MSODISUP", 0} },
00108                 { 0x0498,       {"SPLITTER", 0} },
00109                 { 0x0499,       {"PPPMAC", 0} },
00110                 { 0x049a,       {"VDHCP",       0} },
00111                 { 0x049d,       {"LOGGER", 0} },
00112                 { 0x097c,       {"PCCARD", vxd_pccard_services} },
00113                 { 0x7a5f,       {"SIWVID", 0} },
00114                 { -1 }                                  /* Terminator */
00115 };
00116 
00117 

Generated on Fri May 7 21:15:45 2004 by doxygen 1.3.5