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

hwtest.h (467B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/* Routines to test for presence/absence of hardware registers:
      3 * see arch/m68k/mm/hwtest.c.
      4 *  -- PMM <pmaydell@chiark.greenend.org.uk> 05/1998
      5 *
      6 * Removed __init from decls.  We might want them in modules, and
      7 * the code is tiny anyway.  16/5/98 pb
      8 */
      9
     10#ifndef __ASM_HWTEST_H
     11#define __ASM_HWTEST_H
     12
     13extern int hwreg_present(volatile void *regp);
     14extern int hwreg_write(volatile void *regp, unsigned short val);
     15
     16#endif