Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 98000fb in mainline for kernel/generic/include/mm/as.h


Ignore:
Timestamp:
2009-06-03T19:34:45Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
301ff30
Parents:
69e68e3
Message:

remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)

File:
1 edited

Legend:

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

    r69e68e3 r98000fb  
    9595         * Protected by asidlock.
    9696         */
    97         count_t cpu_refcount;
     97        size_t cpu_refcount;
    9898        /**
    9999         * Address space identifier.
     
    133133        mutex_t lock;           
    134134        /** This structure can be deallocated if refcount drops to 0. */
    135         count_t refcount;
     135        size_t refcount;
    136136        /**
    137137         * B+tree containing complete map of anonymous pages of the shared area.
     
    157157        struct {        /**< phys_backend members */
    158158                uintptr_t base;
    159                 count_t frames;
     159                size_t frames;
    160160        };
    161161} mem_backend_data_t;
     
    176176        int attributes;
    177177        /** Size of this area in multiples of PAGE_SIZE. */
    178         count_t pages;
     178        size_t pages;
    179179        /** Base address of this area. */
    180180        uintptr_t base;
     
    226226extern bool as_area_check_access(as_area_t *area, pf_access_t access);
    227227extern size_t as_area_get_size(uintptr_t base);
    228 extern int used_space_insert(as_area_t *a, uintptr_t page, count_t count);
    229 extern int used_space_remove(as_area_t *a, uintptr_t page, count_t count);
     228extern int used_space_insert(as_area_t *a, uintptr_t page, size_t count);
     229extern int used_space_remove(as_area_t *a, uintptr_t page, size_t count);
    230230
    231231
Note: See TracChangeset for help on using the changeset viewer.