Fixed compilation warnings with option VGA_NO_MODE_CHANGE.
PR: kern/71130
This commit is contained in:
parent
f6370f2735
commit
b7b28d26c4
@ -467,7 +467,6 @@ static int comp_adpregs(u_char *buf1, u_char *buf2);
|
||||
static int probe_adapters(void);
|
||||
static int set_line_length(video_adapter_t *adp, int pixel);
|
||||
static int set_display_start(video_adapter_t *adp, int x, int y);
|
||||
static void filll_io(int val, vm_offset_t d, size_t size);
|
||||
|
||||
#ifndef VGA_NO_MODE_CHANGE
|
||||
#ifdef VGA_WIDTH90
|
||||
@ -482,6 +481,7 @@ static void set_normal_mode(video_adapter_t *adp, u_char *buf);
|
||||
#endif
|
||||
|
||||
#ifndef VGA_NO_MODE_CHANGE
|
||||
static void filll_io(int val, vm_offset_t d, size_t size);
|
||||
static void planar_fill(video_adapter_t *adp, int val);
|
||||
static void packed_fill(video_adapter_t *adp, int val);
|
||||
static void direct_fill(video_adapter_t *adp, int val);
|
||||
@ -1326,6 +1326,7 @@ set_display_start(video_adapter_t *adp, int x, int y)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef VGA_NO_MODE_CHANGE
|
||||
#if defined(__i386__) || defined(__amd64__) /* XXX */
|
||||
static void
|
||||
fill(int val, void *d, size_t size)
|
||||
@ -1345,6 +1346,7 @@ filll_io(int val, vm_offset_t d, size_t size)
|
||||
d += sizeof(u_int32_t);
|
||||
}
|
||||
}
|
||||
#endif /* !VGA_NO_MODE_CHANGE */
|
||||
|
||||
/* entry points */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user