summaryrefslogtreecommitdiff
path: root/src/cpu/table.h
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-11-29 17:38:56 +1100
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-11-29 17:38:56 +1100
commit44a1ea6542c812b173fb9685837c0b2fdc6a7c61 (patch)
tree5ca86b97f79c38a07d4c532be6edcc12a887cbc1 /src/cpu/table.h
parent8d3aaacf14997bbac177ae37ccab4618264cf29c (diff)
bug fix apple.c:9 + inconsequential refactoring
Diffstat (limited to 'src/cpu/table.h')
-rw-r--r--src/cpu/table.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/cpu/table.h b/src/cpu/table.h
index c8ecb00..18cac90 100644
--- a/src/cpu/table.h
+++ b/src/cpu/table.h
@@ -1,7 +1,6 @@
// table.h
// Defines the instruction table, and the functions to access it.
-#ifndef TABLE_H
-#define TABLE_H
+#pragma once
#include"stdint.h"
#include"stdlib.h"
@@ -11,16 +10,14 @@
#define InstructionTableSize (256 * (sizeof(uintptr_t) + sizeof(Addressing)))
-uintptr_t* getInstructionTableFunction(int i);
+uintptr_t* GetInstructionTableFunction(int i);
-Addressing* getInstructionTableAddressing(int i);
+Addressing* GetInstructionTableAddressing(int i);
-void callInstructionTable(int i, address val);
+void CallInstructionTable(int i, address val);
-void setInstructionTable(int i, uintptr_t p, Addressing r);
// Sets an individual portion of an instruction set
+void SetInstructionTable(int i, uintptr_t p, Addressing r);
-void initInstructionTable();
-// Initializes entirety of the instruction table in memory.
-
-#endif \ No newline at end of file
+// Initializes instruction table in memory.
+void InitInstructionTable(); \ No newline at end of file