Subversion Repositories Kolibri OS

Rev

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