1/* 2 * Copyright (c) 2005 ASPEED Technology Inc. 3 * 4 * Permission to use, copy, modify, distribute, and sell this software and its 5 * documentation for any purpose is hereby granted without fee, provided that 6 * the above copyright notice appear in all copies and that both that 7 * copyright notice and this permission notice appear in supporting 8 * documentation, and that the name of the authors not be used in 9 * advertising or publicity pertaining to distribution of the software without 10 * specific, written prior permission. The authors makes no representations 11 * about the suitability of this software for any purpose. It is provided 12 * "as is" without express or implied warranty. 13 * 14 * THE AUTHORS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 * EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 * PERFORMANCE OF THIS SOFTWARE. 21 */ 22 23#define MAX_HWC_WIDTH 64 24#define MAX_HWC_HEIGHT 64 25#define HWC_SIZE (MAX_HWC_WIDTH*MAX_HWC_HEIGHT*2) 26#define HWC_SIGNATURE_SIZE 32 27#define HWC_ALIGN 32 28 29#define HWC_MONO 0 30#define HWC_COLOR 1 31 32/* define for signature structure */ 33#define HWC_SIGNATURE_CHECKSUM 0x00 34#define HWC_SIGNATURE_SizeX 0x04 35#define HWC_SIGNATURE_SizeY 0x08 36#define HWC_SIGNATURE_X 0x0C 37#define HWC_SIGNATURE_Y 0x10 38#define HWC_SIGNATURE_HOTSPOTX 0x14 39#define HWC_SIGNATURE_HOTSPOTY 0x18 40