Subversion Repositories Kolibri OS

Rev

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