~jsvoboda/helenos/dnsr

« back to all changes in this revision

Viewing changes to uspace/drv/bus/usb/ohci/utils/malloc32.h

  • Committer: Jiri Svoboda
  • Date: 2012-11-11 21:31:03 UTC
  • mfrom: (1527.1.178 mainline)
  • Revision ID: jiri@wiwaxia-20121111213103-314bmkettwvlwj97
Merge mainline changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
        
63
63
        return result;
64
64
}
65
 
/*----------------------------------------------------------------------------*/
 
65
 
66
66
/** Physical mallocator simulator
67
67
 *
68
68
 * @param[in] size Size of the required memory space
70
70
 */
71
71
static inline void * malloc32(size_t size)
72
72
        { return memalign(OHCI_ALIGN, size); }
73
 
/*----------------------------------------------------------------------------*/
 
73
 
74
74
/** Physical mallocator simulator
75
75
 *
76
76
 * @param[in] addr Address of the place allocated by malloc32