Use KERNBASE for locating stuff in kernel virtual memory, not hard coded

constants.
This commit is contained in:
Rodney W. Grimes 1993-10-12 06:59:36 +00:00
parent 963a0adea5
commit b05fb556cf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=583
3 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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