Subversion Repositories Kolibri OS

Rev

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