Changeset 47e00b83 in mainline
- Timestamp:
- 2018-05-15T08:32:36Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8800b13, fac0ac7
- Parents:
- 3a26925
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-14 17:31:01)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-15 08:32:36)
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug.c
r3a26925 r47e00b83 423 423 * Yes, so clear go. As active == false, 424 424 * this doesn't affect anything. 425 (426 425 */ 427 426 thread->udebug.go = false; -
uspace/app/bdsh/cmds/modules/printf/printf.c
r3a26925 r47e00b83 65 65 * '%u' - unsigned integer. 66 66 * '%s' - null-terminated string. 67 * ****67 * 68 68 * @param ch formatted flag. 69 69 * @param arg string with data to print. … … 91 91 * Currently available characters are: 92 92 * '\n' - new line. 93 * ****93 * 94 94 * @param ch Control character. 95 95 */ … … 113 113 * %u - print an unsigned integer 114 114 * %s - print a null terminated string 115 * ****115 * 116 116 * Accepted output controls: 117 117 * \n - new line -
uspace/drv/audio/hdaudio/stream.c
r3a26925 r47e00b83 92 92 93 93 /* Allocate buffers */ 94 /* 94 #if 0 95 95 for (i = 0; i < bufs->nbuffers; i++) { 96 96 buffer = AS_AREA_ANY; … … 116 116 } 117 117 } 118 */ 118 #endif 119 119 /* audio_pcm_iface requires a single contiguous buffer */ 120 120 buffer = AS_AREA_ANY; … … 134 134 (long long unsigned)(uintptr_t)bufs->buf[i], 135 135 (void *)bufs->buf_phys[i]); 136 /* k = 0;137 for (j = 0; j < bufs->bufsize / 2; j++) {138 int16_t *bp = bufs->buf[i];139 bp[j] = (k > 128) ? -10000 : 10000;140 ++k;141 if (k >= 256)142 k = 0;143 }144 */145 136 } 146 137 -
uspace/lib/c/generic/io/con_srv.c
r3a26925 r47e00b83 352 352 return ENOMEM; 353 353 354 /* async_sess_t *sess = async_callback_receive(EXCHANGE_SERIALIZE);355 if (sess == NULL)356 return ENOMEM;357 358 srv->client_sess = sess;359 */360 354 srv->client_sess = NULL; 361 355 -
uspace/lib/ext4/src/extent.c
r3a26925 r47e00b83 954 954 * to some existing extent or creates new extents. 955 955 * It includes possible extent tree modifications (splitting). 956 * <956 * 957 957 * @param inode_ref I-node to append block to 958 958 * @param iblock Output logical number of newly allocated block -
uspace/lib/minix/minix.h
r3a26925 r47e00b83 105 105 uint32_t s_max_file_size; 106 106 /* 107 * Magic number used to recognize MinixFS108 * and to detect on-disk endianness107 * Magic number used to recognize MinixFS 108 * and to detect on-disk endianness 109 109 */ 110 110 uint16_t s_magic; … … 135 135 uint32_t s_nzones; 136 136 /* 137 * Magic number used to recognize MinixFS138 * and to detect on-disk endianness137 * Magic number used to recognize MinixFS 138 * and to detect on-disk endianness 139 139 */ 140 140 int16_t s_magic; -
uspace/lib/usbdev/include/usb/dev/driver.h
r3a26925 r47e00b83 69 69 * When the driver expect single interrupt in endpoint, 70 70 * the initialization may look like this: 71 \code 72 static usb_endpoint_description_t poll_endpoint_description = { 73 .transfer_type = USB_TRANSFER_INTERRUPT, 74 .direction = USB_DIRECTION_IN, 75 .interface_class = USB_CLASS_HUB, 76 .interface_subclass = 0, 77 .interface_protocol = 0, 78 .flags = 0 79 }; 71 * 72 * @code 73 * static usb_endpoint_description_t poll_endpoint_description = { 74 * .transfer_type = USB_TRANSFER_INTERRUPT, 75 * .direction = USB_DIRECTION_IN, 76 * .interface_class = USB_CLASS_HUB, 77 * .interface_subclass = 0, 78 * .interface_protocol = 0, 79 * .flags = 0 80 * }; 80 81 81 static usb_endpoint_description_t *hub_endpoints[] = {82 &poll_endpoint_description,83 NULL84 };82 * static usb_endpoint_description_t *hub_endpoints[] = { 83 * &poll_endpoint_description, 84 * NULL 85 * }; 85 86 86 static usb_driver_t hub_driver = {87 .endpoints = hub_endpoints,88 ...89 };90 \endcode87 * static usb_driver_t hub_driver = { 88 * .endpoints = hub_endpoints, 89 * ... 90 * }; 91 * @endcode 91 92 */ 92 93 const usb_endpoint_description_t **endpoints; -
uspace/lib/usbhid/src/hiddescriptor.c
r3a26925 r47e00b83 203 203 if (USB_HID_ITEM_FLAG_VARIABLE(report_item->item_flags) == 0) { 204 204 /* 205 Store usage array. The Correct Usage Page and Usage is206 depending on data in report and will be filled later207 */205 * Store usage array. The Correct Usage Page and Usage is 206 * depending on data in report and will be filled later 207 */ 208 208 field->usage = 0; 209 209 field->usage_page = 0; //report_item->usage_page; -
uspace/srv/fs/mfs/mfs_rw.c
r3a26925 r47e00b83 52 52 53 53 /**Given the position in the file expressed in 54 * bytes, this function returns the on-disk block55 * relative to that position.54 * bytes, this function returns the on-disk block 55 * relative to that position. 56 56 * 57 57 * @param b Pointer to a 32bit number where the block number will be stored
Note:
See TracChangeset
for help on using the changeset viewer.