Subversion Repositories Kolibri OS

Rev

Rev 9057 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

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