Subversion Repositories Kolibri OS

Rev

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