mdpy.c (a23e1966932464e1c5226cb9ac4ce1d5fc10ba22) | mdpy.c (0756bec2e45b206ccb5fc3e8791c08d696dd06f7) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Mediated virtual PCI display host device driver 4 * 5 * See mdpy-defs.h for device specs 6 * 7 * (c) Gerd Hoffmann <kraxel@redhat.com> 8 * --- 26 unchanged lines hidden (view full) --- 35#define MDPY_CONFIG_SPACE_SIZE 0xff 36#define MDPY_MEMORY_BAR_OFFSET PAGE_SIZE 37#define MDPY_DISPLAY_REGION 16 38 39#define STORE_LE16(addr, val) (*(u16 *)addr = val) 40#define STORE_LE32(addr, val) (*(u32 *)addr = val) 41 42 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Mediated virtual PCI display host device driver 4 * 5 * See mdpy-defs.h for device specs 6 * 7 * (c) Gerd Hoffmann <kraxel@redhat.com> 8 * --- 26 unchanged lines hidden (view full) --- 35#define MDPY_CONFIG_SPACE_SIZE 0xff 36#define MDPY_MEMORY_BAR_OFFSET PAGE_SIZE 37#define MDPY_DISPLAY_REGION 16 38 39#define STORE_LE16(addr, val) (*(u16 *)addr = val) 40#define STORE_LE32(addr, val) (*(u32 *)addr = val) 41 42 |
43MODULE_DESCRIPTION("Mediated virtual PCI display host device driver"); |
|
43MODULE_LICENSE("GPL v2"); 44 45#define MDPY_TYPE_1 "vga" 46#define MDPY_TYPE_2 "xga" 47#define MDPY_TYPE_3 "hd" 48 49static struct mdpy_type { 50 struct mdev_type type; --- 712 unchanged lines hidden --- | 44MODULE_LICENSE("GPL v2"); 45 46#define MDPY_TYPE_1 "vga" 47#define MDPY_TYPE_2 "xga" 48#define MDPY_TYPE_3 "hd" 49 50static struct mdpy_type { 51 struct mdev_type type; --- 712 unchanged lines hidden --- |