Searched refs:RamDiskDev (Results 1 – 1 of 1) sorted by relevance
212 RAM_DISK_DEV *RamDiskDev; in InitializeRamDiskDriver() local239 RamDiskDev = AllocateZeroPool(sizeof(RAM_DISK_DEV)); in InitializeRamDiskDriver()240 if(RamDiskDev == NULL) in InitializeRamDiskDriver()250 Status = gBS->AllocatePages(AllocateAnyPages,EfiBootServicesData,NumPages,&RamDiskDev->Start); in InitializeRamDiskDriver()252 FreePool(RamDiskDev); in InitializeRamDiskDriver()262 RamDiskDev->Signature = PBLOCK_DEVICE_SIGNATURE; in InitializeRamDiskDriver()263 RamDiskDev->BlkIo.Revision = EFI_BLOCK_IO_INTERFACE_REVISION; in InitializeRamDiskDriver()264 RamDiskDev->BlkIo.Media = &RamDiskDev->Media; in InitializeRamDiskDriver()265 RamDiskDev->Media.RemovableMedia = FALSE; in InitializeRamDiskDriver()266 RamDiskDev->Media.MediaPresent = TRUE; in InitializeRamDiskDriver()[all …]