Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Linux/arch/riscv/include/asm/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 843 B image not shown  

Quelle  irq_stack.h   Sprache: C

 
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _ASM_RISCV_IRQ_STACK_H
#define _ASM_RISCV_IRQ_STACK_H

#include <linux/bug.h>
#include <linux/gfp.h>
#include <linux/kconfig.h>
#include <linux/vmalloc.h>
#include <linux/pgtable.h>
#include <asm/thread_info.h>

DECLARE_PER_CPU(ulong *, irq_stack_ptr);

asmlinkage void call_on_irq_stack(struct pt_regs *regs,
      void (*func)(struct pt_regs *));

#ifdef CONFIG_VMAP_STACK
/*
 * To ensure that VMAP'd stack overflow detection works correctly, all VMAP'd
 * stacks need to have the same alignment.
 */

static inline unsigned long *arch_alloc_vmap_stack(size_t stack_size, int node)
{
 void *p;

 p = __vmalloc_node(stack_size, THREAD_ALIGN, THREADINFO_GFP, node,
   __builtin_return_address(0));
 return kasan_reset_tag(p);
}
#endif /* CONFIG_VMAP_STACK */

#endif /* _ASM_RISCV_IRQ_STACK_H */

Messung V0.5
C=95 H=91 G=92

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© 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.