cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

global.h (1629B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
      4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
      5
      6 */
      7
      8#ifndef __GLOBAL_H__
      9#define __GLOBAL_H__
     10
     11#include <linux/fb.h>
     12#include <linux/delay.h>
     13#include <linux/ioport.h>
     14#include <linux/pci.h>
     15#include <linux/io.h>
     16#include <linux/uaccess.h>
     17#include <linux/init.h>
     18#include <linux/proc_fs.h>
     19#include <linux/console.h>
     20#include <linux/timer.h>
     21
     22#ifdef CONFIG_X86
     23#include <asm/olpc.h>
     24#else
     25#define machine_is_olpc(x) 0
     26#endif
     27
     28#include "debug.h"
     29
     30#include "viafbdev.h"
     31#include "chip.h"
     32#include "accel.h"
     33#include "share.h"
     34#include "dvi.h"
     35#include "viamode.h"
     36#include "hw.h"
     37
     38#include "lcd.h"
     39#include "ioctl.h"
     40#include "via_utility.h"
     41#include "vt1636.h"
     42#include "tblDPASetting.h"
     43
     44/* External struct*/
     45
     46extern int viafb_platform_epia_dvi;
     47extern int viafb_device_lcd_dualedge;
     48extern int viafb_bus_width;
     49extern int viafb_display_hardware_layout;
     50extern struct offset offset_reg;
     51extern struct viafb_par *viaparinfo;
     52extern struct viafb_par *viaparinfo1;
     53extern struct fb_info *viafbinfo;
     54extern struct fb_info *viafbinfo1;
     55extern int viafb_DeviceStatus;
     56extern int viafb_refresh;
     57extern int viafb_refresh1;
     58extern int viafb_lcd_dsp_method;
     59extern int viafb_lcd_mode;
     60
     61extern int viafb_CRT_ON;
     62extern unsigned int viafb_second_xres;
     63extern unsigned int viafb_second_yres;
     64extern int viafb_hotplug_Xres;
     65extern int viafb_hotplug_Yres;
     66extern int viafb_hotplug_bpp;
     67extern int viafb_hotplug_refresh;
     68extern int viafb_primary_dev;
     69
     70extern int viafb_lcd_panel_id;
     71
     72#endif /* __GLOBAL_H__ */