xv6

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

commit 0159c8bb941772d91537037ff2489a9261d740ca
parent c7317d4dc74bcb1d0e939c6b06a724fce1510a4e
Author: kolya <kolya>
Date:   Wed, 24 Sep 2008 18:20:56 +0000

trap 9 does not push ec: fix from Greg Price <price@mit.edu>

Diffstat:
Mvectors.pl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vectors.pl b/vectors.pl @@ -12,7 +12,7 @@ print ".globl alltraps\n"; for(my $i = 0; $i < 256; $i++){ print ".globl vector$i\n"; print "vector$i:\n"; - if(($i < 8 || $i > 14) && $i != 17){ + if(!($i == 8 || ($i >= 10 && $i <= 14) || $i == 17)){ print " pushl \$0\n"; } print " pushl \$$i\n";