Initial upstream commit
The history contained unlicensed code so everything got squashed, sorry.
Change-Id: I9f5775208f9df6fb29074bf3bc498f68cb17b3a0
Signed-off-by: Nico Huber <nico.huber@secunet.com>
diff --git a/common/hw-gfx-gma-connectors.ads b/common/hw-gfx-gma-connectors.ads
new file mode 100644
index 0000000..91c2801
--- /dev/null
+++ b/common/hw-gfx-gma-connectors.ads
@@ -0,0 +1,36 @@
+--
+-- Copyright (C) 2015-2016 secunet Security Networks AG
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; version 2 of the License.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+
+private package HW.GFX.GMA.Connectors is
+
+ pragma Warnings (GNATprove, Off, "unused variable ""P*""",
+ Reason => "Needed for a common interface");
+ procedure Pre_On
+ (Port_Cfg : in Port_Config;
+ PLL_Hint : in Word32;
+ Pipe_Hint : in Word32;
+ Success : out Boolean);
+
+ procedure Post_On
+ (Port_Cfg : in Port_Config;
+ PLL_Hint : in Word32;
+ Success : out Boolean);
+ pragma Warnings (GNATprove, On, "unused variable ""P*""");
+
+ procedure Pre_Off (Port_Cfg : Port_Config);
+ procedure Post_Off (Port_Cfg : Port_Config);
+
+ procedure Pre_All_Off;
+ procedure Post_All_Off;
+
+end HW.GFX.GMA.Connectors;