Patch for comments by bahadir

This commit is contained in:
Amit Mahajan
2009-11-01 00:51:55 +05:30
parent 52d346af40
commit 8d9f5f82d0
30 changed files with 105 additions and 101 deletions

View File

@@ -15,7 +15,7 @@ sys.path.append(PROJRELROOT)
from config.configuration import *
from config.projpaths import *
Import('env', 'arch', 'platform')
Import('env', 'arch')
variant = 'userspace'
@@ -28,7 +28,6 @@ source = \
Glob('src/*.c') + \
Glob('src/sys-' + variant + '/*.c') + \
Glob('src/sys-' + variant + '/arch-' + arch + '/*.c') + \
Glob('src/sys-' + variant + '/arch-' + arch + '/plat-' + platform + '/*.c') + \
Glob('src/arch-' + arch + '/*.c') + \
Glob('src/arch-' + arch + '/*.S') + \
Glob('crt/sys-' + variant + '/arch-' + arch + '/*.[cS]')

View File

@@ -49,7 +49,7 @@
#define PL011_OEIRQ (1 << 10)
/* FIXME: Need to define this somewhere else */
struct pl011_uart;
struct pl011_uart uart;
int pl011_initialise(struct pl011_uart *uart);
int pl011_tx_char(unsigned int base, char c);

View File

@@ -1,10 +1,9 @@
#include <stdio.h>
#include <stdint.h>
int __fputc(int c, FILE *stream);
extern int __fputc(int c, FILE *stream);
static int
ser_out(int c)
static int ser_out(int c)
{
__fputc(c, 0);
if (c == '\n')