Subversion Repositories Kolibri OS

Rev

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