Add read support for AArch64

This commit is contained in:
2025-04-14 14:09:14 -04:00
parent c2d03d048a
commit 6902b49be2
3 changed files with 22 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ int main() {
if(pid == 0) return 0;
//TODO: wait on child to remove zombie process
#if defined(__x86_64__)
#if defined(__x86_64__) || defined(__aarch64__)
// Test the read syscall
#define INPUT_BUFFER_LEN 4096
char input_buffer[INPUT_BUFFER_LEN] = {0};