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

secvar-ops.c (364B)


      1// SPDX-License-Identifier: GPL-2.0
      2/*
      3 * Copyright (C) 2019 IBM Corporation
      4 * Author: Nayna Jain
      5 *
      6 * This file initializes secvar operations for PowerPC Secureboot
      7 */
      8
      9#include <linux/cache.h>
     10#include <asm/secvar.h>
     11
     12const struct secvar_operations *secvar_ops __ro_after_init;
     13
     14void set_secvar_ops(const struct secvar_operations *ops)
     15{
     16	secvar_ops = ops;
     17}