| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 1 | -- |
| 2 | -- Copyright (C) 2015-2016 secunet Security Networks AG |
| 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 |
| Nico Huber | 125a29e | 2016-10-18 00:23:54 +0200 | [diff] [blame] | 6 | -- the Free Software Foundation; either version 2 of the License, or |
| 7 | -- (at your option) any later version. |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 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 | package HW.GFX.DP_Defs is |
| 16 | |
| 17 | type Aux_Message_Command is mod 2 ** 4; |
| 18 | type Aux_Message_Address is mod 2 ** 20; |
| 19 | |
| 20 | subtype Aux_Payload_Length is Natural range 0 .. 16; |
| 21 | subtype Aux_Payload_Index is Natural range 0 .. Aux_Payload_Length'Last - 1; |
| 22 | subtype Aux_Payload is Buffer (Aux_Payload_Index); |
| 23 | |
| 24 | subtype Aux_Request_Length is Natural range 3 .. 20; |
| 25 | subtype Aux_Request_Index is Natural range 0 .. Aux_Request_Length'Last - 1; |
| 26 | subtype Aux_Request is Buffer (Aux_Request_Index); |
| 27 | |
| 28 | subtype Aux_Response_Length is Natural range 1 .. 17; |
| 29 | subtype Aux_Response_Index is |
| 30 | Natural range 0 .. Aux_Response_Length'Last - 1; |
| 31 | subtype Aux_Response is Buffer (Aux_Response_Index); |
| 32 | |
| 33 | end HW.GFX.DP_Defs; |