From notifications@github.com Sat Jun 27 20:04:30 EDT 2020 ARC-Seal: i=1; a=rsa-sha256; t=1593302661; cv=none; d=google.com; s=arc-20160816; b=es9qTKMQZxmUueKVQiALu8dZ799tZ/vOfOk1cs/+uv5KndOuwSF3XRZ0Sfj7LNb0Lr IbZEj5KsqxrX1IoNjqwEOYbaUs9qubkSuCYhXDQwOGGa0M6ALtyJh95Hh/uAWgNy3wwb I5IK1HYXlaj5W909s4drkYDm1dBI9v082aRBbV/9Yqx1AlnfqazkstMOKpKFERJaGxAQ 1/WoYXWSo9n47x3MslvUM27Lth3UYkcl8/S84M8ZhnEuqPDSRddDR4F1oRsTdCUTrPf1 XnypCoi6o6u6GjNhMaHXv93dZTCYeOhW531WUSBw1Do/1lN9rdvCLCqfIXqpuHQf/84Y eDwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-post:list-archive:list-id:precedence :content-transfer-encoding:mime-version:subject:message-id:cc:to :reply-to:from:date:dkim-signature; bh=BJVWUHKtx9Kge/tRJoA56I+qARoUOoiM42WmOH7ZqWQ=; b=q5k5GGGX1+VT3RSsHgkzkGzk61sDO9I64YpNEnIKzItvz82XkPKkObPN25zgv6sWgD RYYCBbzzYyF3G2/j6EVu1sQl9yY98ZbHUPrJX+EparT4xVnrEQWyYRXhgVI5g/8jbMAx hpFRSWv+0ljf0G8pbjBi4riv8r9dOxJUwbBuXLOGaoVjkBoJ+DZV9fBWm+W3/bQEVhga 3rJRwwJlwzJt6tQhBFt6HtN7K2NqEmCqWNYQ4xG03NDsGCaawZ6nmQXZr2jFVg0e+A/E DUhnHNp4AanBJe9P20Auu3MMwXxy8b6VgXRSQeQKXnnGk8EqveYYOuear44GNFEhLaJC u1JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@github.com header.s=pf2014 header.b=09xj1LAN; spf=pass (google.com: domain of noreply@github.com designates 192.30.252.200 as permitted sender) smtp.mailfrom=noreply@github.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=github.com Return-Path: Received-SPF: pass (google.com: domain of noreply@github.com designates 192.30.252.200 as permitted sender) client-ip=192.30.252.200; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@github.com header.s=pf2014 header.b=09xj1LAN; spf=pass (google.com: domain of noreply@github.com designates 192.30.252.200 as permitted sender) smtp.mailfrom=noreply@github.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=github.com Date: Sat, 27 Jun 2020 17:04:21 -0700 From: ron minnich Reply-To: Harvey-OS/harvey To: Harvey-OS/harvey Cc: Subscribed Subject: [Harvey-OS/harvey] Renumber harvey system call numbers (#916) In mksys.go, add 1024 to the harvey system call numbers. Next step is to add a Plan9SystemCall element to sysconf.json, then generate those system calls, then add the handler in the kernel, which should be a pretty simple shim. It's been done before for NxM, in the opposite direction, when we did Linux system call emulation, so the code to switch out on system call number and so on exists. I'd suggest adding back Plan 9 binary support by, first, translating plan 9 a.out format to ELF, then running it; that's likely easier than putting plan 9 a.out format support back in the kernel (Plan 9 a.out for amd64 was a terrible hack and no Plan 9 a.out was ever defined for RISCV anyway). As jmk used to say, "Plan 9 is a 32-bit system." That's true. Harvey is much closer to being a 64-bit system then Plan 9 ever was, there's not reason to bring back Plan 9 a.out format. You can view, comment on, or merge this pull request online at: https://github.com/Harvey-OS/harvey/pull/916 -- Commit Summary -- * Renumber harvey system call numbers -- File Changes -- M util/src/harvey/cmd/mksys/mksys.go (6) -- Patch Links -- https://github.com/Harvey-OS/harvey/pull/916.patch https://github.com/Harvey-OS/harvey/pull/916.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/Harvey-OS/harvey/pull/916