Subversion Repositories Kolibri OS

Rev

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