mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 14:56:13 +01:00
Use KERNBASE for locating stuff in kernel virtual memory, not hard coded
constants.
This commit is contained in:
parent
963a0adea5
commit
b05fb556cf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=583
@ -87,9 +87,9 @@
|
||||
#define SWITCH_WAIT_ACQ 0x00080
|
||||
|
||||
/* virtual video memory addresses */
|
||||
#define MONO_BUF 0xFE0B0000
|
||||
#define CGA_BUF 0xFE0B8000
|
||||
#define VGA_BUF 0xFE0A0000
|
||||
#define MONO_BUF (KERNBASE + 0xB0000)
|
||||
#define CGA_BUF (KERNBASE + 0xB8000)
|
||||
#define VGA_BUF (KERNBASE + 0xA0000)
|
||||
#define VIDEOMEM 0x000A0000
|
||||
#define MEMSIZE 0x00020000
|
||||
|
||||
|
@ -87,9 +87,9 @@
|
||||
#define SWITCH_WAIT_ACQ 0x00080
|
||||
|
||||
/* virtual video memory addresses */
|
||||
#define MONO_BUF 0xFE0B0000
|
||||
#define CGA_BUF 0xFE0B8000
|
||||
#define VGA_BUF 0xFE0A0000
|
||||
#define MONO_BUF (KERNBASE + 0xB0000)
|
||||
#define CGA_BUF (KERNBASE + 0xB8000)
|
||||
#define VGA_BUF (KERNBASE + 0xA0000)
|
||||
#define VIDEOMEM 0x000A0000
|
||||
#define MEMSIZE 0x00020000
|
||||
|
||||
|
@ -87,9 +87,9 @@
|
||||
#define SWITCH_WAIT_ACQ 0x00080
|
||||
|
||||
/* virtual video memory addresses */
|
||||
#define MONO_BUF 0xFE0B0000
|
||||
#define CGA_BUF 0xFE0B8000
|
||||
#define VGA_BUF 0xFE0A0000
|
||||
#define MONO_BUF (KERNBASE + 0xB0000)
|
||||
#define CGA_BUF (KERNBASE + 0xB8000)
|
||||
#define VGA_BUF (KERNBASE + 0xA0000)
|
||||
#define VIDEOMEM 0x000A0000
|
||||
#define MEMSIZE 0x00020000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user