vgareg.h (199229) | vgareg.h (201223) |
---|---|
1/*- 2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/fb/vgareg.h 199229 2009-11-12 17:56:56Z jkim $ | 26 * $FreeBSD: head/sys/dev/fb/vgareg.h 201223 2009-12-29 21:51:28Z rnoland $ |
27 */ 28 29#ifndef _DEV_FB_VGAREG_H_ 30#define _DEV_FB_VGAREG_H_ 31 32/* physical addresses */ 33#define MDA_BUF_BASE 0xb0000 34#define MDA_BUF_SIZE 0x08000 --- 48 unchanged lines hidden (view full) --- 83int vga_open(struct cdev *dev, vga_softc_t *sc, int flag, int mode, 84 struct thread *td); 85int vga_close(struct cdev *dev, vga_softc_t *sc, int flag, int mode, 86 struct thread *td); 87int vga_read(struct cdev *dev, vga_softc_t *sc, struct uio *uio, int flag); 88int vga_write(struct cdev *dev, vga_softc_t *sc, struct uio *uio, int flag); 89int vga_ioctl(struct cdev *dev, vga_softc_t *sc, u_long cmd, caddr_t arg, 90 int flag, struct thread *td); | 27 */ 28 29#ifndef _DEV_FB_VGAREG_H_ 30#define _DEV_FB_VGAREG_H_ 31 32/* physical addresses */ 33#define MDA_BUF_BASE 0xb0000 34#define MDA_BUF_SIZE 0x08000 --- 48 unchanged lines hidden (view full) --- 83int vga_open(struct cdev *dev, vga_softc_t *sc, int flag, int mode, 84 struct thread *td); 85int vga_close(struct cdev *dev, vga_softc_t *sc, int flag, int mode, 86 struct thread *td); 87int vga_read(struct cdev *dev, vga_softc_t *sc, struct uio *uio, int flag); 88int vga_write(struct cdev *dev, vga_softc_t *sc, struct uio *uio, int flag); 89int vga_ioctl(struct cdev *dev, vga_softc_t *sc, u_long cmd, caddr_t arg, 90 int flag, struct thread *td); |
91int vga_mmap(struct cdev *dev, vga_softc_t *sc, vm_offset_t offset, 92 vm_offset_t *paddr, int prot); | 91int vga_mmap(struct cdev *dev, vga_softc_t *sc, vm_ooffset_t offset, 92 vm_offset_t *paddr, int prot, vm_memattr_t *memattr); |
93#endif 94 95extern int (*vga_sub_configure)(int flags); 96 97#endif /* _KERNEL */ 98 99#endif /* _DEV_FB_VGAREG_H_ */ | 93#endif 94 95extern int (*vga_sub_configure)(int flags); 96 97#endif /* _KERNEL */ 98 99#endif /* _DEV_FB_VGAREG_H_ */ |