Low risk amd64 fix. Use a vm_offset_t for the virtual location of the

buffer space instead of a u_int32_t.  Otherwise the upper 32 bits of
the address space get truncated and syscons blows up.

Approved by:	re (safe, low risk amd64 fixes)
This commit is contained in:
Peter Wemm 2003-05-23 05:10:49 +00:00
parent 9f0c4ab393
commit 637068b1d3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115253

View File

@ -1792,7 +1792,7 @@ vga_save_font(video_adapter_t *adp, int page, int fontsize, u_char *data,
{
#ifndef VGA_NO_FONT_LOADING
u_char buf[PARAM_BUFSIZE];
u_int32_t segment;
vm_offset_t segment;
int c;
#ifdef VGA_ALT_SEQACCESS
int s;
@ -1872,7 +1872,7 @@ vga_load_font(video_adapter_t *adp, int page, int fontsize, u_char *data,
{
#ifndef VGA_NO_FONT_LOADING
u_char buf[PARAM_BUFSIZE];
u_int32_t segment;
vm_offset_t segment;
int c;
#ifdef VGA_ALT_SEQACCESS
int s;