Subversion Repositories Kolibri OS

Rev

Rev 1408 | Rev 1613 | 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 _CreateRingBuffer
  11.     .global _Delay
  12.     .global _DestroyObject
  13.  
  14.     .global _FreeKernelSpace
  15.  
  16.     .global _GetDisplay
  17.     .global _GetPgAddr
  18.     .global _GetService
  19.  
  20.     .global _KernelAlloc
  21.     .global _KernelFree
  22.  
  23.     .global _MapIoMem
  24.  
  25.     .global _MutexInit
  26.     .global _MutexLock
  27.     .global _MutexUnlock
  28.  
  29.     .global _PciApi
  30.     .global _PciRead16
  31.     .global _PciRead32
  32.     .global _PciRead8
  33.     .global _PciWrite16
  34.     .global _PciWrite32
  35.     .global _PciWrite8
  36.  
  37.     .global _RegService
  38.  
  39.     .global _SetMouseData
  40.     .global _SetScreen
  41.     .global _SysMsgBoardStr
  42.  
  43.  
  44.     .def  _AllocPage;         .scl  2;  .type 32; .endef
  45.     .def  _AllocPages;        .scl  2;  .type 32; .endef
  46.  
  47.     .def  _CreateRingBuffer;  .scl  2;  .type 32; .endef
  48.  
  49.     .def  _Delay;             .scl  2;  .type 32; .endef
  50.     .def  _DestroyObject;     .scl  2;  .type 32; .endef
  51.  
  52.     .def  _FreeKernelSpace;   .scl  2;  .type 32; .endef
  53.  
  54.     .def  _GetDisplay;        .scl  2;  .type 32; .endef
  55.     .def  _GetPgAddr;         .scl  2;  .type 32; .endef
  56.     .def  _GetService;        .scl  2;  .type 32; .endef
  57.  
  58.     .def  _KernelAlloc;       .scl  2;  .type 32; .endef
  59.     .def  _KernelFree;        .scl  2;  .type 32; .endef
  60.  
  61.     .def  _MapIoMem;          .scl  2;  .type 32; .endef
  62.  
  63.     .def  _MutexInit;         .scl  2;  .type 32; .endef
  64.     .def  _MutexLock;         .scl  2;  .type 32; .endef
  65.     .def  _MutexUnlock;       .scl  2;  .type 32; .endef
  66.  
  67.     .def  _PciApi;            .scl  2;  .type 32; .endef
  68.     .def  _PciRead16;         .scl  2;  .type 32; .endef
  69.     .def  _PciRead32;         .scl  2;  .type 32; .endef
  70.     .def  _PciRead8;          .scl  2;  .type 32; .endef
  71.     .def  _PciWrite16;        .scl  2;  .type 32; .endef
  72.     .def  _PciWrite32;        .scl  2;  .type 32; .endef
  73.     .def  _PciWrite8;         .scl  2;  .type 32; .endef
  74.  
  75.     .def  _RegService;        .scl  2;  .type 32; .endef
  76.  
  77.     .def  _SetScreen;         .scl  2;  .type 32; .endef
  78.     .def  _SetMouseData;      .scl  2;  .type 32; .endef
  79.     .def  _SysMsgBoardStr;    .scl  2;  .type 32; .endef
  80.  
  81.  
  82. _AllocPage:
  83. _AllocPages:
  84.  
  85. _CreateRingBuffer:
  86.  
  87. _Delay:
  88.  
  89. _DestroyObject:
  90.  
  91. _FreeKernelSpace:
  92.  
  93. _GetDisplay:
  94. _GetPgAddr:
  95. _GetService:
  96.  
  97. _KernelAlloc:
  98. _KernelFree:
  99.  
  100. _MapIoMem:
  101.  
  102. _MutexInit:
  103. _MutexLock:
  104. _MutexUnlock:
  105.  
  106. _PciApi:
  107. _PciRead16:
  108. _PciRead32:
  109. _PciRead8:
  110. _PciWrite16:
  111. _PciWrite32:
  112. _PciWrite8:
  113.  
  114. _RegService:
  115.  
  116. _SetMouseData:
  117. _SetScreen:
  118. _SysMsgBoardStr:
  119.         ret
  120.  
  121.     .section .drectve
  122.  
  123.         .ascii " -export:AllocPage"            # gcc ABI
  124.         .ascii " -export:AllocPages"           # gcc ABI
  125.  
  126.         .ascii " -export:CreateRingBuffer"     # stdcall
  127.  
  128.         .ascii " -export:Delay"                # stdcall
  129.  
  130.         .ascii " -export:DestroyObject"
  131.  
  132.         .ascii " -export:FreeKernelSpace"      # stdcall
  133.  
  134.         .ascii " -export:GetDisplay"           # stdcall
  135.         .ascii " -export:GetPgAddr"            # stdcall
  136.         .ascii " -export:GetService"           # stdcall
  137.  
  138.         .ascii " -export:KernelAlloc"          # stdcall
  139.         .ascii " -export:KernelFree"           # stdcall
  140.  
  141.         .ascii " -export:MapIoMem"             # stdcall
  142.  
  143.         .ascii " -export:MutexInit"            # fastcall
  144.         .ascii " -export:MutexLock"            # fastcall
  145.         .ascii " -export:MutexUnlock"          # fastcall
  146.  
  147.         .ascii " -export:PciApi"               #
  148.         .ascii " -export:PciRead16"            # stdcall
  149.         .ascii " -export:PciRead32"            # stdcall
  150.         .ascii " -export:PciRead8"             # stdcall
  151.         .ascii " -export:PciWrite16"           # stdcall
  152.         .ascii " -export:PciWrite32"           # stdcall
  153.         .ascii " -export:PciWrite8"            # stdcall
  154.  
  155.         .ascii " -export:RegService"           # stdcall
  156.  
  157.         .ascii " -export:SetMouseData"         # stdcall
  158.         .ascii " -export:SetScreen"            # stdcall
  159.         .ascii " -export:SysMsgBoardStr"       # stdcall
  160.  
  161.  
  162.