diff options
Diffstat (limited to 'subx')
-rw-r--r-- | subx/012elf.cc (renamed from subx/020elf.cc) | 1 | ||||
-rw-r--r-- | subx/013direct_addressing.cc (renamed from subx/012direct_addressing.cc) | 0 | ||||
-rw-r--r-- | subx/014indirect_addressing.cc (renamed from subx/013indirect_addressing.cc) | 0 | ||||
-rw-r--r-- | subx/015immediate_addressing.cc (renamed from subx/014immediate_addressing.cc) | 0 | ||||
-rw-r--r-- | subx/016index_addressing.cc (renamed from subx/015index_addressing.cc) | 0 | ||||
-rw-r--r-- | subx/017jump_disp8.cc (renamed from subx/016jump_relative.cc) | 0 | ||||
-rw-r--r-- | subx/018jump_disp16.cc (renamed from subx/017jump_relative.cc) | 0 | ||||
-rw-r--r-- | subx/019functions.cc (renamed from subx/018functions.cc) | 0 | ||||
-rw-r--r-- | subx/020syscalls.cc (renamed from subx/019syscalls.cc) | 3 | ||||
-rw-r--r-- | subx/029translate.cc (renamed from subx/021translate.cc) | 0 |
10 files changed, 1 insertions, 3 deletions
diff --git a/subx/020elf.cc b/subx/012elf.cc index 1939c1a7..efaa9e2e 100644 --- a/subx/020elf.cc +++ b/subx/012elf.cc @@ -140,3 +140,4 @@ ostream& operator<<(ostream& /*unused*/, die /*unused*/) { #include <fcntl.h> #include <stdarg.h> #include <errno.h> +#include <unistd.h> diff --git a/subx/012direct_addressing.cc b/subx/013direct_addressing.cc index 54cd096f..54cd096f 100644 --- a/subx/012direct_addressing.cc +++ b/subx/013direct_addressing.cc diff --git a/subx/013indirect_addressing.cc b/subx/014indirect_addressing.cc index ede192fc..ede192fc 100644 --- a/subx/013indirect_addressing.cc +++ b/subx/014indirect_addressing.cc diff --git a/subx/014immediate_addressing.cc b/subx/015immediate_addressing.cc index c75c419e..c75c419e 100644 --- a/subx/014immediate_addressing.cc +++ b/subx/015immediate_addressing.cc diff --git a/subx/015index_addressing.cc b/subx/016index_addressing.cc index b1b7e563..b1b7e563 100644 --- a/subx/015index_addressing.cc +++ b/subx/016index_addressing.cc diff --git a/subx/016jump_relative.cc b/subx/017jump_disp8.cc index 57424215..57424215 100644 --- a/subx/016jump_relative.cc +++ b/subx/017jump_disp8.cc diff --git a/subx/017jump_relative.cc b/subx/018jump_disp16.cc index 1cbb50a4..1cbb50a4 100644 --- a/subx/017jump_relative.cc +++ b/subx/018jump_disp16.cc diff --git a/subx/018functions.cc b/subx/019functions.cc index 964ca977..964ca977 100644 --- a/subx/018functions.cc +++ b/subx/019functions.cc diff --git a/subx/019syscalls.cc b/subx/020syscalls.cc index 4e6d5888..177ba6f1 100644 --- a/subx/019syscalls.cc +++ b/subx/020syscalls.cc @@ -30,6 +30,3 @@ void process_int80() { raise << HEXWORD << EIP << ": unimplemented syscall " << Reg[EAX].u << '\n' << end(); } } - -:(before "End Includes") -#include <unistd.h> diff --git a/subx/021translate.cc b/subx/029translate.cc index a813cd4d..a813cd4d 100644 --- a/subx/021translate.cc +++ b/subx/029translate.cc |