repo.or.cz
/
openbios.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ppc64: Re-enable SF bit after returning from ELF binary
[openbios.git]
/
include
/
sysinclude.h
blob
a8b828b4fe4fbade82f9e436c417ce0ce5ae6b08
1
#ifndef __SYSINCLUDE_H
2
#define __SYSINCLUDE_H
3
4
#ifdef BOOTSTRAP
5
#include
"asm/types.h"
6
#include <stdio.h>
7
#include <stdlib.h>
8
#include <string.h>
9
#else
/* BOOTSTRAP */
10
#include
"libc/stdlib.h"
11
#include
"libc/string.h"
12
#endif
/* BOOTSTRAP */
13
14
extern
int
printk
(
const char
*
fmt
, ... )
\
15
__attribute__
((
format
(
printf
,
1
,
2
)));
16
#ifdef BOOTSTRAP
17
#define printk printf
18
#endif
19
20
#endif
/* __SYSINCLUDE_H */