Original post address: http://blog.chinaunix.net/uid-21289517-id-1828602.html
void * __ ioremap(unsigned long phys_ Addr, signed long size, signed long flags)
entry: phys_ Addr: the initial IO address to be mapped;
Size: the size of the space to be mapped;
Flags: marks related to permissions of IO space to be mapped;
Function: map an IO address space to the virtual address space of the kernel for easy access;
*void ioremap(unsigned long offset, unsigned long size);
Parameter:
offset: physical address
size: the size of the space to be mapped
Return value: page mapping, return virtual address
Iounmap() function to unmap the virtual address;
for example: iounmap (gpsetl0);
Read More:
- Deep learning: derivation of sigmoid function and loss function
- Python – get the information of calling function from called function
- Golang timer function executes a function every few minutes
- error C4996: ‘scanf‘: This function or variable may be unsafe.Visual Studio Series compilers report errors using scanf function
- C / C + + rounding function: round function
- Using curl to generate gnutls_ Handshake() failed: error in the pull function or gnutls recv error: error in the pull function
- The C language qsort() function reports an error for overflow of – 2147483648 and 2147483648
- Drawing function of GLUT
- The usage of Matlab function downsample
- control reaches end of non-void function
- pthread_ Introduction and application of join function
- How to use C + + function pointer array
- Sigmoid function
- Error in comparing the size function of STL with negative number
- Analysis of compilation errors of “error conflicting types for function”
- R language notes – sample() function
- A call to an OS function failed
- Dataframe groupby custom aggregate function
- error:control reaches end of non-void function [-Werror=return-type]
- Reverse function: reverses container contents