diff options
| author | Dan Mick <Dan.Mick@Sun.COM> | 2009-11-06 19:26:18 -0800 |
|---|---|---|
| committer | Dan Mick <Dan.Mick@Sun.COM> | 2009-11-06 19:26:18 -0800 |
| commit | a2b0722de6ff85c0c3d7069f09809346837ab54e (patch) | |
| tree | a64b7f856fb8b552af48c4e970ba0d228b2f9d10 /usr/src/uts/i86pc/ml | |
| parent | f21ed392afb2ea96924762977a86c2b1c42373f8 (diff) | |
| download | illumos-joyent-a2b0722de6ff85c0c3d7069f09809346837ab54e.tar.gz | |
6881449 bop_trap() fails stack backtrace in 64-bit mode
Contributed by Hans.Rosenfeld@amd.com
Diffstat (limited to 'usr/src/uts/i86pc/ml')
| -rw-r--r-- | usr/src/uts/i86pc/ml/locore.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/uts/i86pc/ml/locore.s b/usr/src/uts/i86pc/ml/locore.s index bc98732b36..db016a55db 100644 --- a/usr/src/uts/i86pc/ml/locore.s +++ b/usr/src/uts/i86pc/ml/locore.s @@ -1342,9 +1342,12 @@ bop_trap_handler(void) /* * Handle traps early in boot. Just revectors into C quickly as * these are always fatal errors. + * + * Adjust %rsp to get same stack layout as in 32bit mode for bop_trap(). */ ENTRY(bop_trap_handler) movq %rsp, %rdi + sub $8, %rsp call bop_trap SET_SIZE(bop_trap_handler) #endif |
