[BOOTVID][NTOSKRNL][HALX86] Move hardcoded coordinates of bootvid into one place. (#2504)

Co-Authored-By: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
This commit is contained in:
Dmitry Borisov 2020-04-07 03:48:01 +06:00 committed by Hermès Bélusca-Maïto
parent 1c706d7483
commit 1610367fe2
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
10 changed files with 92 additions and 33 deletions

View file

@ -1,6 +1,17 @@
/*
* PROJECT: ReactOS Boot Video Driver
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Main BOOTVID header.
* COPYRIGHT: Copyright 2007-2020 Alex Ionescu (alex.ionescu@reactos.org)
*/
#ifndef _BOOTVID_
#define _BOOTVID_
#pragma once
#include "display.h"
BOOLEAN
NTAPI
VidInitialize(IN BOOLEAN SetMode);
@ -67,4 +78,4 @@ VidSolidColorFill(IN ULONG Left,
IN ULONG Bottom,
IN UCHAR Color);
#endif
#endif // _BOOTVID_

View file

@ -0,0 +1,12 @@
/*
* PROJECT: ReactOS Boot Video Driver
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Provides display settings for BOOTVID, HAL and NTOSKRNL.
* COPYRIGHT: Copyright 2020 Dmitry Borisov (di.sean@protonmail.com)
*/
#pragma once
/* For default VGA */
#define SCREEN_WIDTH 640
#define SCREEN_HEIGHT 480