removes attribute packed as it disables word access generation by gcc
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct __attribute((__packed__)) {
|
||||
typedef struct {
|
||||
volatile uint32_t MSIP0;
|
||||
uint8_t fill0[16380];
|
||||
volatile uint32_t MTIMECMP0LO;
|
||||
@@ -88,4 +88,4 @@ inline void set_aclint_mtime_hi(volatile aclint_t* reg, uint32_t value){
|
||||
reg->MTIME_HI = (reg->MTIME_HI & ~(0xffffffffU << 0)) | (value << 0);
|
||||
}
|
||||
|
||||
#endif /* _BSP_ACLINT_H */
|
||||
#endif /* _BSP_ACLINT_H */
|
||||
|
Reference in New Issue
Block a user