| Arthur Heymans | 960e239 | 2026-03-03 19:45:24 +0100 | [diff] [blame^] | 1 | -- |
| 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 | |
| 15 | with HW.GFX.GMA.Config; |
| 16 | |
| 17 | private 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 | |
| 27 | end HW.GFX.GMA.GMCH; |