dxeload.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" encoding="ISO8859-1"?>
  2. <fpdoc-descriptions>
  3. <!--
  4. $Id$
  5. This file is part of the FPC documentation.
  6. Copyright (C) 1997, by Michael Van Canneyt
  7. The FPC documentation is free text; you can redistribute it and/or
  8. modify it under the terms of the GNU Library General Public License as
  9. published by the Free Software Foundation; either version 2 of the
  10. License, or (at your option) any later version.
  11. The FPC Documentation is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. Library General Public License for more details.
  15. You should have received a copy of the GNU Library General Public
  16. License along with the FPC documentation; see the file COPYING.LIB. If not,
  17. write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  18. Boston, MA 02111-1307, USA.
  19. -->
  20. <package name="rtl">
  21. <module name="dxeload">
  22. <short>Load DXE file in to memory</short>
  23. <descr>
  24. <p>
  25. The <file>dxeload</file> unit was implemented by Pierre Mueller for dos,
  26. it allows to load a DXE file (an object file with 1 entry point)
  27. into memory and return a pointer to the entry point.
  28. </p>
  29. <p>
  30. It exists only for dos.
  31. </p>
  32. </descr>
  33. <element name="DXE_MAGIC">
  34. <short> Magic number, found in the header of a DXE file.</short>>
  35. </element>
  36. <element name="dxe_header">
  37. <short>Record with header of DXE file</short>
  38. <descr>
  39. The <var>dxe_header</var> record describes the header of a DXE file. It is used to
  40. determine the magic number of the DXE file and number of relocations that
  41. must be done when the object file is loaded in memory.
  42. </descr>
  43. </element>
  44. <element name="dxe_load">
  45. <short>Load DXE file in memory</short>
  46. <descr>
  47. <p>
  48. <var>dxe_load</var> loads the contents of the file <var>filename</var> into memory.
  49. It performs the necessary relocations in the object code, and returns then
  50. a pointer to the entry point of the code.
  51. </p>
  52. <p>
  53. For an example, see the <link id="#rtl.emu387">emu387</link> unit in the RTL.
  54. </p>
  55. </descr>
  56. <errors>
  57. If an error occurs during the load or relocations, <var>Nil</var> is returned.
  58. </errors>
  59. </element>
  60. </module>
  61. </package>
  62. </fpdoc-descriptions>