Skip to contentSkip to conversation

Stack problem during boot a privileged guest

DISCUSSION [email protected] 1 participant 1 message Jan 17, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

i use the source code from the mini-os in the directory "extras". this file is the head.s. the entry point.
but when i compile the mini-os and then load in xen, i get a stack error. has anyone a solution? what is wrong?
please, help me.

bye,
bernhard

the code from head.s:

.section __xen_guest

	.ascii	"GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=2.0,VIRT_BASE=0xC0000000"
	.ascii	",LOADER=generic"
	.byte	0

.text
#include <os.h>

.globl _start, shared_info

_start:
cld
lss stack_start,%esp
push %esi
call start_kernel

stack_start:

	.long stack+8192,__KERNEL_DS

        .org 0x1000
shared_info:
        .org 0x2000
Signature · 8 lines
10 GB Mailbox, 100 FreeSMS http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt