blob: ff3d343c833950780a13975e1753490d2c55c9b4 [file] [log] [blame]
Nico Huber83693c82016-10-08 22:17:55 +02001--
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 Huber125a29e2016-10-18 00:23:54 +02006-- the Free Software Foundation; either version 2 of the License, or
7-- (at your option) any later version.
Nico Huber83693c82016-10-08 22:17:55 +02008--
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 System;
16
Nico Huber83693c82016-10-08 22:17:55 +020017package HW.GFX.Framebuffer_Filler
Nico Hubercf88f3d2018-06-05 13:27:34 +020018with
19 Abstract_State => ((State with External), Base_Address),
20 Initializes => Base_Address
Nico Huber83693c82016-10-08 22:17:55 +020021is
22
23 procedure Fill (Linear_FB : Word64; Framebuffer : Framebuffer_Type)
24 with
25 Pre =>
26 Framebuffer.Width <= Framebuffer.Stride;
27
28end HW.GFX.Framebuffer_Filler;