intel: Move tools/decoder.[ch] to common/gen_decoder.[ch].
This way they become part of libintel_common.la so I can use them in the i965 driver. Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
2b074bb7e5
commit
7d84bb32aa
|
@ -9,6 +9,8 @@ BLORP_FILES = \
|
||||||
COMMON_FILES = \
|
COMMON_FILES = \
|
||||||
common/gen_debug.c \
|
common/gen_debug.c \
|
||||||
common/gen_debug.h \
|
common/gen_debug.h \
|
||||||
|
common/gen_decoder.c \
|
||||||
|
common/gen_decoder.h \
|
||||||
common/gen_device_info.c \
|
common/gen_device_info.c \
|
||||||
common/gen_device_info.h \
|
common/gen_device_info.h \
|
||||||
common/gen_l3_config.c \
|
common/gen_l3_config.c \
|
||||||
|
|
|
@ -23,8 +23,6 @@ noinst_PROGRAMS += tools/aubinator
|
||||||
|
|
||||||
tools_aubinator_SOURCES = \
|
tools_aubinator_SOURCES = \
|
||||||
tools/aubinator.c \
|
tools/aubinator.c \
|
||||||
tools/decoder.c \
|
|
||||||
tools/decoder.h \
|
|
||||||
tools/disasm.c \
|
tools/disasm.c \
|
||||||
tools/gen_disasm.h
|
tools/gen_disasm.h
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include <util/macros.h>
|
#include <util/macros.h>
|
||||||
|
|
||||||
#include "decoder.h"
|
#include "gen_decoder.h"
|
||||||
|
|
||||||
#include "genxml/gen6_xml.h"
|
#include "genxml/gen6_xml.h"
|
||||||
#include "genxml/gen7_xml.h"
|
#include "genxml/gen7_xml.h"
|
|
@ -21,8 +21,8 @@
|
||||||
* IN THE SOFTWARE.
|
* IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef DECODER_H
|
#ifndef GEN_DECODER_H
|
||||||
#define DECODER_H
|
#define GEN_DECODER_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
@ -135,4 +135,4 @@ void gen_print_group(FILE *out,
|
||||||
uint64_t offset, const uint32_t *p,
|
uint64_t offset, const uint32_t *p,
|
||||||
int starting_dword, bool color);
|
int starting_dword, bool color);
|
||||||
|
|
||||||
#endif /* DECODER_H */
|
#endif /* GEN_DECODER_H */
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
#include "util/macros.h"
|
#include "util/macros.h"
|
||||||
|
|
||||||
#include "decoder.h"
|
#include "common/gen_decoder.h"
|
||||||
#include "intel_aub.h"
|
#include "intel_aub.h"
|
||||||
#include "gen_disasm.h"
|
#include "gen_disasm.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue