[307] | 1 | #ifndef XRAM_TRANSACTION_H_ |
---|
| 2 | #define XRAM_TRANSACTION_H_ |
---|
| 3 | |
---|
| 4 | #include <inttypes.h> |
---|
| 5 | #include <systemc> |
---|
| 6 | #include <cassert> |
---|
| 7 | #include "arithmetics.h" |
---|
| 8 | |
---|
| 9 | #define DEBUG_XRAM_TRANSACTION 0 |
---|
| 10 | |
---|
| 11 | //////////////////////////////////////////////////////////////////////// |
---|
| 12 | // A transaction tab entry |
---|
| 13 | //////////////////////////////////////////////////////////////////////// |
---|
| 14 | |
---|
[422] | 15 | class TransactionTabEntry |
---|
| 16 | { |
---|
[836] | 17 | typedef sc_dt::sc_uint<64> wide_data_t; |
---|
| 18 | typedef sc_dt::sc_uint<40> addr_t; |
---|
| 19 | typedef uint32_t data_t; |
---|
| 20 | typedef uint32_t be_t; |
---|
[307] | 21 | |
---|
| 22 | public: |
---|
[836] | 23 | bool valid; // entry valid |
---|
| 24 | bool xram_read; // read request to XRAM |
---|
| 25 | addr_t nline; // index (zy) of the requested line |
---|
| 26 | size_t srcid; // processor requesting the transaction |
---|
| 27 | size_t trdid; // processor requesting the transaction |
---|
| 28 | size_t pktid; // processor requesting the transaction |
---|
| 29 | bool proc_read; // read request from processor |
---|
| 30 | size_t read_length; // length of the read (for the response) |
---|
| 31 | size_t word_index; // index of the first read word (for response) |
---|
| 32 | std::vector<data_t> wdata; // write buffer (one cache line) |
---|
| 33 | std::vector<be_t> wdata_be; // be for each data in the write buffer |
---|
| 34 | bool rerror; // error returned by xram |
---|
| 35 | data_t ll_key; // LL key returned by the llsc_global_table |
---|
| 36 | bool config; // transaction required by CONFIG FSM |
---|
[307] | 37 | |
---|
| 38 | ///////////////////////////////////////////////////////////////////// |
---|
| 39 | // The init() function initializes the entry |
---|
| 40 | ///////////////////////////////////////////////////////////////////// |
---|
| 41 | void init() |
---|
| 42 | { |
---|
[836] | 43 | valid = false; |
---|
| 44 | rerror = false; |
---|
| 45 | config = false; |
---|
[307] | 46 | } |
---|
| 47 | |
---|
| 48 | ///////////////////////////////////////////////////////////////////// |
---|
| 49 | // The alloc() function initializes the vectors of an entry |
---|
[549] | 50 | // The "n_words" argument is the number of words in a cache line. |
---|
[307] | 51 | ///////////////////////////////////////////////////////////////////// |
---|
| 52 | void alloc(size_t n_words) |
---|
| 53 | { |
---|
[836] | 54 | wdata_be.reserve((int) n_words); |
---|
| 55 | wdata.reserve((int) n_words); |
---|
| 56 | for (size_t i = 0; i < n_words; i++) |
---|
[307] | 57 | { |
---|
| 58 | wdata_be.push_back(0); |
---|
| 59 | wdata.push_back(0); |
---|
| 60 | } |
---|
| 61 | } |
---|
| 62 | |
---|
| 63 | //////////////////////////////////////////////////////////////////// |
---|
| 64 | // The copy() function copies an existing entry |
---|
| 65 | //////////////////////////////////////////////////////////////////// |
---|
| 66 | void copy(const TransactionTabEntry &source) |
---|
| 67 | { |
---|
[836] | 68 | valid = source.valid; |
---|
| 69 | xram_read = source.xram_read; |
---|
| 70 | nline = source.nline; |
---|
| 71 | srcid = source.srcid; |
---|
| 72 | trdid = source.trdid; |
---|
| 73 | pktid = source.pktid; |
---|
| 74 | proc_read = source.proc_read; |
---|
[307] | 75 | read_length = source.read_length; |
---|
[836] | 76 | word_index = source.word_index; |
---|
[307] | 77 | wdata_be.assign(source.wdata_be.begin(),source.wdata_be.end()); |
---|
| 78 | wdata.assign(source.wdata.begin(),source.wdata.end()); |
---|
| 79 | rerror = source.rerror; |
---|
[362] | 80 | ll_key = source.ll_key; |
---|
[489] | 81 | config = source.config; |
---|
[307] | 82 | } |
---|
| 83 | |
---|
| 84 | //////////////////////////////////////////////////////////////////// |
---|
[549] | 85 | // The print() function prints the entry identified by "index". |
---|
[307] | 86 | //////////////////////////////////////////////////////////////////// |
---|
[836] | 87 | void print(size_t index, size_t mode) |
---|
[422] | 88 | { |
---|
[549] | 89 | std::cout << " TRT[" << std::dec << index << "] " |
---|
[836] | 90 | << " valid = " << valid |
---|
| 91 | << " / error = " << rerror |
---|
| 92 | << " / get = " << xram_read |
---|
| 93 | << " / config = " << config << std::hex |
---|
| 94 | << " / address = " << nline*4*wdata.size() |
---|
| 95 | << " / srcid = " << srcid << std::endl; |
---|
| 96 | if (mode) |
---|
[489] | 97 | { |
---|
[549] | 98 | std::cout << " trdid = " << trdid |
---|
[836] | 99 | << " / pktid = " << pktid << std::dec |
---|
| 100 | << " / proc_read = " << proc_read |
---|
| 101 | << " / read_length = " << read_length |
---|
| 102 | << " / word_index = " << word_index << std::hex |
---|
| 103 | << " / ll_key = " << ll_key << std::endl; |
---|
[549] | 104 | std::cout << " wdata = "; |
---|
[836] | 105 | for (size_t i = 0; i < wdata.size(); i++) |
---|
[549] | 106 | { |
---|
| 107 | std::cout << std::hex << wdata[i] << " / "; |
---|
| 108 | } |
---|
| 109 | std::cout << std::endl; |
---|
[307] | 110 | } |
---|
| 111 | } |
---|
| 112 | |
---|
| 113 | ///////////////////////////////////////////////////////////////////// |
---|
[836] | 114 | // Constructors |
---|
[307] | 115 | ///////////////////////////////////////////////////////////////////// |
---|
| 116 | |
---|
| 117 | TransactionTabEntry() |
---|
| 118 | { |
---|
| 119 | wdata_be.clear(); |
---|
| 120 | wdata.clear(); |
---|
[489] | 121 | valid = false; |
---|
| 122 | rerror = false; |
---|
| 123 | config = false; |
---|
[307] | 124 | } |
---|
| 125 | |
---|
[489] | 126 | TransactionTabEntry(const TransactionTabEntry &source) |
---|
| 127 | { |
---|
[836] | 128 | valid = source.valid; |
---|
| 129 | xram_read = source.xram_read; |
---|
| 130 | nline = source.nline; |
---|
| 131 | srcid = source.srcid; |
---|
| 132 | trdid = source.trdid; |
---|
| 133 | pktid = source.pktid; |
---|
| 134 | proc_read = source.proc_read; |
---|
[307] | 135 | read_length = source.read_length; |
---|
[836] | 136 | word_index = source.word_index; |
---|
| 137 | wdata_be.assign(source.wdata_be.begin(), source.wdata_be.end()); |
---|
| 138 | wdata.assign(source.wdata.begin(), source.wdata.end()); |
---|
[307] | 139 | rerror = source.rerror; |
---|
| 140 | ll_key = source.ll_key; |
---|
[489] | 141 | config = source.config; |
---|
[307] | 142 | } |
---|
| 143 | |
---|
| 144 | }; // end class TransactionTabEntry |
---|
| 145 | |
---|
| 146 | //////////////////////////////////////////////////////////////////////// |
---|
| 147 | // The transaction tab |
---|
| 148 | //////////////////////////////////////////////////////////////////////// |
---|
[422] | 149 | class TransactionTab |
---|
| 150 | { |
---|
[836] | 151 | typedef sc_dt::sc_uint<64> wide_data_t; |
---|
| 152 | typedef sc_dt::sc_uint<40> addr_t; |
---|
| 153 | typedef uint32_t data_t; |
---|
| 154 | typedef uint32_t be_t; |
---|
[307] | 155 | |
---|
| 156 | private: |
---|
[836] | 157 | const std::string tab_name; // the name for logs |
---|
| 158 | size_t size_tab; // the size of the tab |
---|
[307] | 159 | |
---|
| 160 | data_t be_to_mask(be_t be) |
---|
| 161 | { |
---|
| 162 | data_t ret = 0; |
---|
[836] | 163 | if (be & 0x1) { |
---|
[307] | 164 | ret = ret | 0x000000FF; |
---|
| 165 | } |
---|
[836] | 166 | if (be & 0x2) { |
---|
[307] | 167 | ret = ret | 0x0000FF00; |
---|
| 168 | } |
---|
[836] | 169 | if (be & 0x4) { |
---|
[307] | 170 | ret = ret | 0x00FF0000; |
---|
| 171 | } |
---|
[836] | 172 | if (be & 0x8) { |
---|
[307] | 173 | ret = ret | 0xFF000000; |
---|
| 174 | } |
---|
| 175 | return ret; |
---|
| 176 | } |
---|
| 177 | |
---|
| 178 | public: |
---|
[836] | 179 | TransactionTabEntry * tab; // The transaction tab |
---|
[307] | 180 | |
---|
| 181 | //////////////////////////////////////////////////////////////////// |
---|
[836] | 182 | // Constructors |
---|
[307] | 183 | //////////////////////////////////////////////////////////////////// |
---|
| 184 | TransactionTab() |
---|
| 185 | { |
---|
[836] | 186 | size_tab = 0; |
---|
| 187 | tab = NULL; |
---|
[307] | 188 | } |
---|
| 189 | |
---|
[422] | 190 | TransactionTab(const std::string &name, |
---|
[836] | 191 | size_t n_entries, |
---|
| 192 | size_t n_words) |
---|
| 193 | : tab_name(name), |
---|
| 194 | size_tab(n_entries) |
---|
[307] | 195 | { |
---|
| 196 | tab = new TransactionTabEntry[size_tab]; |
---|
[836] | 197 | for (size_t i = 0; i < size_tab; i++) |
---|
[422] | 198 | { |
---|
[307] | 199 | tab[i].alloc(n_words); |
---|
| 200 | } |
---|
| 201 | } |
---|
| 202 | |
---|
| 203 | ~TransactionTab() |
---|
| 204 | { |
---|
| 205 | delete [] tab; |
---|
| 206 | } |
---|
| 207 | ///////////////////////////////////////////////////////////////////// |
---|
| 208 | // The size() function returns the size of the tab |
---|
| 209 | ///////////////////////////////////////////////////////////////////// |
---|
| 210 | size_t size() |
---|
| 211 | { |
---|
| 212 | return size_tab; |
---|
| 213 | } |
---|
| 214 | ///////////////////////////////////////////////////////////////////// |
---|
| 215 | // The init() function initializes the transaction tab entries |
---|
| 216 | ///////////////////////////////////////////////////////////////////// |
---|
| 217 | void init() |
---|
| 218 | { |
---|
[836] | 219 | for (size_t i = 0; i < size_tab; i++) |
---|
[489] | 220 | { |
---|
[307] | 221 | tab[i].init(); |
---|
| 222 | } |
---|
| 223 | } |
---|
| 224 | ///////////////////////////////////////////////////////////////////// |
---|
[549] | 225 | // The print() function prints TRT content. |
---|
| 226 | // Detailed content if detailed argument is non zero. |
---|
[307] | 227 | ///////////////////////////////////////////////////////////////////// |
---|
[836] | 228 | void print(size_t detailed = 0) |
---|
[307] | 229 | { |
---|
[549] | 230 | std::cout << " < TRT content in " << tab_name << " >" << std::endl; |
---|
[836] | 231 | for (size_t id = 0; id < size_tab; id++) |
---|
[549] | 232 | { |
---|
| 233 | tab[id].print( id , detailed ); |
---|
| 234 | } |
---|
[307] | 235 | } |
---|
| 236 | ///////////////////////////////////////////////////////////////////// |
---|
| 237 | // The read() function returns a transaction tab entry. |
---|
| 238 | // Arguments : |
---|
| 239 | // - index : the index of the entry to read |
---|
| 240 | ///////////////////////////////////////////////////////////////////// |
---|
| 241 | TransactionTabEntry read(const size_t index) |
---|
| 242 | { |
---|
[836] | 243 | assert((index < size_tab) and "MEMC ERROR: Invalid Transaction Tab Entry"); |
---|
[489] | 244 | |
---|
[307] | 245 | return tab[index]; |
---|
| 246 | } |
---|
| 247 | ///////////////////////////////////////////////////////////////////// |
---|
| 248 | // The full() function returns the state of the transaction tab |
---|
| 249 | // Arguments : |
---|
| 250 | // - index : (return argument) the index of an empty entry |
---|
| 251 | // The function returns true if the transaction tab is full |
---|
| 252 | ///////////////////////////////////////////////////////////////////// |
---|
[836] | 253 | bool full(size_t & index) |
---|
[307] | 254 | { |
---|
[836] | 255 | for (size_t i = 0; i < size_tab; i++) |
---|
[489] | 256 | { |
---|
[836] | 257 | if (!tab[i].valid) |
---|
[489] | 258 | { |
---|
[836] | 259 | index = i; |
---|
| 260 | return false; |
---|
[307] | 261 | } |
---|
| 262 | } |
---|
| 263 | return true; |
---|
| 264 | } |
---|
| 265 | ///////////////////////////////////////////////////////////////////// |
---|
| 266 | // The hit_read() function checks if an XRAM read transaction exists |
---|
| 267 | // for a given cache line. |
---|
| 268 | // Arguments : |
---|
| 269 | // - index : (return argument) the index of the hit entry, if there is |
---|
| 270 | // - nline : the index (zy) of the requested line |
---|
| 271 | // The function returns true if a read request has already been sent |
---|
| 272 | ////////////////////////////////////////////////////////////////////// |
---|
| 273 | bool hit_read(const addr_t nline,size_t &index) |
---|
| 274 | { |
---|
[836] | 275 | for (size_t i = 0; i < size_tab; i++) |
---|
[489] | 276 | { |
---|
[836] | 277 | if ((tab[i].valid && (nline == tab[i].nline)) && (tab[i].xram_read)) |
---|
[489] | 278 | { |
---|
[836] | 279 | index = i; |
---|
| 280 | return true; |
---|
[307] | 281 | } |
---|
| 282 | } |
---|
| 283 | return false; |
---|
| 284 | } |
---|
| 285 | /////////////////////////////////////////////////////////////////////// |
---|
| 286 | // The hit_write() function looks if an XRAM write transaction exists |
---|
| 287 | // for a given line. |
---|
| 288 | // Arguments : |
---|
| 289 | // - nline : the index (zy) of the requested line |
---|
| 290 | // The function returns true if a write request has already been sent |
---|
| 291 | /////////////////////////////////////////////////////////////////////// |
---|
| 292 | bool hit_write(const addr_t nline) |
---|
| 293 | { |
---|
[836] | 294 | for (size_t i = 0; i < size_tab; i++) |
---|
[489] | 295 | { |
---|
[836] | 296 | if (tab[i].valid && (nline == tab[i].nline) && !(tab[i].xram_read)) |
---|
[489] | 297 | { |
---|
[836] | 298 | return true; |
---|
[307] | 299 | } |
---|
| 300 | } |
---|
| 301 | return false; |
---|
| 302 | } |
---|
| 303 | ///////////////////////////////////////////////////////////////////// |
---|
| 304 | // The write_data_mask() function writes a vector of data (a line). |
---|
| 305 | // The data is written only if the corresponding bits are set |
---|
| 306 | // in the be vector. |
---|
| 307 | // Arguments : |
---|
| 308 | // - index : the index of the request in the transaction tab |
---|
| 309 | // - be : vector of be |
---|
| 310 | // - data : vector of data |
---|
| 311 | ///////////////////////////////////////////////////////////////////// |
---|
| 312 | void write_data_mask(const size_t index, |
---|
[836] | 313 | const std::vector<be_t> & be, |
---|
| 314 | const std::vector<data_t> & data) |
---|
[307] | 315 | { |
---|
[489] | 316 | assert( (index < size_tab) and |
---|
[836] | 317 | "MEMC ERROR: The selected entry is out of range in TRT write_data_mask()"); |
---|
[307] | 318 | |
---|
[836] | 319 | assert( (be.size() == tab[index].wdata_be.size()) and |
---|
| 320 | "MEMC ERROR: Bad be size in TRT write_data_mask()"); |
---|
[489] | 321 | |
---|
[836] | 322 | assert( (data.size() == tab[index].wdata.size()) and |
---|
| 323 | "MEMC ERROR: Bad data size in TRT write_data_mask()"); |
---|
[489] | 324 | |
---|
[836] | 325 | for (size_t i = 0; i < tab[index].wdata_be.size(); i++) |
---|
[489] | 326 | { |
---|
[307] | 327 | tab[index].wdata_be[i] = tab[index].wdata_be[i] | be[i]; |
---|
| 328 | data_t mask = be_to_mask(be[i]); |
---|
| 329 | tab[index].wdata[i] = (tab[index].wdata[i] & ~mask) | (data[i] & mask); |
---|
| 330 | } |
---|
| 331 | } |
---|
| 332 | ///////////////////////////////////////////////////////////////////// |
---|
| 333 | // The set() function registers a transaction (read or write) |
---|
| 334 | // to the XRAM in the transaction tab. |
---|
| 335 | // Arguments : |
---|
| 336 | // - index : index in the transaction tab |
---|
| 337 | // - xram_read : transaction type (read or write a cache line) |
---|
| 338 | // - nline : the index (zy) of the cache line |
---|
| 339 | // - srcid : srcid of the initiator that caused the transaction |
---|
| 340 | // - trdid : trdid of the initiator that caused the transaction |
---|
| 341 | // - pktid : pktid of the initiator that caused the transaction |
---|
| 342 | // - proc_read : does the initiator want a copy |
---|
| 343 | // - read_length : length of read (in case of processor read) |
---|
| 344 | // - word_index : index in the line (in case of single word read) |
---|
| 345 | // - data : the data to write (in case of write) |
---|
| 346 | // - data_be : the mask of the data to write (in case of write) |
---|
| 347 | // - ll_key : the ll key (if any) returned by the llsc_global_table |
---|
[489] | 348 | // - config : transaction required by config FSM |
---|
[307] | 349 | ///////////////////////////////////////////////////////////////////// |
---|
| 350 | void set(const size_t index, |
---|
| 351 | const bool xram_read, |
---|
| 352 | const addr_t nline, |
---|
| 353 | const size_t srcid, |
---|
| 354 | const size_t trdid, |
---|
| 355 | const size_t pktid, |
---|
| 356 | const bool proc_read, |
---|
| 357 | const size_t read_length, |
---|
| 358 | const size_t word_index, |
---|
[836] | 359 | const std::vector<be_t> & data_be, |
---|
| 360 | const std::vector<data_t> & data, |
---|
[489] | 361 | const data_t ll_key = 0, |
---|
| 362 | const bool config = false) |
---|
[307] | 363 | { |
---|
[836] | 364 | assert((index < size_tab) and |
---|
| 365 | "MEMC ERROR: The selected entry is out of range in TRT set()"); |
---|
[307] | 366 | |
---|
[836] | 367 | assert((data_be.size()==tab[index].wdata_be.size()) and |
---|
| 368 | "MEMC ERROR: Bad data_be argument in TRT set()"); |
---|
[489] | 369 | |
---|
[836] | 370 | assert((data.size()==tab[index].wdata.size()) and |
---|
| 371 | "MEMC ERROR: Bad data argument in TRT set()"); |
---|
[489] | 372 | |
---|
[836] | 373 | tab[index].valid = true; |
---|
| 374 | tab[index].xram_read = xram_read; |
---|
| 375 | tab[index].nline = nline; |
---|
| 376 | tab[index].srcid = srcid; |
---|
| 377 | tab[index].trdid = trdid; |
---|
| 378 | tab[index].pktid = pktid; |
---|
| 379 | tab[index].proc_read = proc_read; |
---|
| 380 | tab[index].read_length = read_length; |
---|
| 381 | tab[index].word_index = word_index; |
---|
| 382 | tab[index].ll_key = ll_key; |
---|
| 383 | tab[index].config = config; |
---|
| 384 | for (size_t i = 0; i < tab[index].wdata.size(); i++) |
---|
[307] | 385 | { |
---|
[836] | 386 | tab[index].wdata_be[i] = data_be[i]; |
---|
| 387 | tab[index].wdata[i] = data[i]; |
---|
[307] | 388 | } |
---|
| 389 | } |
---|
| 390 | |
---|
| 391 | ///////////////////////////////////////////////////////////////////// |
---|
[385] | 392 | // The write_rsp() function writes two 32 bits words of the response |
---|
| 393 | // to a XRAM read transaction. |
---|
[307] | 394 | // The BE field in TRT is taken into account. |
---|
| 395 | // Arguments : |
---|
[489] | 396 | // - index : index of the entry in TRT |
---|
| 397 | // - word : index of the 32 bits word in the line |
---|
| 398 | // - data : 64 bits value (first data right) |
---|
[307] | 399 | ///////////////////////////////////////////////////////////////////// |
---|
[836] | 400 | void write_rsp(const size_t index, |
---|
| 401 | const size_t word, |
---|
| 402 | const wide_data_t data, |
---|
| 403 | const bool rerror) |
---|
[307] | 404 | { |
---|
[836] | 405 | data_t value; |
---|
| 406 | data_t mask; |
---|
[385] | 407 | |
---|
[836] | 408 | assert((index < size_tab) and |
---|
| 409 | "MEMC ERROR: The selected entry is out of range in TRT write_rsp()"); |
---|
[307] | 410 | |
---|
[836] | 411 | assert((word < tab[index].wdata_be.size()) and |
---|
| 412 | "MEMC ERROR: Bad word index in TRT write_rsp()"); |
---|
[489] | 413 | |
---|
[836] | 414 | assert((tab[index].valid) and |
---|
| 415 | "MEMC ERROR: TRT entry not valid in TRT write_rsp()"); |
---|
[489] | 416 | |
---|
[836] | 417 | assert((tab[index].xram_read ) and |
---|
| 418 | "MEMC ERROR: TRT entry is not a GET in TRT write_rsp()"); |
---|
[489] | 419 | |
---|
[836] | 420 | if (rerror) |
---|
[601] | 421 | { |
---|
| 422 | tab[index].rerror = true; |
---|
| 423 | return; |
---|
| 424 | } |
---|
| 425 | |
---|
[385] | 426 | // first 32 bits word |
---|
[836] | 427 | value = (data_t) data; |
---|
[385] | 428 | mask = be_to_mask(tab[index].wdata_be[word]); |
---|
| 429 | tab[index].wdata[word] = (tab[index].wdata[word] & mask) | (value & ~mask); |
---|
| 430 | |
---|
| 431 | // second 32 bits word |
---|
[836] | 432 | value = (data_t) (data >> 32); |
---|
| 433 | mask = be_to_mask(tab[index].wdata_be[word + 1]); |
---|
| 434 | tab[index].wdata[word + 1] = (tab[index].wdata[word + 1] & mask) | (value & ~mask); |
---|
[307] | 435 | } |
---|
| 436 | ///////////////////////////////////////////////////////////////////// |
---|
| 437 | // The erase() function erases an entry in the transaction tab. |
---|
| 438 | // Arguments : |
---|
| 439 | // - index : the index of the request in the transaction tab |
---|
| 440 | ///////////////////////////////////////////////////////////////////// |
---|
| 441 | void erase(const size_t index) |
---|
| 442 | { |
---|
[489] | 443 | assert( (index < size_tab) and |
---|
[836] | 444 | "MEMC ERROR: The selected entry is out of range in TRT erase()"); |
---|
[489] | 445 | |
---|
[836] | 446 | tab[index].valid = false; |
---|
| 447 | tab[index].rerror = false; |
---|
[307] | 448 | } |
---|
[489] | 449 | ///////////////////////////////////////////////////////////////////// |
---|
| 450 | // The is_config() function returns the config flag value. |
---|
| 451 | // Arguments : |
---|
| 452 | // - index : the index of the entry in the transaction tab |
---|
| 453 | ///////////////////////////////////////////////////////////////////// |
---|
| 454 | bool is_config(const size_t index) |
---|
| 455 | { |
---|
| 456 | assert( (index < size_tab) and |
---|
[836] | 457 | "MEMC ERROR: The selected entry is out of range in TRT is_config()"); |
---|
[489] | 458 | |
---|
| 459 | return tab[index].config; |
---|
| 460 | } |
---|
[307] | 461 | }; // end class TransactionTab |
---|
| 462 | |
---|
| 463 | #endif |
---|
| 464 | |
---|
| 465 | // Local Variables: |
---|
| 466 | // tab-width: 4 |
---|
| 467 | // c-basic-offset: 4 |
---|
| 468 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
---|
| 469 | // indent-tabs-mode: nil |
---|
| 470 | // End: |
---|
| 471 | |
---|
| 472 | // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
| 473 | |
---|