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

Quelle  dbg.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0
/*
 * MIPS-specific debug support for pre-boot environment
 *
 * NOTE: putc() is board specific, if your board have a 16550 compatible uart,
 * please select SYS_SUPPORTS_ZBOOT_UART16550 for your machine. otherwise, you
 * need to implement your own putc().
 */

#include <linux/compiler.h>
#include <linux/types.h>

#include "decompress.h"

void __weak putc(char c)
{
}

void puts(const char *s)
{
 char c;
 while ((c = *s++) != '\0') {
  putc(c);
  if (c == '\n')
   putc('\r');
 }
}

void puthex(unsigned long long val)
{

 unsigned char buf[10];
 int i;
 for (i = 7; i >= 0; i--) {
  buf[i] = "0123456789ABCDEF"[val & 0x0F];
  val >>= 4;
 }
 buf[8] = '\0';
 puts(buf);
}

Messung V0.5
C=95 H=75 G=85

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