Initial library file
This commit is contained in:
1 parent
e358772d76
commit
09cae90edf
3 files changed
+34
-3
No files matched your search
@@ -0,0 +1,14 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; ;;
|
||||
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
|
||||
;; Distributed under terms of the GNU General Public License ;;
|
||||
;; ;;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
if used PCI_find_dev_type
|
||||
proc PCI_find_dev_type stdcall ven_id, dev_id
|
||||
xor eax, eax
|
||||
ret
|
||||
|
||||
endp
|
||||
end if
|
||||
@@ -0,0 +1,19 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; ;;
|
||||
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
|
||||
;; Distributed under terms of the GNU General Public License ;;
|
||||
;; ;;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
VirtVendorID1 equ 0x1af4
|
||||
VirtVendorID2 equ 0x1b36
|
||||
|
||||
; Device description strings
|
||||
align 4
|
||||
|
||||
devNetwork db "Network",0
|
||||
devBlock db "Block",0
|
||||
devBallon db "Balloon",0
|
||||
devConsole db "Console",0
|
||||
|
||||
devNVME db "NVME",0
|
||||
@@ -19,15 +19,13 @@ STRIDE equ 4 ;size of row in devices table
|
||||
|
||||
SRV_GETVERSION equ 0
|
||||
|
||||
VirtVendorID1 equ 0x1af4
|
||||
VirtVendorID2 equ 0x1b36
|
||||
|
||||
section '.flat' code readable writable executable
|
||||
include '../proc32.inc'
|
||||
include '../struct.inc'
|
||||
include '../macros.inc'
|
||||
include '../peimport.inc'
|
||||
include '../fdo.inc'
|
||||
include 'devices.inc'
|
||||
|
||||
proc START c, state:dword, cmdline:dword
|
||||
|
||||
|
||||
Reference in new issue
Block a user