Subversion Repositories Kolibri OS

Rev

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