Subversion Repositories Kolibri OS

Rev

Rev 2169 | Rev 3031 | 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 _AllocKernelSpace
  8.     .global _AllocPage
  9.     .global _AllocPages
  10.  
  11.     .global _AttachIntHandler
  12.  
  13.     .global _CreateEvent
  14.     .global _CreateObject
  15.     .global _CreateRingBuffer
  16.  
  17.     .global _Delay
  18.     .global _DestroyEvent
  19.     .global _DestroyObject
  20.  
  21.     .global _FreeKernelSpace
  22.     .global _FreePage
  23.  
  24.     .global _GetDisplay
  25.     .global _GetEvent
  26.     .global _GetPgAddr
  27.     .global _GetPid
  28.     .global _GetService
  29.     .global _GetTimerTicks
  30.     .global _GetStackBase
  31.     .global _GetWindowRect
  32.  
  33.     .global _KernelAlloc
  34.     .global _KernelFree
  35.  
  36.     .global _MapIoMem
  37.  
  38.     .global _MutexInit
  39.     .global _MutexLock
  40.     .global _MutexUnlock
  41.  
  42.     .global _PciApi
  43.     .global _PciRead16
  44.     .global _PciRead32
  45.     .global _PciRead8
  46.     .global _PciWrite16
  47.     .global _PciWrite32
  48.     .global _PciWrite8
  49.  
  50.     .global _RaiseEvent
  51.  
  52.     .global _RegService
  53.  
  54.     .global _SetMouseData
  55.     .global _SetKeyboardData
  56.  
  57.     .global _SetScreen
  58.     .global _SysMsgBoardStr
  59.  
  60.     .global _TimerHs
  61.  
  62.     .global _UserAlloc
  63.  
  64.     .global _WaitEvent
  65.  
  66.  
  67.     .def  _AllocKernelSpace;  .scl  2;  .type 32; .endef
  68.     .def  _AllocPage;         .scl  2;  .type 32; .endef
  69.     .def  _AllocPages;        .scl  2;  .type 32; .endef
  70.  
  71.     .def  _AttachIntHandler;  .scl  2;  .type 32; .endef
  72.  
  73.     .def  _CreateEvent;       .scl  2;  .type 32; .endef
  74.     .def  _CreateObject;      .scl  2;  .type 32; .endef
  75.     .def  _CreateRingBuffer;  .scl  2;  .type 32; .endef
  76.  
  77.     .def  _Delay;             .scl  2;  .type 32; .endef
  78.     .def  _DestroyEvent;      .scl  2;  .type 32; .endef
  79.     .def  _DestroyObject;     .scl  2;  .type 32; .endef
  80.  
  81.     .def  _FreeKernelSpace;   .scl  2;  .type 32; .endef
  82.     .def  _FreePage;          .scl  2;  .type 32; .endef
  83.  
  84.     .def  _GetDisplay;        .scl  2;  .type 32; .endef
  85.     .def  _GetEvent;          .scl  2;  .type 32; .endef
  86.     .def  _GetPid;            .scl  2;  .type 32; .endef
  87.     .def  _GetPgAddr;         .scl  2;  .type 32; .endef
  88.     .def  _GetService;        .scl  2;  .type 32; .endef
  89.     .def  _GetTimerTicks;     .scl  2;  .type 32; .endef
  90.     .def  _GetStackBase;      .scl  2;  .type 32; .endef
  91.     .def  _GetWindowRect;     .scl  2;  .type 32; .endef
  92.  
  93.     .def  _KernelAlloc;       .scl  2;  .type 32; .endef
  94.     .def  _KernelFree;        .scl  2;  .type 32; .endef
  95.  
  96.     .def  _MapIoMem;          .scl  2;  .type 32; .endef
  97.  
  98.     .def  _MutexInit;         .scl  2;  .type 32; .endef
  99.     .def  _MutexLock;         .scl  2;  .type 32; .endef
  100.     .def  _MutexUnlock;       .scl  2;  .type 32; .endef
  101.  
  102.     .def  _PciApi;            .scl  2;  .type 32; .endef
  103.     .def  _PciRead16;         .scl  2;  .type 32; .endef
  104.     .def  _PciRead32;         .scl  2;  .type 32; .endef
  105.     .def  _PciRead8;          .scl  2;  .type 32; .endef
  106.     .def  _PciWrite16;        .scl  2;  .type 32; .endef
  107.     .def  _PciWrite32;        .scl  2;  .type 32; .endef
  108.     .def  _PciWrite8;         .scl  2;  .type 32; .endef
  109.  
  110.     .def  _RaiseEvent;        .scl  2;  .type 32; .endef
  111.  
  112.     .def  _RegService;        .scl  2;  .type 32; .endef
  113.  
  114.     .def  _SetScreen;         .scl  2;  .type 32; .endef
  115.     .def  _SetMouseData;      .scl  2;  .type 32; .endef
  116.     .def  _SetKeyboardData;   .scl  2;  .type 32; .endef
  117.     .def  _SysMsgBoardStr;    .scl  2;  .type 32; .endef
  118.  
  119.     .def  _TimerHs;           .scl  2;  .type 32; .endef
  120.  
  121.     .def  _UserAlloc;         .scl  2;  .type 32; .endef
  122.  
  123.     .def  _WaitEvent;         .scl  2;  .type 32; .endef
  124.  
  125.  
  126. _AllocKernelSpace:
  127. _AllocPage:
  128. _AllocPages:
  129.  
  130. _AttachIntHandler:
  131.  
  132. _CreateEvent:
  133. _CreateObject:
  134. _CreateRingBuffer:
  135.  
  136. _Delay:
  137.  
  138. _DestroyEvent:
  139. _DestroyObject:
  140.  
  141. _FreeKernelSpace:
  142. _FreePage:
  143.  
  144. _GetDisplay:
  145. _GetEvent:
  146. _GetPid:
  147. _GetPgAddr:
  148. _GetService:
  149. _GetTimerTicks:
  150. _GetStackBase:
  151. _GetWindowRect:
  152.  
  153. _KernelAlloc:
  154. _KernelFree:
  155.  
  156. _MapIoMem:
  157.  
  158. _MutexInit:
  159. _MutexLock:
  160. _MutexUnlock:
  161.  
  162. _PciApi:
  163. _PciRead16:
  164. _PciRead32:
  165. _PciRead8:
  166. _PciWrite16:
  167. _PciWrite32:
  168. _PciWrite8:
  169.  
  170. _RaiseEvent:
  171. _RegService:
  172.  
  173. _SetMouseData:
  174. _SetKeyboardData:
  175.  
  176. _SetScreen:
  177. _SysMsgBoardStr:
  178.  
  179. _TimerHs:
  180.  
  181. _UserAlloc:
  182. _WaitEvent:
  183.  
  184.         ret
  185.  
  186. .section .drectve
  187.  
  188.         .ascii " -export:AllocKernelSpace"     # stdcall
  189.  
  190.         .ascii " -export:AllocPage"            # gcc ABI
  191.         .ascii " -export:AllocPages"           # gcc ABI
  192.  
  193.         .ascii " -export:AttachIntHandler"     # stdcall
  194.  
  195.         .ascii " -export:CreateEvent"          #
  196.         .ascii " -export:CreateObject"         #
  197.  
  198.         .ascii " -export:CreateRingBuffer"     # stdcall
  199.  
  200.         .ascii " -export:Delay"                # stdcall
  201.  
  202.         .ascii " -export:DestroyEvent"
  203.         .ascii " -export:DestroyObject"
  204.  
  205.         .ascii " -export:FreeKernelSpace"      # stdcall
  206.         .ascii " -export:FreePage"             #
  207.  
  208.         .ascii " -export:GetDisplay"           # stdcall
  209.         .ascii " -export:GetEvent"             #
  210.         .ascii " -export:GetPid"               #
  211.         .ascii " -export:GetPgAddr"            # stdcall
  212.         .ascii " -export:GetService"           # stdcall
  213.         .ascii " -export:GetTimerTicks"        #
  214.         .ascii " -export:GetStackBase"         #
  215.         .ascii " -export:GetWindowRect"        # fastcall
  216.  
  217.  
  218.         .ascii " -export:KernelAlloc"          # stdcall
  219.         .ascii " -export:KernelFree"           # stdcall
  220.  
  221.         .ascii " -export:MapIoMem"             # stdcall
  222.  
  223.         .ascii " -export:MutexInit"            # fastcall
  224.         .ascii " -export:MutexLock"            # fastcall
  225.         .ascii " -export:MutexUnlock"          # fastcall
  226.  
  227.         .ascii " -export:PciApi"               #
  228.         .ascii " -export:PciRead16"            # stdcall
  229.         .ascii " -export:PciRead32"            # stdcall
  230.         .ascii " -export:PciRead8"             # stdcall
  231.         .ascii " -export:PciWrite16"           # stdcall
  232.         .ascii " -export:PciWrite32"           # stdcall
  233.         .ascii " -export:PciWrite8"            # stdcall
  234.  
  235.         .ascii " -export:RaiseEvent"           #
  236.  
  237.         .ascii " -export:RegService"           # stdcall
  238.  
  239.         .ascii " -export:SetMouseData"         # stdcall
  240.         .ascii " -export:SetKeyboardData"      # stdcall
  241.  
  242.         .ascii " -export:SetScreen"            # stdcall
  243.         .ascii " -export:SysMsgBoardStr"       # stdcall
  244.  
  245.         .ascii " -export:TimerHs"              # stdcall
  246.  
  247.         .ascii " -export:UserAlloc"            # stdcall
  248.  
  249.         .ascii " -export:WaitEvent"            # stdcall
  250.  
  251.