From 0bbbdf7cf87e791eae6600990838072edbc45205 Mon Sep 17 00:00:00 2001 From: garenchan <1412950785@qq.com> Date: Wed, 28 Nov 2018 20:34:54 +0800 Subject: [PATCH] registers -> registers_t --- 23-fixes/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/23-fixes/README.md b/23-fixes/README.md index 4289413..7f9f735 100644 --- a/23-fixes/README.md +++ b/23-fixes/README.md @@ -79,7 +79,7 @@ We add `cld` just before `call isr_handler` on `cpu/interrupt.asm` as suggested by the osdev wiki. There is a final, important issue with `cpu/interrupt.asm`. The common stubs create an instance -of `struct registers` on the stack and then call the C handler. But that breaks the ABI, since +of `struct registers_t` on the stack and then call the C handler. But that breaks the ABI, since the stack belongs to the called function and they may change them as they please. It is needed to pass the struct as a pointer.