mirror of
https://github.com/reactos/reactos.git
synced 2025-06-19 02:25:27 +00:00
[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:
parent
1c706d7483
commit
1610367fe2
10 changed files with 92 additions and 33 deletions
|
@ -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_
|
||||
|
|
12
sdk/include/reactos/drivers/bootvid/display.h
Normal file
12
sdk/include/reactos/drivers/bootvid/display.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue