Changes in / [a91b828:272a293] in mainline
- Files:
-
- 18 edited
-
README.md (modified) (1 diff)
-
uspace/app/init/untar.c (modified) (1 diff)
-
uspace/app/sbi/src/bigint.c (modified) (1 diff)
-
uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h (modified) (1 diff)
-
uspace/drv/bus/usb/ohci/hw_struct/hcca.h (modified) (1 diff)
-
uspace/drv/bus/usb/ohci/ohci_regs.h (modified) (1 diff)
-
uspace/drv/bus/usb/uhci/uhci_batch.c (modified) (1 diff)
-
uspace/drv/bus/usb/xhci/trb_ring.c (modified) (1 diff)
-
uspace/lib/c/generic/double_to_str.c (modified) (2 diffs)
-
uspace/lib/c/generic/ieee_double.c (modified) (1 diff)
-
uspace/lib/c/generic/time.c (modified) (1 diff)
-
uspace/lib/c/include/assert.h (modified) (1 diff)
-
uspace/lib/pcut/src/os/generic.c (modified) (1 diff)
-
uspace/lib/untar/untar.c (modified) (1 diff)
-
uspace/lib/usb/include/usb/request.h (modified) (1 diff)
-
uspace/lib/usbdev/src/request.c (modified) (1 diff)
-
uspace/srv/locsrv/locsrv.c (modified) (1 diff)
-
uspace/srv/net/inetsrv/pdu.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
README.md
ra91b828 r272a293 9 9 directly harm others. HelenOS is therefore flexible, modular, 10 10 extensible, fault tolerant and easy to understand. 11 12 13 11 14 12 HelenOS aims to be compatible with the C11 and C++14 standards, but does not -
uspace/app/init/untar.c
ra91b828 r272a293 45 45 typedef struct { 46 46 const char *dev; 47 47 48 48 service_id_t sid; 49 49 aoff64_t offset; -
uspace/app/sbi/src/bigint.c
ra91b828 r272a293 379 379 printf("Convert bigint to string.\n"); 380 380 #endif 381 static_assert(BIGINT_BASE >= 10 , "");381 static_assert(BIGINT_BASE >= 10); 382 382 383 383 /* Compute number of characters. */ -
uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h
ra91b828 r272a293 88 88 #define TD_BUFFER_POINTER_OFFSET_MASK 0xfff 89 89 90 static_assert(sizeof(td_t) % 32 == 0 , "");90 static_assert(sizeof(td_t) % 32 == 0); 91 91 92 92 static inline bool td_active(const td_t *td) -
uspace/drv/bus/usb/ohci/hw_struct/hcca.h
ra91b828 r272a293 61 61 } hcca_t; 62 62 63 static_assert(sizeof(hcca_t) == 256 , "");63 static_assert(sizeof(hcca_t) == 256); 64 64 65 65 /** Allocate properly aligned structure. -
uspace/drv/bus/usb/ohci/ohci_regs.h
ra91b828 r272a293 153 153 * ohci_regs_t.control 154 154 */ 155 155 156 156 /* Control-bulk service ratio */ 157 157 #define C_CBSR_1_1 (0x0) -
uspace/drv/bus/usb/uhci/uhci_batch.c
ra91b828 r272a293 96 96 int uhci_transfer_batch_prepare(uhci_transfer_batch_t *uhci_batch) 97 97 { 98 static_assert((sizeof(td_t) % 16) == 0 , "");98 static_assert((sizeof(td_t) % 16) == 0); 99 99 100 100 usb_transfer_batch_t *usb_batch = &uhci_batch->base; -
uspace/drv/bus/usb/xhci/trb_ring.c
ra91b828 r272a293 53 53 } __attribute__((aligned(PAGE_SIZE))); 54 54 55 static_assert(sizeof(trb_segment_t) == PAGE_SIZE , "");55 static_assert(sizeof(trb_segment_t) == PAGE_SIZE); 56 56 57 57 /** -
uspace/lib/c/generic/double_to_str.c
ra91b828 r272a293 503 503 { 504 504 /* The whole computation assumes 64bit significand. */ 505 static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t) , "");505 static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t)); 506 506 507 507 if (ieee_val.is_special) { … … 754 754 { 755 755 /* The whole computation assumes 64bit significand. */ 756 static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t) , "");756 static_assert(sizeof(ieee_val.pos_val.significand) == sizeof(uint64_t)); 757 757 758 758 if (ieee_val.is_special) { -
uspace/lib/c/generic/ieee_double.c
ra91b828 r272a293 45 45 const int exponent_bias = 1075; 46 46 47 static_assert(sizeof(val) == sizeof(uint64_t) , "");47 static_assert(sizeof(val) == sizeof(uint64_t)); 48 48 49 49 union { -
uspace/lib/c/generic/time.c
ra91b828 r272a293 79 79 clock_t clock(void) 80 80 { 81 static_assert(CLOCKS_PER_SEC == 1000000 , "");81 static_assert(CLOCKS_PER_SEC == 1000000); 82 82 83 83 size_t count; -
uspace/lib/c/include/assert.h
ra91b828 r272a293 42 42 43 43 #ifndef __cplusplus 44 #define static_assert _Static_assert44 #define static_assert(expr) _Static_assert(expr, "") 45 45 #endif 46 46 -
uspace/lib/pcut/src/os/generic.c
ra91b828 r272a293 121 121 FORMAT_COMMAND(command, PCUT_COMMAND_LINE_BUFFER_SIZE - 1, 122 122 self_path, (test)->id, tempfile_name); 123 123 124 124 PCUT_DEBUG("Will execute <%s> (temp file <%s>) with system().", 125 125 command, tempfile_name); -
uspace/lib/untar/untar.c
ra91b828 r272a293 154 154 return rc; 155 155 } 156 156 157 157 while (true) { 158 158 tar_header_raw_t header_raw; -
uspace/lib/usb/include/usb/request.h
ra91b828 r272a293 117 117 } __attribute__((packed)) usb_device_request_setup_packet_t; 118 118 119 static_assert(sizeof(usb_device_request_setup_packet_t) == USB_SETUP_PACKET_SIZE , "");119 static_assert(sizeof(usb_device_request_setup_packet_t) == USB_SETUP_PACKET_SIZE); 120 120 121 121 #define GET_DEVICE_DESC(size) \ -
uspace/lib/usbdev/src/request.c
ra91b828 r272a293 45 45 #define MAX_DATA_LENGTH ((size_t)(0xFFFF)) 46 46 47 static_assert(sizeof(usb_device_request_setup_packet_t) == 8 , "");47 static_assert(sizeof(usb_device_request_setup_packet_t) == 8); 48 48 49 49 /** Generic wrapper for SET requests using standard control request format. -
uspace/srv/locsrv/locsrv.c
ra91b828 r272a293 1409 1409 */ 1410 1410 static_assert((INTERFACE_LOC_SUPPLIER & IFACE_EXCHANGE_MASK) == 1411 IFACE_EXCHANGE_SERIALIZE , "");1411 IFACE_EXCHANGE_SERIALIZE); 1412 1412 1413 1413 loc_server_t *server = loc_server_register(); -
uspace/srv/net/inetsrv/pdu.c
ra91b828 r272a293 224 224 return EINVAL; 225 225 226 static_assert(sizeof(ip6_header_t) % 8 == 0 , "");226 static_assert(sizeof(ip6_header_t) % 8 == 0); 227 227 assert(hdr_size % 8 == 0); 228 228 assert(offs % FRAG_OFFS_UNIT == 0);
Note:
See TracChangeset
for help on using the changeset viewer.
