📄 core.c
字号:
/* * linux/arch/arm/mach-shark/arch.c * * Architecture specific stuff. */#include <linux/tty.h>#include <linux/delay.h>#include <linux/pm.h>#include <linux/sched.h>#include <linux/mm.h>#include <linux/init.h>#include <asm/elf.h>#include <asm/setup.h>#include <asm/mach-types.h>#include <asm/pgtable.h>#include <asm/page.h>#include <asm/io.h>#include <asm/mach/map.h>#include <asm/mach/arch.h>extern void shark_init_irq(void);static struct map_desc shark_io_desc[] __initdata = { { IO_BASE , IO_START , IO_SIZE , DOMAIN_IO, 0, 1, 0, 0 }, LAST_DESC};static void __init shark_map_io(void){ iotable_init(shark_io_desc);}MACHINE_START(SHARK, "Shark") MAINTAINER("Alexander Schulz") BOOT_MEM(0x08000000, 0x40000000, 0xe0000000) BOOT_PARAMS(0x08003000) MAPIO(shark_map_io) INITIRQ(shark_init_irq)MACHINE_END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -