xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a1bc5d7ff8c07115484416255ebe2a1588360ce9
parent 5826ce53b464fdfaef35308d1a2b6b97401abc79
Author: Brian Swetland <swetland@frotz.net>
Date:   Fri,  3 Jan 2014 20:33:55 -0800

usertest: disable some assembly that needs 64bit-izing

Diffstat:
Muser/usertests.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/user/usertests.c b/user/usertests.c @@ -1452,6 +1452,7 @@ void validateint(int *p) { int res; +#ifndef X64 asm("mov %%esp, %%ebx\n\t" "mov %3, %%esp\n\t" "int %2\n\t" @@ -1459,6 +1460,7 @@ validateint(int *p) "=a" (res) : "a" (SYS_sleep), "n" (T_SYSCALL), "c" (p) : "ebx"); +#endif } void