mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[RAMDISK] Add setup information file for the ramdisk driver (#3100)
This commit is contained in:
parent
62c4b828b4
commit
c166933135
2 changed files with 70 additions and 0 deletions
|
@ -4,3 +4,4 @@ add_library(ramdisk MODULE ramdisk.c ramdisk.rc)
|
||||||
set_module_type(ramdisk kernelmodedriver)
|
set_module_type(ramdisk kernelmodedriver)
|
||||||
add_importlibs(ramdisk ntoskrnl hal)
|
add_importlibs(ramdisk ntoskrnl hal)
|
||||||
add_cd_file(TARGET ramdisk DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET ramdisk DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
add_driver_inf(ramdisk ramdisk.inf)
|
||||||
|
|
69
drivers/storage/class/ramdisk/ramdisk.inf
Normal file
69
drivers/storage/class/ramdisk/ramdisk.inf
Normal file
|
@ -0,0 +1,69 @@
|
||||||
|
; RAMDISK.INF
|
||||||
|
|
||||||
|
; Installation of RAMDISK DRIVES
|
||||||
|
|
||||||
|
[Version]
|
||||||
|
Signature = "$Windows NT$"
|
||||||
|
LayoutFile = layout.inf
|
||||||
|
Class = Ramdisk
|
||||||
|
ClassGUID = {9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}
|
||||||
|
Provider = %ReactOS%
|
||||||
|
DriverVer = 06/29/2008,1.00
|
||||||
|
|
||||||
|
[DestinationDirs]
|
||||||
|
RamdiskBus_CopyFiles.NT = 12
|
||||||
|
|
||||||
|
[ClassInstall32.NT]
|
||||||
|
AddReg = RamdiskClass.NT.AddReg
|
||||||
|
|
||||||
|
[RamdiskClass.NT.AddReg]
|
||||||
|
HKR, , , 0, %RamdiskClassName%
|
||||||
|
HKR, , Icon, 0, "-5"
|
||||||
|
|
||||||
|
[Manufacturer]
|
||||||
|
%ReactOS% = RamdiskDevice
|
||||||
|
|
||||||
|
[RamdiskDevice]
|
||||||
|
%RamdiskBus.Desc% = RamdiskBus_Inst, Ramdisk, DetectedInternal\Ramdisk, Detected\Ramdisk
|
||||||
|
%RamdiskVolume.Desc% = RamdiskVolume_Inst, Ramdisk\RamVolume
|
||||||
|
|
||||||
|
;----------------------------- RAMDISK BUS -----------------------------
|
||||||
|
|
||||||
|
[RamdiskBus_Inst.NT]
|
||||||
|
CopyFiles = RamdiskBus_CopyFiles.NT
|
||||||
|
|
||||||
|
[RamdiskBus_Inst.NT.Services]
|
||||||
|
AddService = ramdisk, 2, RamdiskBus_Service_Inst
|
||||||
|
|
||||||
|
[RamdiskBus_Service_Inst]
|
||||||
|
DisplayName = %Ramdisk.ServiceDesc%
|
||||||
|
ServiceType = 1
|
||||||
|
StartType = 0
|
||||||
|
ErrorControl = 1
|
||||||
|
ServiceBinary = %12%\ramdisk.sys
|
||||||
|
|
||||||
|
[RamdiskBus_CopyFiles.NT]
|
||||||
|
ramdisk.sys
|
||||||
|
|
||||||
|
;----------------------------- RAMDISK VOLUME -----------------------------
|
||||||
|
|
||||||
|
[RamdiskVolume_Inst.NT]
|
||||||
|
|
||||||
|
[RamdiskVolume_Inst.NT.Services]
|
||||||
|
AddService = , 2
|
||||||
|
|
||||||
|
;-------------------------------- STRINGS -------------------------------
|
||||||
|
|
||||||
|
[Strings]
|
||||||
|
ReactOS = "ReactOS Team"
|
||||||
|
RamdiskClassName = "Ramdisk"
|
||||||
|
RamdiskBus.Desc = "RAM disk controller"
|
||||||
|
RamdiskVolume.Desc = "RAM disk device (volume)"
|
||||||
|
Ramdisk.ServiceDesc = "ReactOS RAM Disk Driver"
|
||||||
|
|
||||||
|
[Strings.0415]
|
||||||
|
ReactOS = "Zespół ReactOS"
|
||||||
|
RamdiskClassName = "Ramdisk"
|
||||||
|
RamdiskBus.Desc = "Kontroler dysku RAM"
|
||||||
|
RamdiskVolume.Desc = "Urządzenie dysku RAM (wolumin)"
|
||||||
|
Ramdisk.ServiceDesc = "Sterownik dysku RAM systemu ReactOS"
|
Loading…
Reference in a new issue