Changeset f8ddd17 in mainline for kernel/generic/include/ddi/ddi.h
- Timestamp:
- 2006-12-09T20:20:50Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b82a13c
- Parents:
- 9ab9c2ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ddi/ddi.h
r9ab9c2ec rf8ddd17 40 40 #include <typedefs.h> 41 41 42 unative_t sys_physmem_map(unative_t phys_base, unative_t virt_base, unative_t pages, 43 unative_t flags); 42 /** Structure representing contiguous physical memory area. */ 43 typedef struct { 44 uintptr_t pbase; /**< Physical base of the area. */ 45 uintptr_t vbase; /**< Virtual base of the area. */ 46 count_t frames; /**< Number of frames in the area. */ 47 bool cacheable; /**< Cacheability. */ 48 } parea_t; 49 50 extern void ddi_init(void); 51 extern void ddi_parea_register(parea_t *parea); 52 53 extern unative_t sys_physmem_map(unative_t phys_base, unative_t virt_base, 54 unative_t pages, unative_t flags); 44 55 extern unative_t sys_iospace_enable(ddi_ioarg_t *uspace_io_arg); 45 56 extern unative_t sys_preempt_control(int enable);
Note:
See TracChangeset
for help on using the changeset viewer.