From f8fdec47d792f3ed0b869521f793eb38bdaae6a8 Mon Sep 17 00:00:00 2001 From: Remzi Arpaci-Dusseau Date: Sat, 18 Jul 2020 08:02:45 -0500 Subject: [PATCH] Update background.md typo --- initial-xv6/background.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initial-xv6/background.md b/initial-xv6/background.md index 40f2266..505ad2e 100644 --- a/initial-xv6/background.md +++ b/initial-xv6/background.md @@ -49,7 +49,7 @@ read: File: **usys.S** Here we can see that the **read()** library function actually doesn't do much -at all; it moves the value 5 into the register **%eax** and issues the x86 +at all; it moves the value 6 into the register **%eax** and issues the x86 trap instruction which is confusingly called **int** (short for *interrupt*). The value in **%eax** is going to be used by the kernel to *vector* to the right system call, i.e., it determines which system call is being invoked. The