1209ff23fSmrg/* 2209ff23fSmrg * Copyright 2006-2007 Advanced Micro Devices, Inc. 3209ff23fSmrg * 4209ff23fSmrg * Permission is hereby granted, free of charge, to any person obtaining a 5209ff23fSmrg * copy of this software and associated documentation files (the "Software"), 6209ff23fSmrg * to deal in the Software without restriction, including without limitation 7209ff23fSmrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8209ff23fSmrg * and/or sell copies of the Software, and to permit persons to whom the 9209ff23fSmrg * Software is furnished to do so, subject to the following conditions: 10209ff23fSmrg * 11209ff23fSmrg * The above copyright notice and this permission notice shall be included in 12209ff23fSmrg * all copies or substantial portions of the Software. 13209ff23fSmrg * 14209ff23fSmrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15209ff23fSmrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16209ff23fSmrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17209ff23fSmrg * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18209ff23fSmrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19209ff23fSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20209ff23fSmrg * OTHER DEALINGS IN THE SOFTWARE. 21209ff23fSmrg */ 22209ff23fSmrg 23209ff23fSmrg/*++ 24209ff23fSmrg 25209ff23fSmrgModule Name: 26209ff23fSmrg 27209ff23fSmrgCD_Definitions.h 28209ff23fSmrg 29209ff23fSmrgAbstract: 30209ff23fSmrg 31209ff23fSmrgDefines Script Language commands 32209ff23fSmrg 33209ff23fSmrgRevision History: 34209ff23fSmrg 35209ff23fSmrgNEG:27.08.2002 Initiated. 36209ff23fSmrg--*/ 37209ff23fSmrg 38209ff23fSmrg#include "CD_Structs.h" 39209ff23fSmrg#ifndef _CD_DEFINITIONS_H 40209ff23fSmrg#define _CD_DEFINITIONS_H_ 41209ff23fSmrg#ifdef DRIVER_PARSER 42b7e1c893SmrgVOID *AllocateMemory(DEVICE_DATA *, UINT16); 43209ff23fSmrgVOID ReleaseMemory(DEVICE_DATA * , WORKING_TABLE_DATA* ); 44209ff23fSmrg#endif 45209ff23fSmrgCD_STATUS ParseTable(DEVICE_DATA* pDeviceData, UINT8 IndexInMasterTable); 46209ff23fSmrg//CD_STATUS CD_MainLoop(PARSER_TEMP_DATA_POINTER pParserTempData); 47209ff23fSmrgCD_STATUS Main_Loop(DEVICE_DATA* pDeviceData,UINT16 *MasterTableOffset,UINT8 IndexInMasterTable); 48209ff23fSmrgUINT16* GetCommandMasterTablePointer(DEVICE_DATA* pDeviceData); 49b7e1c893SmrgATOM_TABLE_ATTRIBUTE GetCommandTableAttribute(UINT8 *pTableHeader); 50209ff23fSmrg#endif //CD_DEFINITIONS 51