Mail Archives: djgpp/2000/07/27/15:38:06
So if you make a wrapper for the system and lib calls, you could implement
a loader that reflected those calls to the host OS, in both systems. Then
your DXE file would run in its own environment but under both OSs?
Charles Sandmann wrote:
>
> Building them is dependant on COFF based tools just because the builder and
> loader expect that.
>
> > Surely, though, the DXE mechanism involves nothing more than loading a piece
> > of machine code into memory and CALLing it. Doesn't this mean that as long
> > as the instruction set doesn't change(*), a DXE will be binary portable? (*
> > I actually expect the function calling mechanism, etc., would have to remain
> > the same, too.)
>
> Actually DXEs contain machine instructions, data, and address offset fixups.
> But all of that is handled with the internal load routine.
--
------------------------------------------
Mark & Candice White
System programming hobbyists.
http://members.home.net/mhewii/welcome.htm
- Raw text -