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

Quelle  dbg_stackkill.S   Sprache: Sparc

 
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * arch/alpha/lib/dbg_stackkill.S
 * Contributed by Richard Henderson (rth@cygnus.com)
 *
 * Clobber the balance of the kernel stack, hoping to catch
 * uninitialized local variables in the act.
 */


#include <asm/asm-offsets.h>

 .text
 .set noat

 .align 5
 .globl _mcount
 .ent _mcount
_mcount:
 .frame $30, 0, $28, 0
 .prologue 0

 ldi $0, 0xdeadbeef
 lda $2, -STACK_SIZE
 sll $0, 32, $1
 and $30, $2, $2
 or $0, $1, $0
 lda $2, TASK_SIZE($2)
 cmpult $2, $30, $1
 beq $1, 2f
1: stq $0, 0($2)
 addq $2, 8, $2
 cmpult $2, $30, $1
 bne $1, 1b
2: ret ($28)

 .end _mcount

Messung V0.5
C=95 H=100 G=97

¤ Dauer der Verarbeitung: 0.11 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.