Changeset ae318d3 in mainline for kernel/generic/include
- Timestamp:
- 2009-02-16T18:50:48Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 06da55b
- Parents:
- 17f168e
- Location:
- kernel/generic/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ddi/ddi.h
r17f168e rae318d3 39 39 #include <arch/types.h> 40 40 #include <proc/task.h> 41 #include <adt/list.h> 41 42 42 43 /** Structure representing contiguous physical memory area. */ 43 44 typedef struct { 44 uintptr_t pbase; /**< Physical base of the area. */45 uintptr_t vbase; /**< Virtual base ofthe area. */46 count_t frames; /**< Number of frames in the area. */47 bool cacheable; /**< Cacheability.*/45 uintptr_t pbase; /**< Physical base of the area. */ 46 pfn_t frames; /**< Number of frames in the area. */ 47 48 link_t link; /**< Linked list link */ 48 49 } parea_t; 49 50 -
kernel/generic/include/mm/page.h
r17f168e rae318d3 43 43 typedef struct { 44 44 void (* mapping_insert)(as_t *as, uintptr_t page, uintptr_t frame, 45 int flags);45 int flags); 46 46 void (* mapping_remove)(as_t *as, uintptr_t page); 47 47 pte_t *(* mapping_find)(as_t *as, uintptr_t page); … … 60 60 extern void page_table_destroy(pte_t *page_table); 61 61 extern void map_structure(uintptr_t s, size_t size); 62 62 63 extern uintptr_t hw_map(uintptr_t physaddr, size_t size); 64 extern void hw_area(uintptr_t *physaddr, pfn_t *frames); 63 65 64 66 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
