Subversion Repositories Kolibri OS

Rev

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