Changeset 7c3fb9b in mainline for uspace/lib/usbhost/include/usb/host/utils/malloc32.h
- Timestamp:
- 2018-05-17T08:29:01Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/utils/malloc32.h
rfac0ac7 r7c3fb9b 43 43 #include <stdint.h> 44 44 45 /* Generic TDs and EDs require 16byte alignment, 45 /* 46 * Generic TDs and EDs require 16byte alignment, 46 47 * Isochronous TD require 32byte alignment, 47 48 * buffers do not have to be aligned. … … 83 84 84 85 if (ret == EOK) { 85 /* Poison, accessing it should be enough to make sure 86 * the location is mapped, but poison works better */ 86 /* 87 * Poison, accessing it should be enough to make sure 88 * the location is mapped, but poison works better 89 */ 87 90 memset(address, 0x5, real_size); 88 91 return address;
Note:
See TracChangeset
for help on using the changeset viewer.