summaryrefslogtreecommitdiff
path: root/Board/Oem.h
diff options
context:
space:
mode:
authorraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
committerraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
commitb7c51c9cf4864df6aabb99a1ae843becd577237c (patch)
treeeebe9b0d0ca03062955223097e57da84dd618b9a /Board/Oem.h
downloadzprj-b7c51c9cf4864df6aabb99a1ae843becd577237c.tar.xz
init. 1AQQW051HEADmaster
Diffstat (limited to 'Board/Oem.h')
-rw-r--r--Board/Oem.h79
1 files changed, 79 insertions, 0 deletions
diff --git a/Board/Oem.h b/Board/Oem.h
new file mode 100644
index 0000000..1a220f5
--- /dev/null
+++ b/Board/Oem.h
@@ -0,0 +1,79 @@
+//**********************************************************************//
+//**********************************************************************//
+//** **//
+//** (C)Copyright 1985-2009, American Megatrends, Inc. **//
+//** **//
+//** All Rights Reserved. **//
+//** **//
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **//
+//** Phone: (770)-246-8600 **//
+//** **//
+//**********************************************************************//
+//**********************************************************************//
+//**********************************************************************//
+//
+// $Header: /Alaska/BIN/Board/Oem.h 3 2/07/11 4:48p Artems $
+//
+// $Revision: 3 $
+//
+// $Date: 2/07/11 4:48p $
+//
+//**********************************************************************//
+// Revision History
+// ----------------
+// $Log: /Alaska/BIN/Board/Oem.h $
+//
+// 3 2/07/11 4:48p Artems
+// EIP 53374: Replaced tabs with spaces
+//
+// 2 6/25/09 6:09p Robert
+// Updated Comments and function headers
+//
+// 1 6/13/06 4:54p Sivagarn
+// Initial Checkin
+//
+//
+//*****************************************************************************
+
+//<AMI_FHDR_START>
+//----------------------------------------------------------------------------
+//
+// Name: OEM.H
+//
+// Description:
+// This file contains definitions used in OEM porting hooks
+//
+//----------------------------------------------------------------------------
+//<AMI_FHDR_END>
+
+#ifndef _OEM_H //To Avoid this header get compiled twice
+#define _OEM_H
+
+
+//============================================================================
+// MACRO definitions
+#define OEM_PCI_CFG_ADDRESS(bus,dev,func,reg) \
+ ((UINT64) ( (((UINTN)bus) << 24) + (((UINTN)dev) << 16) + (((UINTN)func) << 8) + ((UINTN)reg) ))& 0x00000000ffffffff
+#define OEM_EXTENDED_REGISTER(extreg) (((UINT64)extreg) << 32)
+
+
+//============================================================================
+// Constants
+#define NUM_BITS_IN_ACPI_TIMER 24 // Programmed to 24 not 32
+
+#endif
+
+//**********************************************************************//
+//**********************************************************************//
+//** **//
+//** (C)Copyright 1985-2009, American Megatrends, Inc. **//
+//** **//
+//** All Rights Reserved. **//
+//** **//
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **//
+//** Phone: (770)-246-8600 **//
+//** **//
+//**********************************************************************//
+//**********************************************************************//