Subversion Repositories Kolibri OS

Rev

Rev 1434 | Rev 1613 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1.  
  2.     .file   "export.s"
  3.     .intel_syntax
  4.  
  5.     .text
  6.  
  7.     .global _AllocPage
  8.     .global _AllocPages
  9.  
  10.     .global _AttachIntHandler
  11.  
  12.     .global _CreateRingBuffer
  13.     .global _Delay
  14.     .global _DestroyObject
  15.  
  16.     .global _FreeKernelSpace
  17.  
  18.     .global _GetDisplay
  19.     .global _GetPgAddr
  20.     .global _GetService
  21.  
  22.     .global _KernelAlloc
  23.     .global _KernelFree
  24.  
  25.     .global _MapIoMem
  26.  
  27.     .global _MutexInit
  28.     .global _MutexLock
  29.     .global _MutexUnlock
  30.  
  31.     .global _PciApi
  32.     .global _PciRead16
  33.     .global _PciRead32
  34.     .global _PciRead8
  35.     .global _PciWrite16
  36.     .global _PciWrite32
  37.     .global _PciWrite8
  38.  
  39.     .global _RegService
  40.  
  41.     .global _SetMouseData
  42.     .global _SetScreen
  43.     .global _SysMsgBoardStr
  44.  
  45.  
  46.     .def  _AllocPage;         .scl  2;  .type 32; .endef
  47.     .def  _AllocPages;        .scl  2;  .type 32; .endef
  48.  
  49.     .def  _AttachIntHandler;  .scl  2;  .type 32; .endef
  50.  
  51.     .def  _CreateRingBuffer;  .scl  2;  .type 32; .endef
  52.  
  53.     .def  _Delay;             .scl  2;  .type 32; .endef
  54.     .def  _DestroyObject;     .scl  2;  .type 32; .endef
  55.  
  56.     .def  _FreeKernelSpace;   .scl  2;  .type 32; .endef
  57.  
  58.     .def  _GetDisplay;        .scl  2;  .type 32; .endef
  59.     .def  _GetPgAddr;         .scl  2;  .type 32; .endef
  60.     .def  _GetService;        .scl  2;  .type 32; .endef
  61.  
  62.     .def  _KernelAlloc;       .scl  2;  .type 32; .endef
  63.     .def  _KernelFree;        .scl  2;  .type 32; .endef
  64.  
  65.     .def  _MapIoMem;          .scl  2;  .type 32; .endef
  66.  
  67.     .def  _MutexInit;         .scl  2;  .type 32; .endef
  68.     .def  _MutexLock;         .scl  2;  .type 32; .endef
  69.     .def  _MutexUnlock;       .scl  2;  .type 32; .endef
  70.  
  71.     .def  _PciApi;            .scl  2;  .type 32; .endef
  72.     .def  _PciRead16;         .scl  2;  .type 32; .endef
  73.     .def  _PciRead32;         .scl  2;  .type 32; .endef
  74.     .def  _PciRead8;          .scl  2;  .type 32; .endef
  75.     .def  _PciWrite16;        .scl  2;  .type 32; .endef
  76.     .def  _PciWrite32;        .scl  2;  .type 32; .endef
  77.     .def  _PciWrite8;         .scl  2;  .type 32; .endef
  78.  
  79.     .def  _RegService;        .scl  2;  .type 32; .endef
  80.  
  81.     .def  _SetScreen;         .scl  2;  .type 32; .endef
  82.     .def  _SetMouseData;      .scl  2;  .type 32; .endef
  83.     .def  _SysMsgBoardStr;    .scl  2;  .type 32; .endef
  84.  
  85.  
  86. _AllocPage:
  87. _AllocPages:
  88.  
  89. _AttachIntHandler:
  90.  
  91. _CreateRingBuffer:
  92.  
  93. _Delay:
  94.  
  95. _DestroyObject:
  96.  
  97. _FreeKernelSpace:
  98.  
  99. _GetDisplay:
  100. _GetPgAddr:
  101. _GetService:
  102.  
  103. _KernelAlloc:
  104. _KernelFree:
  105.  
  106. _MapIoMem:
  107.  
  108. _MutexInit:
  109. _MutexLock:
  110. _MutexUnlock:
  111.  
  112. _PciApi:
  113. _PciRead16:
  114. _PciRead32:
  115. _PciRead8:
  116. _PciWrite16:
  117. _PciWrite32:
  118. _PciWrite8:
  119.  
  120. _RegService:
  121.  
  122. _SetMouseData:
  123. _SetScreen:
  124. _SysMsgBoardStr:
  125.         ret
  126.  
  127.     .section .drectve
  128.  
  129.         .ascii " -export:AllocPage"            # gcc ABI
  130.         .ascii " -export:AllocPages"           # gcc ABI
  131.  
  132.         .ascii " -export:AttachIntHandler"     # stdcall
  133.  
  134.         .ascii " -export:CreateRingBuffer"     # stdcall
  135.  
  136.         .ascii " -export:Delay"                # stdcall
  137.  
  138.         .ascii " -export:DestroyObject"
  139.  
  140.         .ascii " -export:FreeKernelSpace"      # stdcall
  141.  
  142.         .ascii " -export:GetDisplay"           # stdcall
  143.         .ascii " -export:GetPgAddr"            # stdcall
  144.         .ascii " -export:GetService"           # stdcall
  145.  
  146.         .ascii " -export:KernelAlloc"          # stdcall
  147.         .ascii " -export:KernelFree"           # stdcall
  148.  
  149.         .ascii " -export:MapIoMem"             # stdcall
  150.  
  151.         .ascii " -export:MutexInit"            # fastcall
  152.         .ascii " -export:MutexLock"            # fastcall
  153.         .ascii " -export:MutexUnlock"          # fastcall
  154.  
  155.         .ascii " -export:PciApi"               #
  156.         .ascii " -export:PciRead16"            # stdcall
  157.         .ascii " -export:PciRead32"            # stdcall
  158.         .ascii " -export:PciRead8"             # stdcall
  159.         .ascii " -export:PciWrite16"           # stdcall
  160.         .ascii " -export:PciWrite32"           # stdcall
  161.         .ascii " -export:PciWrite8"            # stdcall
  162.  
  163.         .ascii " -export:RegService"           # stdcall
  164.  
  165.         .ascii " -export:SetMouseData"         # stdcall
  166.         .ascii " -export:SetScreen"            # stdcall
  167.         .ascii " -export:SysMsgBoardStr"       # stdcall
  168.  
  169.  
  170.