Changes in / [c8ca07e:44d8853] in mainline
- Location:
- uspace/drv/uhci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci/uhci.h
rc8ca07e r44d8853 56 56 57 57 uint16_t usbsts; 58 #define UHCI_STATUS_HALTED (1 << 5)59 #define UHCI_STATUS_PROCESS_ERROR (1 << 4)60 #define UHCI_STATUS_SYSTEM_ERROR (1 << 3)61 #define UHCI_STATUS_RESUME (1 << 2)62 #define UHCI_STATUS_ERROR_INTERRUPT (1 << 1)63 #define UHCI_STATUS_INTERRUPT (1 << 0)64 65 58 uint16_t usbintr; 66 59 uint16_t frnum; -
uspace/drv/uhci/utils/malloc32.h
rc8ca07e r44d8853 53 53 static inline void * malloc32(size_t size) 54 54 /* TODO: this is ugly */ 55 { return memalign( 16, size); }55 { return memalign(size, 16); } 56 56 57 57 static inline void * get_page() … … 69 69 70 70 static inline void * memalign32(size_t size, size_t alignment) 71 { return memalign( alignment, size); }71 { return memalign(size, alignment); } 72 72 73 73 static inline void free32(void * addr)
Note:
See TracChangeset
for help on using the changeset viewer.