diff options
author | peter <peter@FreeBSD.org> | 2003-05-23 05:10:49 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-05-23 05:10:49 +0000 |
commit | 4981efa79316b39f50aa111568693e9a83442475 (patch) | |
tree | c79122845edd253084dc1ddd6fe5c0569f03067f /sys/dev/fb | |
parent | 99d1672b3def2c3d6db003bd02d138ac0e07ca53 (diff) | |
download | FreeBSD-src-4981efa79316b39f50aa111568693e9a83442475.zip FreeBSD-src-4981efa79316b39f50aa111568693e9a83442475.tar.gz |
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)
Diffstat (limited to 'sys/dev/fb')
-rw-r--r-- | sys/dev/fb/vga.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fb/vga.c b/sys/dev/fb/vga.c index 7c0627f..945428f 100644 --- a/sys/dev/fb/vga.c +++ b/sys/dev/fb/vga.c @@ -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; |