Displaying 1 result from an estimated 1 matches for "use_pxe_provided_stack".
2003 Jul 16
1
Weird PXE calling convention question
...which kinda sucks.  This leads me to believe an issue with
me setting up a different stack before the far call.
>From the code:
; That is all pushed onto the PXE stack.  Save the pointer to it 
; and switch to an internal stack.
mov [InitStack],sp
mov [InitStack+2],ss
Comment by me: I believe USE_PXE_PROVIDED_STACK is always set???
%if USE_PXE_PROVIDED_STACK
; Apparently some platforms go bonkers if we
; set up our own stack...
mov [BaseStack],sp
mov [BaseStack+4],ss
%endif
Basically, what do you mean by bonkers?! :-)!  Do calls start to fail
like I described or the box just hangs (general fault or somethin...