diff options
author | Danny Holman <dholman@gymli.org> | 2024-06-24 01:28:04 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-06-24 01:28:04 -0500 |
commit | 5e376ab1287be429c021907fa719ce42173b1df2 (patch) | |
tree | 016cf8fd70e7344b560ea1f44e4d239f518da56f /libk | |
parent | cea371e824adb1650b0797e9943f6dcf3bd179eb (diff) |
arch: i386: boot: zero ESP before calling i386_entry
Set the ESP register to NULL before calling any C code. This allows a
stack trace to occur without overrunning the initial bootstrap stack.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'libk')
0 files changed, 0 insertions, 0 deletions