Changeset 25bf215 in mainline for generic/include


Ignore:
Timestamp:
2006-05-21T15:15:30Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2a1803eb
Parents:
7ca8b36b
Message:

Add used_space_insert() and used_space_remove().
These are the alpha versions of functions that
will help to map used and unused portions of address
space areas. Currently unused, but many as_area operations
will be more efficient when the used space B+tree map
is used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/mm/as.h

    r7ca8b36b r25bf215  
    3535#define AS_AREA_EXEC    4
    3636#define AS_AREA_DEVICE  8
    37 
    3837
    3938#ifdef KERNEL
     
    8483        count_t pages;          /**< Size of this area in multiples of PAGE_SIZE. */
    8584        __address base;         /**< Base address of this area. */
     85        btree_t used_space;     /**< Map of used space. */
    8686};
    8787
Note: See TracChangeset for help on using the changeset viewer.