From 5840b57937210297e1dda13fc47c60cad1494fb5 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 20 Mar 2012 11:07:05 +0100 Subject: [PATCH] [commtech] Provide more CSQ configs * Rename CSQ configs to csq___comm.h * Add several configs * Default config is csq_comm.h --- communication_techniques/include/csq_2_2_comm.h | 8 ++++++++ .../include/{csq_2_comm.h => csq_2_64_comm.h} | 0 communication_techniques/include/csq_64_1_comm.h | 8 ++++++++ .../include/{csq_64_comm.h => csq_comm.h} | 0 4 files changed, 16 insertions(+) create mode 100644 communication_techniques/include/csq_2_2_comm.h rename communication_techniques/include/{csq_2_comm.h => csq_2_64_comm.h} (100%) create mode 100644 communication_techniques/include/csq_64_1_comm.h rename communication_techniques/include/{csq_64_comm.h => csq_comm.h} (100%) diff --git a/communication_techniques/include/csq_2_2_comm.h b/communication_techniques/include/csq_2_2_comm.h new file mode 100644 index 0000000..4d9a5ae --- /dev/null +++ b/communication_techniques/include/csq_2_2_comm.h @@ -0,0 +1,8 @@ +#ifndef _SPECIFIC_COMM_H_ +#define _SPECIFIC_COMM_H_ 1 + +#define SLOTS 2 /* Value used in the article, section V.A */ +#define BUF_SIZE (2 * CACHE_LINE_SIZE) +#include + +#endif diff --git a/communication_techniques/include/csq_2_comm.h b/communication_techniques/include/csq_2_64_comm.h similarity index 100% rename from communication_techniques/include/csq_2_comm.h rename to communication_techniques/include/csq_2_64_comm.h diff --git a/communication_techniques/include/csq_64_1_comm.h b/communication_techniques/include/csq_64_1_comm.h new file mode 100644 index 0000000..9c51b26 --- /dev/null +++ b/communication_techniques/include/csq_64_1_comm.h @@ -0,0 +1,8 @@ +#ifndef _SPECIFIC_COMM_H_ +#define _SPECIFIC_COMM_H_ 1 + +#define SLOTS 64 /* Value used in the article, section V.A */ +#define BUF_SIZE CACHE_LINE_SIZE +#include + +#endif diff --git a/communication_techniques/include/csq_64_comm.h b/communication_techniques/include/csq_comm.h similarity index 100% rename from communication_techniques/include/csq_64_comm.h rename to communication_techniques/include/csq_comm.h