Changed include paths to reflect new project structure
This commit is contained in:
parent
9dc460a047
commit
94ef67a0a9
@ -1,9 +1,9 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "shared/a64instruction/a64instruction.h"
|
#include "a64instruction/a64instruction.h"
|
||||||
#include "shared/a64instruction/a64instruction_global.h"
|
#include "a64instruction/a64instruction_global.h"
|
||||||
#include "emulator/emulator.h"
|
#include "emulator/emulator.h"
|
||||||
#include "emulator/fileio.h"
|
#include "util/fileio.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "emulator/print.h"
|
#include "emulator/print.h"
|
||||||
#include "emulator/decode.h"
|
#include "emulator/decode.h"
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "execute.h"
|
#include "execute.h"
|
||||||
#include "print.h"
|
#include "print.h"
|
||||||
#include "../shared/binary_util.h"
|
#include "../util/binary_util.h"
|
||||||
#include "machine_util.h"
|
#include "machine_util.h"
|
||||||
|
|
||||||
// Defines the maximum value that can be held in a register
|
// Defines the maximum value that can be held in a register
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#ifndef __EXECUTE__
|
#ifndef __EXECUTE__
|
||||||
#define __EXECUTE__
|
#define __EXECUTE__
|
||||||
#include "../shared/a64instruction/a64instruction.h"
|
#include "../a64instruction/a64instruction.h"
|
||||||
#include "emulator.h"
|
#include "emulator.h"
|
||||||
|
|
||||||
void execute(Machine *state, a64inst_instruction *inst);
|
void execute(Machine *state, a64inst_instruction *inst);
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
/** Machine Util */
|
/** Machine Util */
|
||||||
#include "assert.h"
|
#include "assert.h"
|
||||||
#include "machine_util.h"
|
#include "machine_util.h"
|
||||||
#include "../shared/a64instruction/a64instruction_global.h"
|
#include "../a64instruction/a64instruction_global.h"
|
||||||
#include "../global.h"
|
#include "../global.h"
|
||||||
#include "emulator.h"
|
#include "emulator.h"
|
||||||
#include "../shared/binary_util.h"
|
#include "../util/binary_util.h"
|
||||||
|
|
||||||
// Returns the dword starting at address. The value is truncated if regType is a 64-bit register.
|
// Returns the dword starting at address. The value is truncated if regType is a 64-bit register.
|
||||||
dword readMemory(byte *memory, uint32_t address, a64inst_regType regType) {
|
dword readMemory(byte *memory, uint32_t address, a64inst_regType regType) {
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
#ifndef __MACHINE_UTIL__
|
#ifndef __MACHINE_UTIL__
|
||||||
#define __MACHINE_UTIL__
|
#define __MACHINE_UTIL__
|
||||||
#include "../global.h"
|
#include "../global.h"
|
||||||
#include "../shared/a64instruction/a64instruction_global.h"
|
#include "../a64instruction/a64instruction_global.h"
|
||||||
#include "emulator.h"
|
#include "emulator.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include "print.h"
|
#include "print.h"
|
||||||
#include "../shared/a64instruction/a64instruction_global.h"
|
#include "../a64instruction/a64instruction_global.h"
|
||||||
#include "emulator.h"
|
#include "emulator.h"
|
||||||
#include "machine_util.h"
|
#include "machine_util.h"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user