Subversion Repositories Kolibri OS

Rev

Rev 2007 | Rev 3031 | 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 _AllocPage
  8.     .global _AllocPages
  9.  
  10.     .global _AttachIntHandler
  11.  
  12.     .global _CreateEvent
  13.     .global _CreateObject
  14.     .global _CreateRingBuffer
  15.  
  16.     .global _Delay
  17.     .global _DestroyObject
  18.  
  19.     .global _FreeKernelSpace
  20.  
  21.     .global _GetDisplay
  22.     .global _GetEvent
  23.     .global _GetPgAddr
  24.     .global _GetPid
  25.     .global _GetService
  26.     .global _GetTimerTicks
  27.     .global _GetStackBase
  28.  
  29.     .global _KernelAlloc
  30.     .global _KernelFree
  31.  
  32.     .global _MapIoMem
  33.  
  34.     .global _MutexInit
  35.     .global _MutexLock
  36.     .global _MutexUnlock
  37.  
  38.     .global _PciApi
  39.     .global _PciRead16
  40.     .global _PciRead32
  41.     .global _PciRead8
  42.     .global _PciWrite16
  43.     .global _PciWrite32
  44.     .global _PciWrite8
  45.  
  46.     .global _RaiseEvent
  47.  
  48.     .global _RegService
  49.  
  50.     .global _SetMouseData
  51.     .global _SetKeyboardData
  52.  
  53.     .global _SetScreen
  54.     .global _SysMsgBoardStr
  55.  
  56.     .global _UserAlloc
  57.  
  58.     .global _WaitEvent
  59.  
  60.  
  61.     .def  _AllocPage;         .scl  2;  .type 32; .endef
  62.     .def  _AllocPages;        .scl  2;  .type 32; .endef
  63.  
  64.     .def  _AttachIntHandler;  .scl  2;  .type 32; .endef
  65.  
  66.     .def  _CreateEvent;       .scl  2;  .type 32; .endef
  67.     .def  _CreateObject;      .scl  2;  .type 32; .endef
  68.     .def  _CreateRingBuffer;  .scl  2;  .type 32; .endef
  69.  
  70.     .def  _Delay;             .scl  2;  .type 32; .endef
  71.     .def  _DestroyObject;     .scl  2;  .type 32; .endef
  72.  
  73.     .def  _FreeKernelSpace;   .scl  2;  .type 32; .endef
  74.  
  75.     .def  _GetDisplay;        .scl  2;  .type 32; .endef
  76.     .def  _GetEvent;          .scl  2;  .type 32; .endef
  77.     .def  _GetPid;            .scl  2;  .type 32; .endef
  78.     .def  _GetPgAddr;         .scl  2;  .type 32; .endef
  79.     .def  _GetService;        .scl  2;  .type 32; .endef
  80.     .def  _GetTimerTicks;     .scl  2;  .type 32; .endef
  81.     .def  _GetStackBase;      .scl  2;  .type 32; .endef
  82.  
  83.     .def  _KernelAlloc;       .scl  2;  .type 32; .endef
  84.     .def  _KernelFree;        .scl  2;  .type 32; .endef
  85.  
  86.     .def  _MapIoMem;          .scl  2;  .type 32; .endef
  87.  
  88.     .def  _MutexInit;         .scl  2;  .type 32; .endef
  89.     .def  _MutexLock;         .scl  2;  .type 32; .endef
  90.     .def  _MutexUnlock;       .scl  2;  .type 32; .endef
  91.  
  92.     .def  _PciApi;            .scl  2;  .type 32; .endef
  93.     .def  _PciRead16;         .scl  2;  .type 32; .endef
  94.     .def  _PciRead32;         .scl  2;  .type 32; .endef
  95.     .def  _PciRead8;          .scl  2;  .type 32; .endef
  96.     .def  _PciWrite16;        .scl  2;  .type 32; .endef
  97.     .def  _PciWrite32;        .scl  2;  .type 32; .endef
  98.     .def  _PciWrite8;         .scl  2;  .type 32; .endef
  99.  
  100.     .def  _RaiseEvent;        .scl  2;  .type 32; .endef
  101.  
  102.     .def  _RegService;        .scl  2;  .type 32; .endef
  103.  
  104.     .def  _SetScreen;         .scl  2;  .type 32; .endef
  105.     .def  _SetMouseData;      .scl  2;  .type 32; .endef
  106.     .def  _SetKeyboardData;   .scl  2;  .type 32; .endef
  107.     .def  _SysMsgBoardStr;    .scl  2;  .type 32; .endef
  108.  
  109.     .def  _UserAlloc;         .scl  2;  .type 32; .endef
  110.  
  111.     .def  _WaitEvent;         .scl  2;  .type 32; .endef
  112.  
  113.  
  114.  
  115. _AllocPage:
  116. _AllocPages:
  117.  
  118. _AttachIntHandler:
  119.  
  120. _CreateEvent:
  121. _CreateObject:
  122. _CreateRingBuffer:
  123.  
  124. _Delay:
  125.  
  126. _DestroyObject:
  127.  
  128. _FreeKernelSpace:
  129.  
  130. _GetDisplay:
  131. _GetEvent:
  132. _GetPid:
  133. _GetPgAddr:
  134. _GetService:
  135. _GetTimerTicks:
  136. _GetStackBase:
  137.  
  138. _KernelAlloc:
  139. _KernelFree:
  140.  
  141. _MapIoMem:
  142.  
  143. _MutexInit:
  144. _MutexLock:
  145. _MutexUnlock:
  146.  
  147. _PciApi:
  148. _PciRead16:
  149. _PciRead32:
  150. _PciRead8:
  151. _PciWrite16:
  152. _PciWrite32:
  153. _PciWrite8:
  154.  
  155. _RaiseEvent:
  156. _RegService:
  157.  
  158. _SetMouseData:
  159. _SetKeyboardData:
  160.  
  161. _SetScreen:
  162. _SysMsgBoardStr:
  163.  
  164. _UserAlloc:
  165. _WaitEvent:
  166.  
  167.         ret
  168.  
  169.     .section .drectve
  170.  
  171.         .ascii " -export:AllocPage"            # gcc ABI
  172.         .ascii " -export:AllocPages"           # gcc ABI
  173.  
  174.         .ascii " -export:AttachIntHandler"     # stdcall
  175.  
  176.         .ascii " -export:CreateEvent"          #
  177.         .ascii " -export:CreateObject"         #
  178.  
  179.         .ascii " -export:CreateRingBuffer"     # stdcall
  180.  
  181.         .ascii " -export:Delay"                # stdcall
  182.  
  183.         .ascii " -export:DestroyObject"
  184.  
  185.         .ascii " -export:FreeKernelSpace"      # stdcall
  186.  
  187.         .ascii " -export:GetDisplay"           # stdcall
  188.         .ascii " -export:GetEvent"             #
  189.         .ascii " -export:GetPid"               #
  190.         .ascii " -export:GetPgAddr"            # stdcall
  191.         .ascii " -export:GetService"           # stdcall
  192.         .ascii " -export:GetTimerTicks"        #
  193.         .ascii " -export:GetStackBase"         #
  194.  
  195.  
  196.         .ascii " -export:KernelAlloc"          # stdcall
  197.         .ascii " -export:KernelFree"           # stdcall
  198.  
  199.         .ascii " -export:MapIoMem"             # stdcall
  200.  
  201.         .ascii " -export:MutexInit"            # fastcall
  202.         .ascii " -export:MutexLock"            # fastcall
  203.         .ascii " -export:MutexUnlock"          # fastcall
  204.  
  205.         .ascii " -export:PciApi"               #
  206.         .ascii " -export:PciRead16"            # stdcall
  207.         .ascii " -export:PciRead32"            # stdcall
  208.         .ascii " -export:PciRead8"             # stdcall
  209.         .ascii " -export:PciWrite16"           # stdcall
  210.         .ascii " -export:PciWrite32"           # stdcall
  211.         .ascii " -export:PciWrite8"            # stdcall
  212.  
  213.         .ascii " -export:RaiseEvent"           #
  214.  
  215.         .ascii " -export:RegService"           # stdcall
  216.  
  217.         .ascii " -export:SetMouseData"         # stdcall
  218.         .ascii " -export:SetKeyboardData"      # stdcall
  219.  
  220.         .ascii " -export:SetScreen"            # stdcall
  221.         .ascii " -export:SysMsgBoardStr"       # stdcall
  222.  
  223.         .ascii " -export:UserAlloc"            # stdcall
  224.  
  225.         .ascii " -export:WaitEvent"            # stdcall
  226.  
  227.