[PATCH] sched: fix cond_resched_softirq() offset
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / powerpc / xmon / start.c
blob712552c4f24215f263d495c75bbbc2cc1cf72481
1 /*
2 * Copyright (C) 1996 Paul Mackerras.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */
9 #include <asm/machdep.h>
10 #include <asm/udbg.h>
11 #include "nonstdio.h"
13 void xmon_map_scc(void)
17 int xmon_write(void *ptr, int nb)
19 return udbg_write(ptr, nb);
22 int xmon_readchar(void)
24 if (udbg_getc)
25 return udbg_getc();
26 return -1;
29 int xmon_read_poll(void)
31 if (udbg_getc_poll)
32 return udbg_getc_poll();
33 return -1;