Subversion Repositories Kolibri OS

Rev

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