summaryrefslogtreecommitdiff
path: root/vectors.pl
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-22 06:01:32 +0000
committerrsc <rsc>2007-08-22 06:01:32 +0000
commiteaea18cb9cbb86018dae8f1decfa217ecbe85fa5 (patch)
tree98c4a9b852ad9b6aaf16016417cf5eeee0b3857e /vectors.pl
parent3dcf889c1b5c2c5ddf5b4756f2a731c344f6f08e (diff)
downloadxv6-labs-eaea18cb9cbb86018dae8f1decfa217ecbe85fa5.tar.gz
xv6-labs-eaea18cb9cbb86018dae8f1decfa217ecbe85fa5.tar.bz2
xv6-labs-eaea18cb9cbb86018dae8f1decfa217ecbe85fa5.zip
PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf
Various changes made while offline. + bwrite sector argument is redundant; use b->sector. + reformatting of files for nicer PDF page breaks + distinguish between locked, unlocked inodes in type signatures + change FD_FILE to FD_INODE + move userinit (nee proc0init) to proc.c + move ROOTDEV to param.h + always parenthesize sizeof argument
Diffstat (limited to 'vectors.pl')
-rwxr-xr-xvectors.pl21
1 files changed, 21 insertions, 0 deletions
diff --git a/vectors.pl b/vectors.pl
index a6e4de8..499aa74 100755
--- a/vectors.pl
+++ b/vectors.pl
@@ -26,3 +26,24 @@ print "vectors:\n";
for(my $i = 0; $i < 256; $i++){
print " .long vector$i\n";
}
+
+# sample output:
+# # handlers
+# .text
+# .globl alltraps
+# .globl vector0
+# vector0:
+# pushl $0
+# pushl $0
+# jmp alltraps
+# ...
+#
+# # vector table
+# .data
+# .globl vectors
+# vectors:
+# .long vector0
+# .long vector1
+# .long vector2
+# ...
+