[BOOTVID]

* Remove one time inclusions from the main header and put them back where they belong.
* Improve header inclusions.
CORE-7716

svn path=/trunk/; revision=61841
This commit is contained in:
Amine Khaldi 2014-01-26 20:24:59 +00:00
parent 88daaeca46
commit ae7c4bf21d
4 changed files with 10 additions and 18 deletions

View file

@ -1,6 +1,7 @@
#include "precomp.h"
#define NDEBUG
#include "debug.h"
#include <debug.h>
#define LCDTIMING0_PPL(x) ((((x) / 16 - 1) & 0x3f) << 2)
#define LCDTIMING1_LPP(x) (((x) & 0x3ff) - 1)

View file

@ -1,5 +1,8 @@
#include "precomp.h"
#include <ntifs.h>
#include <ndk/halfuncs.h>
/* PRIVATE FUNCTIONS *********************************************************/
BOOLEAN
@ -472,4 +475,3 @@ VidResetDisplay(IN BOOLEAN HalReset)
InitializePalette();
VidSolidColorFill(0, 0, 639, 479, 0);
}

View file

@ -1152,4 +1152,3 @@ VidSolidColorFill(IN ULONG Left,
}
}
}

View file

@ -1,26 +1,18 @@
#include "ntddk.h"
#include "ntifs.h"
#include "arc/arc.h"
#include "halfuncs.h"
#include "drivers/bootvid/bootvid.h"
#include "ioaccess.h"
#include <wdm.h>
#include <drivers/bootvid/bootvid.h>
/* Define if FontData has upside down characters */
#undef CHAR_GEN_UPSIDE_DOWN
#define BOOTCHAR_HEIGHT 13
//
// Command Stream Definitions
//
/* Command Stream Definitions */
#define CMD_STREAM_WRITE 0x0
#define CMD_STREAM_WRITE_ARRAY 0x2
#define CMD_STREAM_USHORT 0x4
#define CMD_STREAM_READ 0x8
//
// Bitmap Header
//
/* Bitmap Header */
typedef struct tagBITMAPINFOHEADER
{
ULONG biSize;
@ -42,9 +34,7 @@ InitializePalette(
VOID
);
//
// Globals
//
/* Globals */
extern USHORT AT_Initialization[];
extern ULONG curr_x;
extern ULONG curr_y;