Subversion Repositories Kolibri OS

Rev

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