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

sharpsl_param.h (689B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Hardware parameter area specific to Sharp SL series devices
      4 *
      5 * Copyright (c) 2005 Richard Purdie
      6 *
      7 * Based on Sharp's 2.4 kernel patches
      8 */
      9
     10struct sharpsl_param_info {
     11  unsigned int comadj_keyword;
     12  unsigned int comadj;
     13
     14  unsigned int uuid_keyword;
     15  unsigned char uuid[16];
     16
     17  unsigned int touch_keyword;
     18  unsigned int touch_xp;
     19  unsigned int touch_yp;
     20  unsigned int touch_xd;
     21  unsigned int touch_yd;
     22
     23  unsigned int adadj_keyword;
     24  unsigned int adadj;
     25
     26  unsigned int phad_keyword;
     27  unsigned int phadadj;
     28} __attribute__((packed));
     29
     30
     31extern struct sharpsl_param_info sharpsl_param;
     32extern void sharpsl_save_param(void);
     33