SHARE
TWEET

Untitled

a guest May 19th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef PHYS_REGION_H
  2. #define PHYS_REGION_H 1
  3.  
  4. #include <stddef.h>
  5.  
  6. #include "memtype.h"
  7.  
  8. typedef struct phys_region {
  9.     struct phys_block   *ph;
  10.     struct vir_region   *parent; /* vir_region or NULL if yielded */
  11.     vir_bytes       offset; /* offset from start of vir region */
  12. #if SANITYCHECKS
  13.     int         written;    /* written to pagetable */
  14. #endif
  15.  
  16.     /* what kind of memory is it? */
  17.     mem_type_t              *memtype;
  18.  
  19.     /* list of phys_regions that reference the same phys_block */
  20.     struct phys_region  *next_ph_list; 
  21. } phys_region_t;
  22.  
  23. #endif
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top