vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

commit c14f1cf9af928d769bb73c5aaac69e7ba15bdb71
parent 6c054b5cf94f0a5b872451f50a5eac2517dbd3c5
Author: Russ Cox <rsc@swtch.com>
Date:   Sun, 29 Jun 2008 15:14:43 -0400

9vx: remove old, dead traperr code

Diffstat:
Msrc/9vx/vx32.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/9vx/vx32.c b/src/9vx/vx32.c @@ -260,10 +260,7 @@ touser(void *initsp) if(rc == VXTRAP_PAGEFAULT){ int read; nfaults++; - if(vp->cpu->traperr == 0xffffffff) - read = -1; - else - read = !(vp->cpu->traperr & 2); + read = !(vp->cpu->traperr & 2); addr = (uchar*)vp->cpu->trapva; if(traceprocs) print("fault %p read=%d\n", addr, read);