More X64 backend skeleton work.

This commit is contained in:
Ben Vanik
2013-12-29 19:54:17 -08:00
parent 3d01efffac
commit dec0e35957
34 changed files with 1091 additions and 29 deletions

View File

@@ -23,27 +23,9 @@ const uint32_t ALLOY_BACKEND = alloy::tracing::EventType::ALLOY_BACKEND;
class EventType {
public:
enum {
ALLOY_BACKEND_INIT = ALLOY_BACKEND | (1),
ALLOY_BACKEND_DEINIT = ALLOY_BACKEND | (2),
ALLOY_BACKEND_ASSEMBLER = ALLOY_BACKEND | (1 << 25),
ALLOY_BACKEND_ASSEMBLER_INIT = ALLOY_BACKEND_ASSEMBLER | (1),
ALLOY_BACKEND_ASSEMBLER_DEINIT = ALLOY_BACKEND_ASSEMBLER | (2),
ALLOY_BACKEND_IVM = ALLOY_BACKEND | (1 << 24),
ALLOY_BACKEND_X64 = ALLOY_BACKEND | (2 << 24),
};
typedef struct {
static const uint32_t event_type = ALLOY_BACKEND_INIT;
} Init;
typedef struct {
static const uint32_t event_type = ALLOY_BACKEND_DEINIT;
} Deinit;
typedef struct {
static const uint32_t event_type = ALLOY_BACKEND_ASSEMBLER_INIT;
} AssemblerInit;
typedef struct {
static const uint32_t event_type = ALLOY_BACKEND_ASSEMBLER_DEINIT;
} AssemblerDeinit;
};