video.h (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | video.h (33def8498fdde180023444b08e12b72a9efed41d) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* -*- linux-c -*- ------------------------------------------------------- * 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 * Copyright 2007 rPath, Inc. - All Rights Reserved 6 * 7 * ----------------------------------------------------------------------- */ 8 --- 64 unchanged lines hidden (view full) --- 73 int (*probe)(void); 74 struct mode_info *modes; 75 int nmodes; /* Number of probed modes so far */ 76 int unsafe; /* Probing is unsafe, only do after "scan" */ 77 u16 xmode_first; /* Unprobed modes to try to call anyway */ 78 u16 xmode_n; /* Size of unprobed mode range */ 79}; 80 | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* -*- linux-c -*- ------------------------------------------------------- * 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 * Copyright 2007 rPath, Inc. - All Rights Reserved 6 * 7 * ----------------------------------------------------------------------- */ 8 --- 64 unchanged lines hidden (view full) --- 73 int (*probe)(void); 74 struct mode_info *modes; 75 int nmodes; /* Number of probed modes so far */ 76 int unsafe; /* Probing is unsafe, only do after "scan" */ 77 u16 xmode_first; /* Unprobed modes to try to call anyway */ 78 u16 xmode_n; /* Size of unprobed mode range */ 79}; 80 |
81#define __videocard struct card_info __attribute__((used,section(".videocards"))) | 81#define __videocard struct card_info __section(".videocards") __attribute__((used)) |
82extern struct card_info video_cards[], video_cards_end[]; 83 84int mode_defined(u16 mode); /* video.c */ 85 86/* Basic video information */ 87#define ADAPTER_CGA 0 /* CGA/MDA/HGC */ 88#define ADAPTER_EGA 1 89#define ADAPTER_VGA 2 --- 29 unchanged lines hidden --- | 82extern struct card_info video_cards[], video_cards_end[]; 83 84int mode_defined(u16 mode); /* video.c */ 85 86/* Basic video information */ 87#define ADAPTER_CGA 0 /* CGA/MDA/HGC */ 88#define ADAPTER_EGA 1 89#define ADAPTER_VGA 2 --- 29 unchanged lines hidden --- |