#ifndef MAPPING_H_ #define MAPPING_H_ #include "queue.h" #include 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