projects
/
linux-2.6
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw
[linux-2.6]
/
arch
/
mips
/
qemu
/
q-setup.c
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
}