Subversion Repositories Kolibri OS

Rev

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