ia64/linux-2.6.18-xen.hg

annotate drivers/char/rio/parmmap.h @ 893:f994bfe9b93b

linux/blktap2: reduce TLB flush scope

c/s 885 added very coarse TLB flushing. Since these flushes always
follow single page updates, single page flushes (when available) are
sufficient.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 04 10:32:57 2009 +0100 (2009-06-04)
parents 831230e53067
children
rev   line source
ian@0 1 /****************************************************************************
ian@0 2 ******* *******
ian@0 3 ******* H O S T M E M O R Y M A P
ian@0 4 ******* *******
ian@0 5 ****************************************************************************
ian@0 6
ian@0 7 Author : Ian Nandhra / Jeremy Rolls
ian@0 8 Date :
ian@0 9
ian@0 10 *
ian@0 11 * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
ian@0 12 *
ian@0 13 * This program is free software; you can redistribute it and/or modify
ian@0 14 * it under the terms of the GNU General Public License as published by
ian@0 15 * the Free Software Foundation; either version 2 of the License, or
ian@0 16 * (at your option) any later version.
ian@0 17 *
ian@0 18 * This program is distributed in the hope that it will be useful,
ian@0 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ian@0 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ian@0 21 * GNU General Public License for more details.
ian@0 22 *
ian@0 23 * You should have received a copy of the GNU General Public License
ian@0 24 * along with this program; if not, write to the Free Software
ian@0 25 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
ian@0 26
ian@0 27 Version : 0.01
ian@0 28
ian@0 29
ian@0 30 Mods
ian@0 31 ----------------------------------------------------------------------------
ian@0 32 Date By Description
ian@0 33 ----------------------------------------------------------------------------
ian@0 34 6/4/1991 jonb Made changes to accommodate Mips R3230 bus
ian@0 35 ***************************************************************************/
ian@0 36
ian@0 37 #ifndef _parmap_h
ian@0 38 #define _parmap_h
ian@0 39
ian@0 40
ian@0 41 #ifdef SCCS_LABELS
ian@0 42 #ifndef lint
ian@0 43 /* static char *_rio_parmmap_h_sccs = "@(#)parmmap.h 1.4"; */
ian@0 44 #endif
ian@0 45 #endif
ian@0 46
ian@0 47 typedef struct PARM_MAP PARM_MAP;
ian@0 48
ian@0 49 struct PARM_MAP {
ian@0 50 u16 phb_ptr; /* Pointer to the PHB array */
ian@0 51 u16 phb_num_ptr; /* Ptr to Number of PHB's */
ian@0 52 u16 free_list; /* Free List pointer */
ian@0 53 u16 free_list_end; /* Free List End pointer */
ian@0 54 u16 q_free_list_ptr; /* Ptr to Q_BUF variable */
ian@0 55 u16 unit_id_ptr; /* Unit Id */
ian@0 56 u16 link_str_ptr; /* Link Structure Array */
ian@0 57 u16 bootloader_1; /* 1st Stage Boot Loader */
ian@0 58 u16 bootloader_2; /* 2nd Stage Boot Loader */
ian@0 59 u16 port_route_map_ptr; /* Port Route Map */
ian@0 60 u16 route_ptr; /* Unit Route Map */
ian@0 61 u16 map_present; /* Route Map present */
ian@0 62 s16 pkt_num; /* Total number of packets */
ian@0 63 s16 q_num; /* Total number of Q packets */
ian@0 64 u16 buffers_per_port; /* Number of buffers per port */
ian@0 65 u16 heap_size; /* Initial size of heap */
ian@0 66 u16 heap_left; /* Current Heap left */
ian@0 67 u16 error; /* Error code */
ian@0 68 u16 tx_max; /* Max number of tx pkts per phb */
ian@0 69 u16 rx_max; /* Max number of rx pkts per phb */
ian@0 70 u16 rx_limit; /* For high / low watermarks */
ian@0 71 s16 links; /* Links to use */
ian@0 72 s16 timer; /* Interrupts per second */
ian@0 73 u16 rups; /* Pointer to the RUPs */
ian@0 74 u16 max_phb; /* Mostly for debugging */
ian@0 75 u16 living; /* Just increments!! */
ian@0 76 u16 init_done; /* Initialisation over */
ian@0 77 u16 booting_link;
ian@0 78 u16 idle_count; /* Idle time counter */
ian@0 79 u16 busy_count; /* Busy counter */
ian@0 80 u16 idle_control; /* Control Idle Process */
ian@0 81 u16 tx_intr; /* TX interrupt pending */
ian@0 82 u16 rx_intr; /* RX interrupt pending */
ian@0 83 u16 rup_intr; /* RUP interrupt pending */
ian@0 84 };
ian@0 85
ian@0 86 #endif
ian@0 87
ian@0 88 /*********** end of file ***********/