#include <pthread.h>
#include <stdio.h>
#include <stdint.h>
#include <list.h>
#include <result.h>
Go to the source code of this file.
Classes | |
struct | m_segidx_entry_s |
struct | m_segidx_s |
struct | m_segtbl_entry_s |
struct | m_segtbl_s |
Defines | |
#define | MAP_SCM 0x80000 |
#define | MAP_PERSISTENT 0 |
#define | SGTB_TYPE_PMAP 0x1 |
#define | SGTB_TYPE_SECTION 0x2 |
#define | SGTB_VALID_ENTRY 0x4 |
#define | SGTB_VALID_DATA 0x8 |
Typedefs | |
typedef m_segtbl_entry_s | m_segtbl_entry_t |
typedef m_segidx_entry_s | m_segidx_entry_t |
typedef m_segidx_s | m_segidx_t |
typedef m_segtbl_s | m_segtbl_t |
Functions | |
m_result_t | m_segmentmgr_init () |
Creates the segment manager and reincarnates any previous life persistent segments. | |
m_result_t | m_segmentmgr_fini () |
Shutdowns the segment manager. | |
void * | m_pmap2 (void *start, size_t length, int prot, int flags) |
Maps an address space region into persistent memory. | |
m_result_t | m_segment_find_using_addr (void *addr, m_segidx_entry_t **entryp) |
Variables | |
m_segtbl_t | m_segtbl |
Definition in file segment.h.
#define SGTB_TYPE_PMAP 0x1 |