commit | bae81c737a36a50fefa2ca76f6929dfbd386c515 | [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 | d360b2f5b54584bf4c65b5dd3f2a256947a3ea91 [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>