Subversion Repositories Kolibri OS

Rev

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