commit | cfce0ad8743a7eb5e30a3028f94e816ebed45ccb | [log] [tgz] |
---|---|---|
author | Gabe Black <gabe.black@gmail.com> | Mon Jan 10 23:28:35 2022 -0800 |
committer | Gabe Black <gabe.black@gmail.com> | Sat Jan 15 07:58:25 2022 +0000 |
tree | 185bd0cacec5669cc12fe49050c6370b81ec00da | |
parent | 2572b85f54136d1c38e4e88b10b6208a2e0494c2 [diff] |
arch-x86: Implement IRET for real mode. The IRET instruction is comparitively very simple in real mode. It just pops a few values off the stack into CS, RIP, and RFLAGS, and sets the CS base. Change-Id: I2bc6015209f1beca31253e288dad7c8de5cd22fc Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/55448 Reviewed-by: Gabe Black <gabe.black@gmail.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>