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

fbcon.h (2136B)


      1#ifndef _LINUX_FBCON_H
      2#define _LINUX_FBCON_H
      3
      4#ifdef CONFIG_FRAMEBUFFER_CONSOLE
      5void __init fb_console_init(void);
      6void __exit fb_console_exit(void);
      7int fbcon_fb_registered(struct fb_info *info);
      8void fbcon_fb_unregistered(struct fb_info *info);
      9void fbcon_fb_unbind(struct fb_info *info);
     10void fbcon_suspended(struct fb_info *info);
     11void fbcon_resumed(struct fb_info *info);
     12int fbcon_mode_deleted(struct fb_info *info,
     13		       struct fb_videomode *mode);
     14void fbcon_new_modelist(struct fb_info *info);
     15void fbcon_get_requirement(struct fb_info *info,
     16			   struct fb_blit_caps *caps);
     17void fbcon_fb_blanked(struct fb_info *info, int blank);
     18int  fbcon_modechange_possible(struct fb_info *info,
     19			       struct fb_var_screeninfo *var);
     20void fbcon_update_vcs(struct fb_info *info, bool all);
     21void fbcon_remap_all(struct fb_info *info);
     22int fbcon_set_con2fb_map_ioctl(void __user *argp);
     23int fbcon_get_con2fb_map_ioctl(void __user *argp);
     24#else
     25static inline void fb_console_init(void) {}
     26static inline void fb_console_exit(void) {}
     27static inline int fbcon_fb_registered(struct fb_info *info) { return 0; }
     28static inline void fbcon_fb_unregistered(struct fb_info *info) {}
     29static inline void fbcon_fb_unbind(struct fb_info *info) {}
     30static inline void fbcon_suspended(struct fb_info *info) {}
     31static inline void fbcon_resumed(struct fb_info *info) {}
     32static inline int fbcon_mode_deleted(struct fb_info *info,
     33				     struct fb_videomode *mode) { return 0; }
     34static inline void fbcon_new_modelist(struct fb_info *info) {}
     35static inline void fbcon_get_requirement(struct fb_info *info,
     36					 struct fb_blit_caps *caps) {}
     37static inline void fbcon_fb_blanked(struct fb_info *info, int blank) {}
     38static inline int  fbcon_modechange_possible(struct fb_info *info,
     39				struct fb_var_screeninfo *var) { return 0; }
     40static inline void fbcon_update_vcs(struct fb_info *info, bool all) {}
     41static inline void fbcon_remap_all(struct fb_info *info) {}
     42static inline int fbcon_set_con2fb_map_ioctl(void __user *argp) { return 0; }
     43static inline int fbcon_get_con2fb_map_ioctl(void __user *argp) { return 0; }
     44#endif
     45
     46#endif /* _LINUX_FBCON_H */