Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/arch/x86/virt/svm/   (Linux Kernel Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 898 B image not shown  

Impressum cmdline.c

  Sprache: C
 

// SPDX-License-Identifier: GPL-2.0-only
/*
 * AMD SVM-SEV command line parsing support
 *
 * Copyright (C) 2023 - 2024 Advanced Micro Devices, Inc.
 *
 * Author: Michael Roth <michael.roth@amd.com>
 */


#include <linux/string.h>
#include <linux/printk.h>
#include <linux/cache.h>
#include <linux/cpufeature.h>

#include <asm/sev-common.h>

struct sev_config sev_cfg __read_mostly;

static int __init init_sev_config(char *str)
{
 char *s;

 while ((s = strsep(&str, ","))) {
  if (!strcmp(s, "debug")) {
   sev_cfg.debug = true;
   continue;
  }

  if (!strcmp(s, "nosnp")) {
   if (!cpu_feature_enabled(X86_FEATURE_HYPERVISOR)) {
    setup_clear_cpu_cap(X86_FEATURE_SEV_SNP);
    cc_platform_clear(CC_ATTR_HOST_SEV_SNP);
    continue;
   } else {
    goto warn;
   }
  }

warn:
  pr_info("SEV command-line option '%s' was not recognized\n", s);
 }

 return 1;
}
__setup("sev=", init_sev_config);

Messung V0.5 in Prozent
C=94 H=90 G=91

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.11Bemerkung:  (vorverarbeitet am  2026-06-06) ¤

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.