Changeset bc792bb in rtems
- Timestamp:
- 10/16/15 06:26:44 (7 years ago)
- Branches:
- 5, master
- Children:
- 69be1a22
- Parents:
- f97536d
- git-author:
- Sebastian Huber <sebastian.huber@…> (10/16/15 06:26:44)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (10/26/15 08:13:19)
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/i386/pc386/include/edid.h
rf97536d rbc792bb 88 88 uint8_t VerticalBorder; 89 89 uint8_t Flags; 90 } RTEMS_ COMPILER_PACKED_ATTRIBUTEEDID_detailed_timing_descriptor;90 } RTEMS_PACKED EDID_detailed_timing_descriptor; 91 91 92 92 EDID_INLINE_ROUTINE uint16_t DTD_horizontal_active ( … … 166 166 uint8_t ColorPointWhite_y; 167 167 uint8_t ColorPointWhiteGamma; 168 } RTEMS_ COMPILER_PACKED_ATTRIBUTEEDID_color_point_data;168 } RTEMS_PACKED EDID_color_point_data; 169 169 170 170 /* Basic Display Parameters */ … … 184 184 Version 1.0, December 18, 1996 */ 185 185 uint8_t GTFStandard[8]; 186 } RTEMS_ COMPILER_PACKED_ATTRIBUTEEDID_monitor_range_limits;186 } RTEMS_PACKED EDID_monitor_range_limits; 187 187 188 188 #define EDID_DTT_MonitorName 0xFC … … 226 226 uint8_t AspectRatio_AddressableLinesHigh; 227 227 uint8_t VerticalRate_PreferredVerticalRate; 228 } RTEMS_ COMPILER_PACKED_ATTRIBUTEEDID_CVT_3_byte_code_descriptor;228 } RTEMS_PACKED EDID_CVT_3_byte_code_descriptor; 229 229 typedef struct { 230 230 uint8_t VersionNumber; 231 231 EDID_CVT_3_byte_code_descriptor cvt[4]; 232 } RTEMS_ COMPILER_PACKED_ATTRIBUTEEDID_CVT_timing_codes_3B;232 } RTEMS_PACKED EDID_CVT_timing_codes_3B; 233 233 234 234 EDID_INLINE_ROUTINE uint16_t edid1_CVT_addressable_lines_high ( … … 252 252 uint8_t RevisionNumber; 253 253 uint8_t EST_III[12]; 254 } RTEMS_ COMPILER_PACKED_ATTRIBUTEEDID_established_timings_III;254 } RTEMS_PACKED EDID_established_timings_III; 255 255 enum EST_III { 256 256 EST_1152x864_75Hz = 0, … … 314 314 uint8_t Flag2; 315 315 uint8_t DescriptorData[13]; 316 } RTEMS_ COMPILER_PACKED_ATTRIBUTEEDID_monitor_descriptor;316 } RTEMS_PACKED EDID_monitor_descriptor; 317 317 318 318 union EDID_DTD_MD { 319 319 EDID_detailed_timing_descriptor dtd; 320 320 EDID_monitor_descriptor md; 321 } RTEMS_ COMPILER_PACKED_ATTRIBUTE;321 } RTEMS_PACKED; 322 322 323 323 #define EDID1_STI_ImageAspectRatioOff 0 … … 334 334 uint8_t HorizontalActivePixels; 335 335 uint8_t ImageAspectRatio_RefreshRate; 336 } RTEMS_ COMPILER_PACKED_ATTRIBUTEEDID_standard_timing_identification;336 } RTEMS_PACKED EDID_standard_timing_identification; 337 337 338 338 /* Video Input Definition */ … … 447 447 uint8_t ExtensionFlag; 448 448 uint8_t Checksum; 449 } RTEMS_ COMPILER_PACKED_ATTRIBUTEEDID_edid1;449 } RTEMS_PACKED EDID_edid1; 450 450 451 451 EDID_INLINE_ROUTINE uint16_t edid1_RedX (EDID_edid1 *edid) { -
c/src/lib/libbsp/i386/pc386/include/vbe3.h
rf97536d rbc792bb 180 180 protected mode or from real mode. */ 181 181 uint16_t selector; 182 } RTEMS_ COMPILER_PACKED_ATTRIBUTEVBE_far_pointer;182 } RTEMS_PACKED VBE_far_pointer; 183 183 184 184 /** … … 206 206 /** Checksum byte for structure. Sum over all structure bytes gives 0. */ 207 207 uint8_t Checksum; 208 } RTEMS_ COMPILER_PACKED_ATTRIBUTEVBE_protected_mode_info_block;208 } RTEMS_PACKED VBE_protected_mode_info_block; 209 209 210 210 /** General VBE signature */ … … 244 244 /** Data Area for OEM Strings */ 245 245 uint8_t OemData[256]; 246 } RTEMS_ COMPILER_PACKED_ATTRIBUTEVBE_vbe_info_block;246 } RTEMS_PACKED VBE_vbe_info_block; 247 247 248 248 /** … … 346 346 /** remainder of VBE_mode_info_block */ 347 347 uint8_t Reserved3[189]; 348 } RTEMS_ COMPILER_PACKED_ATTRIBUTEVBE_mode_info_block;348 } RTEMS_PACKED VBE_mode_info_block; 349 349 350 350 /** … … 372 372 /** remainder of VBE_mode_info_block */ 373 373 uint8_t Reserved[40]; 374 } RTEMS_ COMPILER_PACKED_ATTRIBUTEVBE_CRTC_info_block;374 } RTEMS_PACKED VBE_CRTC_info_block; 375 375 376 376 /** … … 386 386 /** DWORD alignment byte (unused) */ 387 387 uint8_t Alignment; 388 } RTEMS_ COMPILER_PACKED_ATTRIBUTEVBE_palette_entry;388 } RTEMS_PACKED VBE_palette_entry; 389 389 390 390 /** … … 410 410 /** Reserved for description strings and future expansion */ 411 411 uint8_t Reserved[221]; 412 } RTEMS_ COMPILER_PACKED_ATTRIBUTEVBE_supplemental_vbe_info_block;412 } RTEMS_PACKED VBE_supplemental_vbe_info_block; 413 413 414 414 /* VBE_vbe_info_block Capabilities */ -
c/src/lib/libbsp/i386/shared/realmode_int/realmode_int.c
rf97536d rbc792bb 71 71 uint16_t pm_code_selector; 72 72 /* if this struct is to be modified update offset definitions as well */ 73 } RTEMS_ COMPILER_PACKED_ATTRIBUTErm_int_regs_bkp_param;73 } RTEMS_PACKED rm_int_regs_bkp_param; 74 74 75 75 /* offsets to \a pm_bkp_and_param */ … … 114 114 /** data segment for real mode */ 115 115 uint16_t rm_data_segment; 116 } RTEMS_ COMPILER_PACKED_ATTRIBUTEpm_bkp_and_param;116 } RTEMS_PACKED pm_bkp_and_param; 117 117 118 118 /* addresses where we are going to put Interrupt buffer, -
c/src/lib/libbsp/i386/shared/realmode_int/realmode_int.h
rf97536d rbc792bb 52 52 uint16_t reg_fs; 53 53 uint16_t reg_gs; 54 } RTEMS_ COMPILER_PACKED_ATTRIBUTEi386_realmode_interrupt_registers;54 } RTEMS_PACKED i386_realmode_interrupt_registers; 55 55 56 56 /** -
c/src/lib/libcpu/i386/cpu.h
rf97536d rbc792bb 261 261 unsigned int granularity : 1; 262 262 unsigned int base_address_31_24 : 8; 263 } RTEMS_ COMPILER_PACKED_ATTRIBUTEsegment_descriptors;263 } RTEMS_PACKED segment_descriptors; 264 264 265 265 /* -
cpukit/score/include/rtems/score/basedefs.h
rf97536d rbc792bb 231 231 */ 232 232 #if defined(__GNUC__) 233 #define RTEMS_COMPILER_PACKED_ATTRIBUTE __attribute__((packed)) 234 #else 235 #define RTEMS_COMPILER_PACKED_ATTRIBUTE 236 #endif 233 #define RTEMS_PACKED __attribute__((__packed__)) 234 #else 235 #define RTEMS_PACKED 236 #endif 237 238 /* Provided for backward compatibility */ 239 #define RTEMS_COMPILER_PACKED_ATTRIBUTE RTEMS_PACKED 237 240 238 241 #if __cplusplus >= 201103L
Note: See TracChangeset
for help on using the changeset viewer.