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

pc873xx.h (627B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2
      3#ifndef _PC873xx_H_
      4#define _PC873xx_H_
      5
      6/*
      7 * Control Register Values
      8 */
      9#define REG_FER	0x00
     10#define REG_FAR	0x01
     11#define REG_PTR	0x02
     12#define REG_FCR	0x03
     13#define REG_PCR	0x04
     14#define REG_KRR	0x05
     15#define REG_PMC	0x06
     16#define REG_TUP	0x07
     17#define REG_SID	0x08
     18#define REG_ASC	0x09
     19#define REG_IRC	0x0e
     20
     21/*
     22 * Model numbers
     23 */
     24#define PC87303	0
     25#define PC87306	1
     26#define PC87312	2
     27#define PC87332	3
     28#define PC87334	4
     29
     30int pc873xx_probe(void);
     31unsigned int pc873xx_get_base(void);
     32char *pc873xx_get_model(void);
     33void pc873xx_enable_epp19(void);
     34void pc873xx_enable_ide(void);
     35
     36#endif