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

segment.h (285B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __UM_SEGMENT_H
      3#define __UM_SEGMENT_H
      4
      5extern int host_gdt_entry_tls_min;
      6
      7#define GDT_ENTRY_TLS_ENTRIES 3
      8#define GDT_ENTRY_TLS_MIN host_gdt_entry_tls_min
      9#define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1)
     10
     11#endif