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

simatic-ipc-base.h (676B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Siemens SIMATIC IPC drivers
      4 *
      5 * Copyright (c) Siemens AG, 2018-2021
      6 *
      7 * Authors:
      8 *  Henning Schild <henning.schild@siemens.com>
      9 *  Gerd Haeussler <gerd.haeussler.ext@siemens.com>
     10 */
     11
     12#ifndef __PLATFORM_DATA_X86_SIMATIC_IPC_BASE_H
     13#define __PLATFORM_DATA_X86_SIMATIC_IPC_BASE_H
     14
     15#include <linux/types.h>
     16
     17#define SIMATIC_IPC_DEVICE_NONE 0
     18#define SIMATIC_IPC_DEVICE_227D 1
     19#define SIMATIC_IPC_DEVICE_427E 2
     20#define SIMATIC_IPC_DEVICE_127E 3
     21#define SIMATIC_IPC_DEVICE_227E 4
     22
     23struct simatic_ipc_platform {
     24	u8	devmode;
     25};
     26
     27u32 simatic_ipc_get_membase0(unsigned int p2sb);
     28
     29#endif /* __PLATFORM_DATA_X86_SIMATIC_IPC_BASE_H */