CRpi
A library for rpi with intefaces to: gpio, pwm, dma
physMemoryManagement.h
Go to the documentation of this file.
1 #ifndef MEMORY_MANAGEMENT_H
2 #define MEMORY_MANAGEMENT_H
3 
4 #include <stdint.h>
5 #include <stdlib.h>
6 
7 
8 
14 void* mapPhysMemArea(uintptr_t areaBaseAddrPhys, size_t size);
15 int unmapPhysMemArea(void* areaBaseAddrVirt, size_t size);
16 
17 
18 #endif
void * mapPhysMemArea(uintptr_t areaBaseAddrPhys, size_t size)
Maps the specified physical memory area to a virtual memory area.
Definition: physMemoryManagement.cpp:22
int unmapPhysMemArea(void *areaBaseAddrVirt, size_t size)
Unmaps a physical memory area mapped using mapPhysMemArea()
Definition: physMemoryManagement.cpp:55