Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/mm/frame.h

    raaceebc4 r9d58539  
    6363/** Allocate a frame which cannot be identity-mapped. */
    6464#define FRAME_HIGHMEM     0x20
    65 /** Allocate a frame which needs to be from DMA zone. */
    66 #define FRAME_DMA         0x40
    6765
    6866typedef uint8_t zone_flags_t;
     
    7977/** Zone contains memory that cannot be identity-mapped */
    8078#define ZONE_HIGHMEM    0x10
    81 /** Zone contains memory suitable for old ISA DMA */
    82 #define ZONE_DMA        0x20
    8379
    8480/** Mask of zone bits that must be matched exactly. */
     
    8682
    8783#define FRAME_TO_ZONE_FLAGS(ff) \
    88         ((((ff) & FRAME_DMA) ? ZONE_DMA : \
    89             (((ff) & FRAME_LOWMEM) ? ZONE_LOWMEM : \
     84        ((((ff) & FRAME_LOWMEM) ? ZONE_LOWMEM : \
    9085            (((ff) & FRAME_HIGHMEM) ? ZONE_HIGHMEM : \
    91             ZONE_LOWMEM /* | ZONE_HIGHMEM */))) | \
    92             ZONE_AVAILABLE)
     86            ZONE_LOWMEM /* | ZONE_HIGHMEM */)) | \
     87            ZONE_AVAILABLE) 
    9388
    9489#define ZONE_FLAGS_MATCH(zf, f) \
Note: See TracChangeset for help on using the changeset viewer.