Change in osmo-ccid-firmware[master]: Enable cache via CMCC for higher performance

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Feb 24 13:33:21 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/13033


Change subject: Enable cache via CMCC for higher performance
......................................................................

Enable cache via CMCC for higher performance

Change-Id: I7a243a8d964fea3d3decc6c73c16e07036e4ee93
---
M sysmoOCTSIM/main.c
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/33/13033/1

diff --git a/sysmoOCTSIM/main.c b/sysmoOCTSIM/main.c
index 40f2147..09d766e 100644
--- a/sysmoOCTSIM/main.c
+++ b/sysmoOCTSIM/main.c
@@ -16,6 +16,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
 
+#include <parts.h>
+#include <hal_cache.h>
+
 #include "atmel_start.h"
 #include "atmel_start_pins.h"
 
@@ -48,6 +51,9 @@
 	/* only 7 slots, as last slot is debug uart! */
 	for (i = 0; i < 7; i++)
 		ncn8025_init(i);
+
+	cache_init();
+	cache_enable(CMCC);
 }
 
 int main(void)

-- 
To view, visit https://gerrit.osmocom.org/13033
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7a243a8d964fea3d3decc6c73c16e07036e4ee93
Gerrit-Change-Number: 13033
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190224/f79304f6/attachment.htm>


More information about the gerrit-log mailing list