APM:Libraries
|
#include <RCInput_RPI.h>
Public Member Functions | |
Memory_table () | |
Memory_table (uint32_t, int) | |
~Memory_table () | |
void * | get_virt_addr (const uint32_t phys_addr) const |
void * | get_page (void **pages, const uint32_t addr) const |
uint32_t | get_offset (void **pages, const uint32_t addr) const |
uint32_t | bytes_available (const uint32_t read_addr, const uint32_t write_addr) const |
uint32_t | get_page_count () const |
Private Attributes | |
void ** | _virt_pages |
void ** | _phys_pages |
uint32_t | _page_count |
Friends | |
class | RCInput_RPI |
Definition at line 47 of file RCInput_RPI.h.
Memory_table::Memory_table | ( | ) |
Definition at line 101 of file RCInput_RPI.cpp.
Memory_table::Memory_table | ( | uint32_t | page_count, |
int | version | ||
) |
Memory_table::~Memory_table | ( | ) |
uint32_t Memory_table::bytes_available | ( | const uint32_t | read_addr, |
const uint32_t | write_addr | ||
) | const |
Definition at line 199 of file RCInput_RPI.cpp.
Referenced by Linux::RCInput_RPI::_timer_tick().
uint32_t Memory_table::get_offset | ( | void ** | pages, |
const uint32_t | addr | ||
) | const |
Definition at line 187 of file RCInput_RPI.cpp.
Referenced by Linux::RCInput_RPI::_timer_tick().
void * Memory_table::get_page | ( | void ** | pages, |
const uint32_t | addr | ||
) | const |
Definition at line 162 of file RCInput_RPI.cpp.
Referenced by Linux::RCInput_RPI::_timer_tick(), and Linux::RCInput_RPI::init().
uint32_t Memory_table::get_page_count | ( | ) | const |
Definition at line 208 of file RCInput_RPI.cpp.
Referenced by Linux::RCInput_RPI::_timer_tick().
void * Memory_table::get_virt_addr | ( | const uint32_t | phys_addr | ) | const |
Definition at line 171 of file RCInput_RPI.cpp.
Referenced by Linux::RCInput_RPI::_timer_tick().
|
friend |
Definition at line 49 of file RCInput_RPI.h.
|
private |
Definition at line 54 of file RCInput_RPI.h.
Referenced by bytes_available(), get_offset(), get_page(), get_page_count(), get_virt_addr(), and Memory_table().
|
private |
Definition at line 53 of file RCInput_RPI.h.
Referenced by get_virt_addr(), Memory_table(), and ~Memory_table().
|
private |
Definition at line 52 of file RCInput_RPI.h.
Referenced by Linux::RCInput_RPI::_timer_tick(), get_virt_addr(), Linux::RCInput_RPI::init(), Memory_table(), and ~Memory_table().