Skip to contentSkip to conversation

KSTK_EIP and KSTK_ESP

DISCUSSION Balbir Singh 3 participants 3 messages Feb 8, 2002 – Feb 11, 2002

lore
Share & tools
lore
#0 lore raw

Do we really need these defines, I found that it is not used anywhere and defined as deadbeef on some architectures. Does it make sense to remove these variables from the kernel source?

Balbir

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

#1 lore raw

From: "Balbir Singh" <[email protected]>
Date: Fri, 08 Feb 2002 12:36:59 -0800

Do we really need these defines, I found that it is not used anywhere and defined as deadbeef on some architectures. Does it make sense to remove these variables from the kernel source?

Perhaps your copy of grep is buggy, check out fs/proc/array.c which does make use of those macros.

#2 lore raw
In reply to Balbir Singh
Quoted 4 lines · Balbir Singh

Do we really need these defines, I found that it is not used anywhere and defined as deadbeef on some architectures. Does it make sense to remove these variables from the kernel source?

You should implement these. The names may be x86-specific, but the purpose is not.

EIP -- user instruction pointer or (eeew!) program counter ESP -- user stack pointer, as defined by your ABI