Changeset c67dbd6 in mainline for uspace/drv
- Timestamp:
- 2013-09-09T21:51:32Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8cbf1c3
- Parents:
- 8442d10
- Location:
- uspace/drv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/utils/malloc32.h
r8442d10 rc67dbd6 92 92 */ 93 93 static inline void free32(void *addr) 94 { free(addr); } 94 { 95 free(addr); 96 } 95 97 96 98 /** Create 4KB page mapping … … 98 100 * @return Address of the mapped page, NULL on failure. 99 101 */ 100 static inline void * 102 static inline void *get_page(void) 101 103 { 102 104 uintptr_t phys; … … 106 108 DMAMEM_4GiB, AS_AREA_READ | AS_AREA_WRITE, 0, &phys, 107 109 &address); 108 return ret == EOK ? address : NULL; 110 111 return ((ret == EOK) ? address : NULL); 109 112 } 110 113 -
uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c
r8442d10 rc67dbd6 281 281 return ret; 282 282 } 283 283 284 amdm37x_dispc_setup_fb(dispc->regs, x, y, bpp *8, (uint32_t)pa); 284 285 dispc->active_fb.idx = mode.index;
Note:
See TracChangeset
for help on using the changeset viewer.