Revision 5b4c7d27 volk/gen/make_cpuid_h.py

b/volk/gen/make_cpuid_h.py
21 21
# 
22 22

23 23
from xml.dom import minidom
24
from emit_omnilog import *
25 24

26 25
def make_cpuid_h(dom) :
27 26
    tempstring = "";
28 27
    tempstring = tempstring +'/*this file is auto generated by volk_register.py*/';
29 28
    tempstring = tempstring +'\n#ifndef INCLUDED_VOLK_CPU_H';
30 29
    tempstring = tempstring +'\n#define INCLUDED_VOLK_CPU_H\n\n';
31
    tempstring = tempstring + emit_prolog();
30
    tempstring = tempstring + "#include <volk/volk_common.h>\n\n";
31
    tempstring = tempstring + '__VOLK_DECL_BEGIN\n';
32 32
    tempstring = tempstring + '\n'
33 33

34 34
    tempstring = tempstring + "struct VOLK_CPU {\n"
......
42 42
    tempstring = tempstring + "unsigned int volk_get_lvarch ();\n"
43 43

44 44
    tempstring = tempstring + "\n";
45
    tempstring = tempstring + emit_epilog();
45
    tempstring = tempstring + "__VOLK_DECL_END\n";
46 46
    tempstring = tempstring + "#endif /*INCLUDED_VOLK_CPU_H*/\n"
47 47
    
48 48
    return tempstring;

Also available in: Unified diff