repo.or.cz
/
wrt350n-kernel.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
x86: fix bogus KERN_ALERT on oops
[wrt350n-kernel.git]
/
arch
/
mips
/
qemu
/
q-setup.c
blob
23d34c1917c00fa07208f18aea99d0a482ca36b7
1
#include <linux/init.h>
2
3
#include <asm/i8253.h>
4
#include <asm/io.h>
5
#include <asm/time.h>
6
7
extern
void
qemu_reboot_setup
(
void
);
8
9
#define QEMU_PORT_BASE 0xb4000000
10
11
const char
*
get_system_type
(
void
)
12
{
13
return
"Qemu"
;
14
}
15
16
void
__init
plat_time_init
(
void
)
17
{
18
setup_pit_timer
();
19
}
20
21
void
__init
plat_mem_setup
(
void
)
22
{
23
set_io_port_base
(
QEMU_PORT_BASE
);
24
qemu_reboot_setup
();
25
}