Changeset 1433ecda in mainline for kernel/generic/include/mm/as.h


Ignore:
Timestamp:
2018-04-04T15:42:37Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

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

    r47b2d7e3 r1433ecda  
    126126
    127127typedef struct {
    128         pte_t *(* page_table_create)(unsigned int);
    129         void (* page_table_destroy)(pte_t *);
    130         void (* page_table_lock)(as_t *, bool);
    131         void (* page_table_unlock)(as_t *, bool);
    132         bool (* page_table_locked)(as_t *);
     128        pte_t *(*page_table_create)(unsigned int);
     129        void (*page_table_destroy)(pte_t *);
     130        void (*page_table_lock)(as_t *, bool);
     131        void (*page_table_unlock)(as_t *, bool);
     132        bool (*page_table_locked)(as_t *);
    133133} as_operations_t;
    134134
     
    237237/** Address space area backend structure. */
    238238typedef struct mem_backend {
    239         bool (* create)(as_area_t *);
    240         bool (* resize)(as_area_t *, size_t);
    241         void (* share)(as_area_t *);
    242         void (* destroy)(as_area_t *);
    243 
    244         bool (* is_resizable)(as_area_t *);
    245         bool (* is_shareable)(as_area_t *);
    246 
    247         int (* page_fault)(as_area_t *, uintptr_t, pf_access_t);
    248         void (* frame_free)(as_area_t *, uintptr_t, uintptr_t);
    249 
    250         bool (* create_shared_data)(as_area_t *);
    251         void (* destroy_shared_data)(void *);
     239        bool (*create)(as_area_t *);
     240        bool (*resize)(as_area_t *, size_t);
     241        void (*share)(as_area_t *);
     242        void (*destroy)(as_area_t *);
     243
     244        bool (*is_resizable)(as_area_t *);
     245        bool (*is_shareable)(as_area_t *);
     246
     247        int (*page_fault)(as_area_t *, uintptr_t, pf_access_t);
     248        void (*frame_free)(as_area_t *, uintptr_t, uintptr_t);
     249
     250        bool (*create_shared_data)(as_area_t *);
     251        void (*destroy_shared_data)(void *);
    252252} mem_backend_t;
    253253
Note: See TracChangeset for help on using the changeset viewer.