Changeset 4872160 in mainline for boot/generic/include/printf.h


Ignore:
Timestamp:
2010-05-04T10:44:55Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
568db0f
Parents:
bb252ca
Message:

new boot infrastructure

  • more code and metadata unification
  • import of up-to-date implementations from the kernel
  • the boot loaders should behave more similarly on all platforms
  • support for deflate compressed (LZ77) boot components
    • this again allows feasible boot images to be created on mips32
  • IA64 is still not booting
    • the broken forked GNU EFI library has been removed, a replacement of the functionality is on its way
File:
1 moved

Legend:

Unmodified
Added
Removed
  • boot/generic/include/printf.h

    rbb252ca r4872160  
    11/*
    2  * Copyright (c) 2006 Martin Decky
     2 * Copyright (c) 2001-2004 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup generic
    30  * @{
    31  */
    3229/** @file
    3330 */
    3431
    35 #ifndef BOOT_PRINTF_H_
    36 #define BOOT_PRINTF_H_
     32#ifndef BOOT_PRINT_H_
     33#define BOOT_PRINT_H_
    3734
    38 #define INT8    1
    39 #define INT16   2
    40 #define INT32   4
    41 #define INT64   8
     35#include <typedefs.h>
     36#include <stdarg.h>
    4237
    43 extern void puts(const char *str);
    44 extern void printf(const char *fmt, ...);
     38#define EOF  (-1)
    4539
    46 extern void write(const char *str, const int len);
     40extern int puts(const char *);
     41extern int printf(const char *, ...);
     42extern int vprintf(const char *, va_list);
    4743
    4844#endif
Note: See TracChangeset for help on using the changeset viewer.