📄 ioremap.c
字号:
/* * linux/arch/arm/mm/ioremap.c * * Re-map IO memory to kernel address space so that we can access it. * * (C) Copyright 1995 1996 Linus Torvalds * * Hacked for ARM by Phil Blundell <philb@gnu.org> * Hacked to allow all architectures to build, and various cleanups * by Russell King * Hacked for uClinux by Gordon Mcnutt <gmcnutt@ridgerun.com> */#include <linux/types.h>/* * No MMU? No problem. * --gmcnutt */void * __ioremap(unsigned long phys_addr, size_t size, unsigned long flags){ return (void *)phys_addr;}void __iounmap(void *addr){}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -