Page

Page

概要

実装

  311: struct Page
  312: {
  313:         Lock;
  314:         ulong  pa;                      /* Physical address in memory */
  315:         ulong  va;                      /* Virtual address for user */
  316:         ulong  daddr;                   /* Disc address on swap */
  317:         ushort ref;                    /* Reference count */
  318:         char   modref;                   /* Simulated modify/reference bits */
  319:         char   color;                    /* Cache coloring */
  320:         char   cachectl[MAXMACH];        /* Cache flushing control for putmmu */
  321:         Image  *image;                  /* Associated text or swap image */
  322:         Page   *next;                    /* Lru free list */
  323:         Page   *prev;
  324:         Page   *hash;                    /* Image hash chains */
  325: };