Stack register value in the kernel setup code

2014-12-24 Thread Alexander Kuleshov
Hello, I runn kernel with grub in qemu, connected with gdb and put break point to 0x10200 (to this jump - https://github.com/torvalds/linux/blob/master/arch/x86/boot/header.S#L297) Registers value are following: eax0x10204128 ecx0x00 edx0x10

Re: Stack register value in the kernel setup code

2014-12-24 Thread John de la Garza
On Wed, Dec 24, 2014 at 03:23:15PM +0600, Alexander Kuleshov wrote: Hello, I runn kernel with grub in qemu, connected with gdb and put break point to 0x10200 (to this jump - https://github.com/torvalds/linux/blob/master/arch/x86/boot/header.S#L297) What kernel version are you running?

Re: Stack register value in the kernel setup code

2014-12-24 Thread Alexander Kuleshov
Hello John, kernel - 3.18. Yes sure i saw boot protocol. What means 'Kernel setup' is it only header.S code or all real mode code before protected mode? Thank you. 2014-12-24 21:43 GMT+06:00 John de la Garza j...@jjdev.com: On Wed, Dec 24, 2014 at 03:23:15PM +0600, Alexander Kuleshov wrote: