Subversion Repositories Kolibri OS

Rev

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