Files

23 lines
317 B
C
Raw Permalink Normal View History

#ifndef MAPPING_H_
#define MAPPING_H_
#include "queue.h"
#include <mango/types.h>
struct fs_file;
enum file_mapping_type {
FILE_MAPPING_PRIVATE,
FILE_MAPPING_SHARED,
};
struct file_mapping {
enum file_mapping_type m_type;
struct fs_file *m_file;
kern_handle_t m_vmo;
struct queue_entry m_entry;
};
#endif