Revision: 16132
http://sourceforge.net/p/edk2/code/16132
Author: oliviermartin
Date: 2014-09-18 17:52:37 +0000 (Thu, 18 Sep 2014)
Log Message:
-----------
ArmVirtualizationPkg: add Include/ArmPlatform.h
This include file contains platform specific defines, and is shared by
various modules.
Contributed-under: TianoCore Contribution Agreement 1.0
Acked-by: Laszlo Ersek <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-By: Olivier Martin <[email protected]>
Added Paths:
-----------
trunk/edk2/ArmPlatformPkg/ArmVirtualizationPkg/
trunk/edk2/ArmPlatformPkg/ArmVirtualizationPkg/Include/
trunk/edk2/ArmPlatformPkg/ArmVirtualizationPkg/Include/ArmPlatform.h
Added: trunk/edk2/ArmPlatformPkg/ArmVirtualizationPkg/Include/ArmPlatform.h
===================================================================
--- trunk/edk2/ArmPlatformPkg/ArmVirtualizationPkg/Include/ArmPlatform.h
(rev 0)
+++ trunk/edk2/ArmPlatformPkg/ArmVirtualizationPkg/Include/ArmPlatform.h
2014-09-18 17:52:37 UTC (rev 16132)
@@ -0,0 +1,33 @@
+/** @file
+* Header defining platform constants (Base addresses, sizes, flags)
+*
+* Copyright (c) 2011, ARM Limited. All rights reserved.
+* Copyright (c) 2014, Linaro Limited
+*
+* This program and the accompanying materials
+* are licensed and made available under the terms and conditions of the BSD
License
+* which accompanies this distribution. The full text of the license may be
found at
+* http://opensource.org/licenses/bsd-license.php
+*
+* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR
IMPLIED.
+*
+**/
+
+#ifndef __PLATFORM_H__
+#define __PLATFORM_H__
+
+//
+// We don't care about this value, but the PL031 driver depends on the macro
+// to exist: it will pass it on to our ArmPlatformSysConfigLib:ConfigGet()
+// function, which just returns EFI_UNSUPPORTED.
+//
+#define SYS_CFG_RTC 0x0
+
+#define QEMU_NOR_BLOCK_SIZE SIZE_256KB
+#define QEMU_NOR0_BASE 0x0
+#define QEMU_NOR0_SIZE SIZE_64MB
+#define QEMU_NOR1_BASE 0x04000000
+#define QEMU_NOR1_SIZE SIZE_64MB
+
+#endif
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits