blob: 740913e528f6f31b72e516a93c9c27cab736c232 [file] [log] [blame]
Arthur Heymans960e2392026-03-03 19:45:24 +01001--
2-- Copyright (C) 2026 Arthur Heymans <arthur@aheymans.xyz>
3--
4-- This program is free software; you can redistribute it and/or modify
5-- it under the terms of the GNU General Public License as published by
6-- the Free Software Foundation; either version 2 of the License, or
7-- (at your option) any later version.
8--
9-- This program is distributed in the hope that it will be useful,
10-- but WITHOUT ANY WARRANTY; without even the implied warranty of
11-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-- GNU General Public License for more details.
13--
14
15with HW.GFX.GMA.Config;
16
17private package HW.GFX.GMA.GMCH is
18
19 GMCH_PORT_PIPE_SELECT_SHIFT : constant := 30;
20 GMCH_PORT_PIPE_SELECT_MASK : constant := 1 * 2 ** 30;
21 type GMCH_PORT_PIPE_SELECT_Array is array (Pipe_Index) of Word32;
22 GMCH_PORT_PIPE_SELECT : constant GMCH_PORT_PIPE_SELECT_Array :=
23 (Primary => 0 * 2 ** GMCH_PORT_PIPE_SELECT_SHIFT,
24 Secondary => 1 * 2 ** GMCH_PORT_PIPE_SELECT_SHIFT,
25 Tertiary => 0);
26
27end HW.GFX.GMA.GMCH;