Changeset 282f4724 in mainline for generic/printf.h


Ignore:
Timestamp:
2006-06-25T21:02:16Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ce8725be
Parents:
7431e867
Message:

Cleanup in the boot infrastructure.
This commit tries to separate generic stuff from mips32 specific stuff.
Other architectures will follow.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • generic/printf.h

    r7431e867 r282f4724  
    2727 */
    2828
    29 #ifndef __PRINTF_H__
    30 #define __PRINTF_H__
     29#ifndef PRINTF_H__
     30#define PRINTF_H__
    3131
    3232#define INT8    1
     
    3535#define INT64   8
    3636
    37 typedef signed char __s8;
     37extern void puts(const char *str);
     38extern void printf(const char *fmt, ...);
    3839
    39 typedef unsigned char __u8;
    40 typedef unsigned short __u16;
    41 typedef unsigned int __u32;
    42 typedef unsigned long long __u64;
    43 
    44 typedef __u32 __address;
    45 typedef __u32 __native;
    46 
    47 typedef char *char_ptr;
    48 
    49 void puts(const char *str);
    50 void printf(const char *fmt, ...);
     40extern void write(const char *str, const int len);
    5141
    5242#endif
Note: See TracChangeset for help on using the changeset viewer.