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:
parent
9f0c4ab393
commit
637068b1d3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user