Subversion Repositories Kolibri OS

Rev

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