commit | 67b4172764e472d0bd977fedfadafbb5e0d991c3 | [log] [tgz] |
---|---|---|
author | Yuri Tikhonov <yur@emcraft.com> | Thu Feb 21 11:06:07 2008 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Thu Feb 21 11:25:47 2008 +0100 |
tree | be7cd0f2d81a23a36bab87ca4533c6a3ff076b55 | |
parent | 9840dd81efd593a75b3c71ffdb18654195b5e02f [diff] |
Fix CPU POST test failure The CPU POST test code (run from cpu_post_exec_31()) doesn't follow the ABI carefully, at least the CR3, CR4, and CR5 fields of CR are clobbered by it. The gcc-4.2 with its more aggressive optimization exposes this fact. This patch just saves the CR value before running the test code, so allowing it to do anything it wants with CR. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Acked-by: Yuri Tikhonov <yur@emcraft.com> --