mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-23 19:51:46 +00:00
!PXE and PXENV+ structures are in code segment, not data segment.
This commit is contained in:
parent
1ecb9acb87
commit
0324d5ff70
@ -31,7 +31,8 @@
|
||||
*/
|
||||
PXENV_EXIT_t undi_loader ( struct s_UNDI_LOADER *undi_loader ) {
|
||||
|
||||
DBG ( "[PXENV_UNDI_LOADER]" );
|
||||
DBG ( "[PXENV_UNDI_LOADER to CS %04x DS %04x]",
|
||||
undi_loader->UNDI_CS, undi_loader->UNDI_DS );
|
||||
|
||||
/* Perform one-time initialisation (e.g. heap) */
|
||||
initialise();
|
||||
@ -40,10 +41,10 @@ PXENV_EXIT_t undi_loader ( struct s_UNDI_LOADER *undi_loader ) {
|
||||
pxe_init_structures();
|
||||
|
||||
/* Fill in UNDI loader structure */
|
||||
undi_loader->PXEptr.segment = rm_ds;
|
||||
undi_loader->PXEptr.segment = rm_cs;
|
||||
undi_loader->PXEptr.offset =
|
||||
( ( unsigned ) & __from_text16 ( ppxe ) );
|
||||
undi_loader->PXENVptr.segment = rm_ds;
|
||||
undi_loader->PXENVptr.segment = rm_cs;
|
||||
undi_loader->PXENVptr.offset =
|
||||
( ( unsigned ) & __from_text16 ( pxenv ) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user