| 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 | with System; |
| 16 | |
| 17 | with HW; |
| 18 | |
| 19 | use type HW.Int32; |
| 20 | |
| 21 | package HW.GFX.Framebuffer_Filler |
| Nico Huber | cf88f3d | 2018-06-05 13:27:34 +0200 | [diff] [blame^] | 22 | with |
| 23 | Abstract_State => ((State with External), Base_Address), |
| 24 | Initializes => Base_Address |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 25 | is |
| 26 | |
| 27 | procedure Fill (Linear_FB : Word64; Framebuffer : Framebuffer_Type) |
| 28 | with |
| 29 | Pre => |
| 30 | Framebuffer.Width <= Framebuffer.Stride; |
| 31 | |
| 32 | end HW.GFX.Framebuffer_Filler; |