1 /* 2 * Copyright (c) 1988 University of Utah. 3 * Copyright (c) 1990, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department. 9 * 10 * %sccs.include.redist.c% 11 * 12 * from: Utah $Hdr: itereg.h 1.3 92/01/21$ 13 * 14 * @(#)itereg.h 8.1 (Berkeley) 06/10/93 15 */ 16 17 /* 18 * Offsets into the display ROM that is part of the first 4K of each 19 * display device. 20 */ 21 #define FONTROM 0x3B /* Offset of font information structure. */ 22 #define FONTADDR 0x4 /* Offset from FONTROM to font address. */ 23 #define FONTHEIGHT 0x0 /* Offset from font address to font height. */ 24 #define FONTWIDTH 0x2 /* Offset from font address to font width. */ 25 #define FONTDATA 0xA /* Offset from font address to font glyphs. */ 26 27 #ifdef hp300 28 #define FBBASE ((volatile u_char *)ip->fbbase) 29 #else 30 #define FBBASE ((volatile u_long *)ip->fbbase) 31 #endif 32