summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/call32.S
Commit message (Collapse)AuthorAgeLines
* x86: Add a way to call 32-bit code from 64-bit modeSimon Glass2015-08-05-0/+64
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>