commit | 6f92ed8f1abfe94ee1c96c83c21f4092bb04ff63 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Aug 04 12:33:55 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Aug 05 08:44:07 2015 -0600 |
tree | f487163b3e28006dbe9023ae8c6c3abfbd211461 | |
parent | 7dfe8bdeef7f8a7223fb39e04faaa5c7489feb3f [diff] |
x86: Add a way to call 32-bit code from 64-bit mode The procedure to drop from 64-bit mode to 32-bit is a bit messy. Add a function to take care of it. It requires identity-mapped pages and that the calling code is running below 4GB. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>