Lines Matching +full:i +full:- +full:tlb +full:- +full:sets

1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
14 #define PDC_BAD_PROC -1 /* Called non-existent procedure*/
15 #define PDC_BAD_OPTION -2 /* Called with non-existent option */
16 #define PDC_ERROR -3 /* Call could not complete without an error */
17 #define PDC_NE_MOD -5 /* Module not found */
18 #define PDC_NE_CELL_MOD -7 /* Cell module not found */
19 #define PDC_NE_BOOTDEV -9 /* Cannot locate a console device or boot device */
20 #define PDC_INVALID_ARG -10 /* Called with an invalid argument */
21 #define PDC_BUS_POW_WARN -12 /* Call could not complete in allowed power budget */
22 #define PDC_NOT_NARROW -17 /* Narrow mode not supported */
28 #define PDC_POW_FAIL 1 /* perform a power-fail */
31 #define PDC_CHASSIS 2 /* PDC-chassis functions */
47 #define PDC_MODEL_VERSIONS 2 /* returns cpu-internal versions*/
51 #define PDC_MODEL_CPU_ID 6 /* returns cpu-id (only newer machines!) */
52 #define PDC_MODEL_CAPABILITIES 7 /* returns OS32/OS64-flags */
53 /* Values for PDC_MODEL_CAPABILITIES non-equivalent virtual aliasing support */
69 #define PDC_CACHE 5 /* return/set cache (& TLB) info*/
72 #define PDC_CACHE_RET_SPID 2 /* returns space-ID bits */
78 #define PDC_COPROC 7 /* Co-Processor (usually FP unit(s)) */
79 #define PDC_COPROC_CFG 0 /* Co-Processor Cfg (FP unit(s) enabled?) */
85 /* 1, 2 obsolete - HVERSION dependent*/
90 /* 7 obsolete - HVERSION dependent */
93 #define PDC_IODC_NINIT 2 /* non-destructive init */
97 #define PDC_IODC_BUS_ERROR -4 /* bus error return value */
98 #define PDC_IODC_INVALID_INDEX -5 /* invalid index return value */
99 #define PDC_IODC_COUNT -6 /* count is too small */
101 #define PDC_TOD 9 /* time-of-day clock (TOD) */
134 #define PDC_BLOCK_TLB 18 /* manage hardware block-TLB */
140 #define PDC_TLB 19 /* manage hardware TLB miss handling */
160 #define PDC_MEM_RET_PDT_FULL -11
186 #define PDC_SCSI_GET_PARMS 0 /* Get SCSI parameters for I/O device */
187 #define PDC_SCSI_SET_PARMS 1 /* Set SCSI parameters for I/O device */
200 #define PDC_EEPROM_EEPROM_PASSWORD -1000
202 #define PDC_NVM 130 /* NVM (non-volatile memory) access */
214 /* sets bits 6&7 (little endian) of the HcControl Register */
216 #define PDC_IO_EEPROM_IO_ERR_TABLE_FULL -5 /* return value */
217 #define PDC_IO_NO_SUSPEND -6 /* return value */
299 * page 3-33 of IO-Firmware ARS
305 #define CL_DUPLEX 7 /* full-duplex point-to-point (RS-232, Net) */
306 #define CL_KEYBD 8 /* half-duplex console (HIL Keyboard) */
307 #define CL_DISPL 9 /* half-duplex console (display) */
338 #define OS_ID_HPUX 1 /* HP-UX OS */
341 #define OS_ID_HPRT 4 /* HP-RT OS */
374 /* I/O adaptor (< 0 means none, > 63 resvd) */
378 struct pdc_module_path { /* page 1-69 */
380 unsigned int layers[6]; /* device-specific info (ctlr #, unit # ...) */
420 unsigned int mem_pdc_hi; /* used for 64-bit */
422 /* [0x360] various parameters for the boot-CPU */
427 unsigned int mem_hpa; /* HPA of the boot-CPU */
478 struct pdc_cache_cf { /* for PDC_CACHE (I/D-caches) */
487 cc_wt : 1, /* 0 = WT-Dcache, 1 = WB-Dcache */
488 cc_sh : 2, /* 0 = separate I/D-cache, else shared I/D-cache */
489 cc_cst : 3, /* 0 = incoherent D-cache, 1=coherent D-cache */
494 struct pdc_tlb_cf { /* for PDC_CACHE (I/D-TLB's) */
499 tc_sh : 2, /* 0 = separate I/D-TLB, else shared I/D-TLB */
501 tc_page : 1, /* 0 = 2K page-size-machine, 1 = 4k page size */
504 tc_sr : 8; /* ITLB: width of space-registers (encoded) */
507 struct pdc_cache_info { /* main-PDC_CACHE-structure (caches & TLB's) */
508 /* I-cache */
511 unsigned long ic_base; /* base-addr */
515 /* D-cache */
518 unsigned long dc_base; /* base-addr */
522 /* Instruction-TLB */
523 unsigned long it_size; /* number of entries in I-TLB */
524 struct pdc_tlb_cf it_conf; /* I-TLB-configuration */
532 /* data-TLB */
533 unsigned long dt_size; /* number of entries in D-TLB */
534 struct pdc_tlb_cf dt_conf; /* D-TLB-configuration */
544 /* Might need adjustment to work with 64-bit firmware */
626 /* Only used on some pre-PA2.0 boxes */
629 unsigned long more_pgs; /* number of additional I/O pgs */
736 #define PCXU_CPU_ID 0xE /* U and U+ for all but C-class with bug */
738 #define PCXU_PLUS_CPU_ID 0x10 /* U+ only on C-class with bug */