Make this compile on ia64.
This commit is contained in:
parent
79b2d7690f
commit
885f6ac360
@ -162,7 +162,7 @@ vga_mmap(dev_t dev, vga_softc_t *sc, vm_offset_t offset, int prot)
|
||||
#endif
|
||||
|
||||
/* architecture dependent option */
|
||||
#ifdef __alpha__
|
||||
#if defined(__alpha__) || defined(__ia64__)
|
||||
#define VGA_NO_BIOS 1
|
||||
#endif
|
||||
|
||||
@ -2469,6 +2469,9 @@ vga_mmap_buf(video_adapter_t *adp, vm_offset_t offset, int prot)
|
||||
#ifdef __alpha__
|
||||
return alpha_btop(adp->va_info.vi_window + offset);
|
||||
#endif
|
||||
#ifdef __ia64__
|
||||
return ia64_btop(adp->va_info.vi_window + offset);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifndef VGA_NO_MODE_CHANGE
|
||||
|
Loading…
x
Reference in New Issue
Block a user