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

acpi_nfit_test.c (435B)


      1// SPDX-License-Identifier: GPL-2.0
      2// Copyright(c) 2018 Intel Corporation. All rights reserved.
      3
      4#include <linux/module.h>
      5#include <linux/printk.h>
      6#include "watermark.h"
      7#include <nfit.h>
      8
      9nfit_test_watermark(acpi_nfit);
     10
     11/* strong / override definition of nfit_intel_shutdown_status */
     12void nfit_intel_shutdown_status(struct nfit_mem *nfit_mem)
     13{
     14	set_bit(NFIT_MEM_DIRTY_COUNT, &nfit_mem->flags);
     15	nfit_mem->dirty_shutdown = 42;
     16}