source: trunk/IPs/systemC/Environment/Endianness/src/Endianness_cpuEndianness.cpp @ 100

Last change on this file since 100 was 81, checked in by rosiere, 17 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 414 bytes
Line 
1#include "../include/Endianness.h"
2
3namespace environment {
4namespace endianness {
5
6  bool cpuEndianness (uint32_t cpu_id)
7  {
8    // OpenRisc is big endian
9    return(BigEndian);
10
11    /*
12     * Comment connaitre l'endianness ?
13     * static    : table generee dans le top level
14     * dynamique : table generee par un l'equivalent de hostEndianness et ecrivant dans un segment precis de la ram
15     */
16  }
17
18};
19};
Note: See TracBrowser for help on using the repository browser.