Subversion Repositories Kolibri OS

Rev

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