projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
48ffc23
)
vga(4): Fix truncation of 64-bit addresses.
author
Jordan Gordeev <jgordeev@dir.bg>
Sun, 26 Apr 2009 19:11:57 +0000 (22:11 +0300)
committer
Jordan Gordeev <jgordeev@dir.bg>
Sun, 26 Apr 2009 19:11:57 +0000 (22:11 +0300)
From FreeBSD revision 115253.
sys/dev/video/fb/vga.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/dev/video/fb/vga.c
b/sys/dev/video/fb/vga.c
index
fe5bc18
..
11cb82c
100644
(file)
--- a/
sys/dev/video/fb/vga.c
+++ b/
sys/dev/video/fb/vga.c
@@
-1338,7
+1338,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
u_char val = 0;
@@
-1411,7
+1411,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
u_char val = 0;