ioremap.c
来自「这是一个SIGMA方案的PMP播放器的UCLINUX程序,可播放DVD,VCD,」· C语言 代码 · 共 27 行
C
27 行
/* * 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 + =
减小字号Ctrl + -
显示快捷键?