Subversion Repositories Kolibri OS

Rev

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