From: mickey Date: Tue, 18 Apr 2000 20:16:21 +0000 (+0000) Subject: some PDC calls X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9fd363f164f885036356f0ee98ad38d714cbe5d1;p=openbsd some PDC calls --- diff --git a/sys/arch/hppa/include/pdc.h b/sys/arch/hppa/include/pdc.h index f0fc7a0c614..417a1e85d0d 100644 --- a/sys/arch/hppa/include/pdc.h +++ b/sys/arch/hppa/include/pdc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pdc.h,v 1.11 1999/07/21 20:17:54 mickey Exp $ */ +/* $OpenBSD: pdc.h,v 1.12 2000/04/18 20:16:21 mickey Exp $ */ /* * Copyright (c) 1990 mt Xinu, Inc. All rights reserved. @@ -229,6 +229,10 @@ #define PDC_SOFT_POWER_INFO 0 /* get info about soft power switch */ #define PDC_SOFT_POWER_ENABLE 1 /* enable/disable soft power switch */ +#define PDC_PAT_IO 71 /* online services for IO modules */ +#define PDC_PAT_IO_GET_PCI_RTSZ 15 +#define PDC_PAT_IO_GET_PCI_RT 16 + #define PDC_MEMMAP 128 /* hp700: return page information */ #define PDC_MEMMAP_HPA 0 /* map module # to HPA */ @@ -241,6 +245,10 @@ #define PDC_LAN_STATION_ID 138 /* Hversion dependent mechanism for */ #define PDC_LAN_STATION_ID_READ 0 /* getting the lan station address */ +#define PDC_PCI_INDEX 147 /* PCI rt access */ +#define PDC_PCI_GET_INT_TBL_SZ 13 +#define PDC_PCI_GET_INT_TBL 14 + #define PDC_ERR_OK 0 /* operation complete */ #define PDC_ERR_WARNING 3 /* OK, but warning */ #define PDC_ERR_NOPROC -1 /* no such procedure */ @@ -431,6 +439,11 @@ struct pdc_hwtlb { /* PDC_TLB */ u_int filler[30]; }; +struct pdc_pat_io_num { /* PDC_PAT_IO */ + u_int num; + u_int filler[31]; +}; + struct pdc_memmap { /* PDC_MEMMAP */ u_int hpa; /* HPA for module */ u_int morepages; /* additional IO pages */