File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,13 @@ typedef enum {
4545 WH_DMA_OPER_CLIENT_WRITE_POST = 3 ,
4646} whDmaOper ;
4747
48+ #ifdef WOLFHSM_CFG_DMA_CUSTOM_CLIENT_COPY
49+ typedef enum {
50+ WH_DMA_COPY_OPER_CLIENT_READ = 0 ,
51+ WH_DMA_COPY_OPER_CLIENT_WRITE = 1 ,
52+ } whDmaCopyOper ;
53+ #endif /* WOLFHSM_CFG_DMA_CUSTOM_CLIENT_COPY */
54+
4855/* Flags embedded in request/response structs provided by client */
4956typedef struct {
5057 uint8_t cacheForceInvalidate : 1 ;
Original file line number Diff line number Diff line change @@ -120,12 +120,8 @@ typedef whDmaOper whServerDmaOper;
120120typedef whDmaFlags whServerDmaFlags ;
121121typedef whDmaAddr whServerDmaAddr ;
122122typedef whDmaAddrList whServerDmaAddrList ;
123-
124123#ifdef WOLFHSM_CFG_DMA_CUSTOM_CLIENT_COPY
125- typedef enum {
126- WH_DMA_COPY_OPER_CLIENT_READ = 0 ,
127- WH_DMA_COPY_OPER_CLIENT_WRITE = 1 ,
128- } whServerDmaCopyOper ;
124+ typedef whDmaCopyOper whServerDmaCopyOper ;
129125#endif /* WOLFHSM_CFG_DMA_CUSTOM_CLIENT_COPY */
130126
131127/* DMA callbacks invoked internally by wolfHSM before and after every client
You can’t perform that action at this time.
0 commit comments