summaryrefslogtreecommitdiff
path: root/BFS/host/mram-management.h
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2025-05-22 14:46:44 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2025-05-22 14:46:44 +0200
commitf930c70e477d97eb65c0a1e005a03e8d760ece6a (patch)
tree2183cc29fff9d545fbae4a1de8348f231a71e4c2 /BFS/host/mram-management.h
parentf3b7b26a87eb6ff5a45f4ff3fe71666c2dc4fc99 (diff)
BFS: Throw out copyFromDPU, copyToDPU wrappers
They're incompatible with dfatool tracing
Diffstat (limited to 'BFS/host/mram-management.h')
-rw-r--r--BFS/host/mram-management.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/BFS/host/mram-management.h b/BFS/host/mram-management.h
index 61616da..a953d6a 100644
--- a/BFS/host/mram-management.h
+++ b/BFS/host/mram-management.h
@@ -1,6 +1,4 @@
-
-#ifndef _MRAM_MANAGEMENT_H_
-#define _MRAM_MANAGEMENT_H_
+#pragma once
#include "common.h"
#include "utils.h"
@@ -29,21 +27,3 @@ static uint32_t mram_heap_alloc(struct mram_heap_allocator_t *allocator,
}
return ret;
}
-
-static void copyToDPU(struct dpu_set_t dpu, uint8_t *hostPtr, uint32_t mramIdx,
- uint32_t size)
-{
- DPU_ASSERT(dpu_copy_to
- (dpu, DPU_MRAM_HEAP_POINTER_NAME, mramIdx, hostPtr,
- ROUND_UP_TO_MULTIPLE_OF_8(size)));
-}
-
-static void copyFromDPU(struct dpu_set_t dpu, uint32_t mramIdx,
- uint8_t *hostPtr, uint32_t size)
-{
- DPU_ASSERT(dpu_copy_from
- (dpu, DPU_MRAM_HEAP_POINTER_NAME, mramIdx, hostPtr,
- ROUND_UP_TO_MULTIPLE_OF_8(size)));
-}
-
-#endif