Fix compilation issue. (#13926)
parent
b43c6bc176
commit
65e3760853
|
@ -38,7 +38,7 @@ typedef struct _split_transaction_desc_t {
|
||||||
// Forward declaration for the split transactions
|
// Forward declaration for the split transactions
|
||||||
extern split_transaction_desc_t split_transaction_table[NUM_TOTAL_TRANSACTIONS];
|
extern split_transaction_desc_t split_transaction_table[NUM_TOTAL_TRANSACTIONS];
|
||||||
|
|
||||||
#define split_shmem_offset_ptr(offset) ((void *)(((uint8_t *)split_shmem) + (offset)))
|
#define split_shmem_offset_ptr(offset) (((uint8_t *)split_shmem) + (offset))
|
||||||
#define split_trans_initiator2target_buffer(trans) (split_shmem_offset_ptr((trans)->initiator2target_offset))
|
#define split_trans_initiator2target_buffer(trans) (split_shmem_offset_ptr((trans)->initiator2target_offset))
|
||||||
#define split_trans_target2initiator_buffer(trans) (split_shmem_offset_ptr((trans)->target2initiator_offset))
|
#define split_trans_target2initiator_buffer(trans) (split_shmem_offset_ptr((trans)->target2initiator_offset))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue