Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  apic_flat_64.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2004 James Cleverdon, IBM.
 *
 * Flat APIC subarch code.
 *
 * Hacked for x86-64 by James Cleverdon from i386 architecture code by
 * Martin Bligh, Andi Kleen, James Bottomley, John Stultz, and
 * James Cleverdon.
 */

#include <linux/export.h>

#include <asm/apic.h>

#include "local.h"

static u32 physflat_get_apic_id(u32 x)
{
 return (x >> 24) & 0xFF;
}

static int physflat_probe(void)
{
 return 1;
}

static int physflat_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
{
 return 1;
}

static struct apic apic_physflat __ro_after_init = {

 .name    = "physical flat",
 .probe    = physflat_probe,
 .acpi_madt_oem_check  = physflat_acpi_madt_oem_check,

 .dest_mode_logical  = false,

 .disable_esr   = 0,

 .cpu_present_to_apicid  = default_cpu_present_to_apicid,

 .max_apic_id   = 0xFE,
 .get_apic_id   = physflat_get_apic_id,

 .calc_dest_apicid  = apic_default_calc_apicid,

 .send_IPI   = default_send_IPI_single_phys,
 .send_IPI_mask   = default_send_IPI_mask_sequence_phys,
 .send_IPI_mask_allbutself = default_send_IPI_mask_allbutself_phys,
 .send_IPI_allbutself  = default_send_IPI_allbutself,
 .send_IPI_all   = default_send_IPI_all,
 .send_IPI_self   = default_send_IPI_self,
 .nmi_to_offline_cpu  = true,

 .read    = native_apic_mem_read,
 .write    = native_apic_mem_write,
 .eoi    = native_apic_mem_eoi,
 .icr_read   = native_apic_icr_read,
 .icr_write   = native_apic_icr_write,
 .wait_icr_idle   = apic_mem_wait_icr_idle,
 .safe_wait_icr_idle  = apic_mem_wait_icr_idle_timeout,
};
apic_driver(apic_physflat);

struct apic *apic __ro_after_init = &apic_physflat;
EXPORT_SYMBOL_GPL(apic);

Messung V0.5
C=98 H=89 G=93

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge