/haiku-fatelf/src/apps/bootmanager/ |
H A D | BootMenu.h | 36 virtual bool IsInstalled(const BootDrive& drive) = 0; 37 virtual status_t CanBeInstalled(const BootDrive& drive) = 0; 39 virtual status_t CollectPartitions(const BootDrive& drive, 42 virtual status_t Install(const BootDrive& drive,
|
H A D | LegacyBootMenu.h | 26 virtual bool IsInstalled(const BootDrive& drive); 27 virtual status_t CanBeInstalled(const BootDrive& drive); 29 virtual status_t CollectPartitions(const BootDrive& drive, 32 virtual status_t Install(const BootDrive& drive, 45 int8& drive);
|
H A D | LegacyBootMenu.cpp | 39 existing drive to it, for example via: 271 message.AddInt8("drive", fBIOSDrive); 303 LegacyBootMenu::IsInstalled(const BootDrive& drive) argument 311 LegacyBootMenu::CanBeInstalled(const BootDrive& drive) argument 314 status_t status = drive.GetDiskDevice(device); 321 // Enough space to write boot menu to drive? 330 LegacyBootMenu::CollectPartitions(const BootDrive& drive, BMessage& settings) argument 349 if (path != drive.Path() 364 LegacyBootMenu::Install(const BootDrive& drive, BMessage& settings) argument 374 int fd = open(drive 424 int8 drive; local 603 _GetBIOSDrive(const char* device, int8& drive) argument [all...] |
H A D | bootman.S | 20 %assign BIOS_REBOOT 0x19 ; dl - boot drive number 58 %assign READ_DISK_SECTORS 0x02 ; dl - drive 66 %assign READ_DRIVE_PARAMETERS 0x08 ; dl - drive 73 ; dl - drive 79 %assign EXTENDED_READ 0x42 ; dl - drive 245 .device resb 1 ; hard drive number 261 mov [bp + biosDrive], dl ; Store boot drive 521 lodsb ; Set boot drive 561 mov dl, [si] ; drive number in dl 606 test dl, 0 ; if drive i [all...] |
/haiku-fatelf/src/bin/less/ |
H A D | lglob.h | 52 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ 54 char drive[_MAX_DRIVE]; \ 67 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ 69 char drive[_MAX_DRIVE]; \ 83 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ 85 char drive[MAXDRIVE]; \
|
H A D | main.c | 95 char *drive = getenv("HOMEDRIVE"); local 97 if (drive != NULL && path != NULL) 99 char *env = (char *) ecalloc(strlen(drive) + 102 strcat(env, drive);
|
H A D | lesskey.c | 780 char *drive = getenv("HOMEDRIVE"); local 782 if (drive != NULL && path != NULL) 784 char *env = (char *) calloc(strlen(drive) + 787 strcat(env, drive);
|
H A D | filename.c | 687 DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) 696 _splitpath(filename, drive, dir, fname, ext); 701 n = strlen(drive) + strlen(dir) + strlen(fnd.GLOB_NAME) + 1; 703 SNPRINTF3(pathname, n, "%s%s%s", drive, dir, fnd.GLOB_NAME);
|
/haiku-fatelf/src/system/boot/platform/atari_m68k/ |
H A D | devices.cpp | 196 read_bpb(uint8 drive, struct tos_bpb *bpb) argument 199 p = Getbpb(drive); 203 Mediach(drive); 208 get_drive_parameters(uint8 drive, drive_parameters *parameters) argument 211 err = read_bpb(drive, ¶meters->bpb); 237 /** parse EDD 3.0 drive path information */ 295 /** EDD 2.0 drive table information */ 325 // Try some data in the first part of the drive 341 compute_check_sum(BlockHandle *drive, off_t offset) argument 344 ssize_t bytesRead = drive 377 BlockHandle *drive = (BlockHandle *)device; local 426 BlockHandle *drive = (BlockHandle *)device; local 530 BlockHandle *drive = new(nothrow) XHDIDrive(driveID, major, minor); local 557 BlockHandle *drive = new(nothrow) BlockHandle(driveID); local 1140 BlockHandle *drive; local 1195 BlockHandle *drive = static_cast<BlockHandle *>(bootDevice); local 1228 BlockHandle *drive = (BlockHandle *)device; local [all...] |
H A D | toscalls.h | 528 #define Metaopen(drive, p) toscall>P(XBIOS_TRAP, 48, (void *)buf) 529 #define Metaclose(drive) toscallW(XBIOS_TRAP, 50, (int16)drive) 530 #define Metagettoc(drive, flag, p) toscallW(XBIOS_TRAP, 62, (int16)drive, (int16)flag, (void *)p) 531 #define Metadiscinfo(drive, p) toscallWP(XBIOS_TRAP, 63, (int16)drive, (void *)p) 532 #define Metaioctl(drive, magic, op, buf) toscallWLWP(XBIOS_TRAP, 55, (int16)drive, (int32)magic, (int16)op, ) 533 //#define Meta(drive) toscall [all...] |
/haiku-fatelf/src/system/boot/platform/bios_ia32/ |
H A D | devices.cpp | 168 check_cd_boot(BIOSDrive *drive) argument 172 if (drive->DriveID() != 0) 203 are_extensions_available(uint8 drive) argument 208 regs.edx = drive; 219 get_ext_drive_parameters(uint8 drive, drive_parameters *targetParameters) argument 228 regs.edx = drive; 243 get_drive_parameters(uint8 drive, drive_parameters *parameters) argument 247 regs.edx = drive; 288 /** parse EDD 3.0 drive path information */ 346 /** EDD 2.0 drive tabl 392 compute_check_sum(BIOSDrive *drive, off_t offset) argument 428 BIOSDrive *drive = (BIOSDrive *)device; local 477 BIOSDrive *drive = (BIOSDrive *)device; local 515 BIOSDrive *drive = new(nothrow) BIOSDrive(driveID); local 828 BIOSDrive *drive = new(nothrow) BIOSDrive(gBootDriveID); local 854 BIOSDrive *drive = static_cast<BIOSDrive *>(bootDevice); local 886 BIOSDrive *drive = (BIOSDrive *)device; local [all...] |
H A D | stage1.S | 11 ; in 512 byte blocks and dl - BIOS ID of the boot drive.
56 %assign READ_DISK_SECTORS 0x02 ; dl - drive
64 %assign READ_DRIVE_PARAMETERS 0x08 ; dl - drive
71 ; dl - drive
77 %assign EXTENDED_READ 0x42 ; dl - drive
266 ; save the BIOS drive ID
272 ; dl has not changed yet, still contains the drive ID
360 ; drive ID to dl
394 ; read drive parameters
624 sHasDiskExtensions db 0 ; 1 if the drive support [all...] |
/haiku-fatelf/src/bin/writembr/ |
H A D | mbr.S | 46 %assign READ_DISK_SECTORS 0x02; dl - drive 54 %assign READ_DRV_PARAMETERS 0x08; dl - drive 61 ; dl - drive 73 %assign EXTENDED_READ 0x42; dl - drive 234 ; dl has not changed yet, still contains the drive ID 244 ; dl has not changed yet, still contains the drive ID 265 ; - DL=drive number 269 ; dl has not changed yet, still contains the drive ID 304 ; dl has not changed yet, still contains the drive ID
|
/haiku-fatelf/src/tests/system/libroot/posix/bonnie++-1.03d/ |
H A D | bonnie++.spec | 17 tests of hard drive and file system performance.
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | reparse.c | 359 * Check whether a drive letter has been defined in .NTFS-3G 369 char *drive; local 376 drive = (char*)NULL; 377 sz = ntfs_ucstombs(&letter, 1, &drive, 0); 380 if ((*drive >= 'a') && (*drive <= 'z')) 381 *drive += 'A' - 'a'; 382 strcat(defines,drive); 395 if (drive) 396 free(drive); [all...] |
/haiku-fatelf/src/apps/cdplayer/ |
H A D | CDAudioDevice.h | 118 bool SetDrive(const int32 &drive);
|
H A D | CDAudioDevice.cpp | 412 CDAudioDevice::SetDrive(const int32 &drive) argument 414 BString *path = (BString*) fDriveList.ItemAt(drive); 423 fDriveIndex = drive; 472 // just search for one drive. However, we want to find *all* drives 626 // At least under R5, the SCSI CD drive has each legitimate audio track
|
/haiku-fatelf/src/add-ons/kernel/drivers/disk/floppy/pc_floppy/ |
H A D | floppy.h | 106 #define FDC_500KBPS 0x00 /* 500KBPS MFM drive transfer rate */ 107 #define FDC_300KBPS 0x01 /* 300KBPS MFM drive transfer rate */ 108 #define FDC_250KBPS 0x02 /* 250KBPS MFM drive transfer rate */ 109 #define FDC_1MBPS 0x03 /* 1MPBS MFM drive transfer rate */ 119 int drive_num; /* number of this drive */ 120 int current; /* currently selected drive */ 145 uint8 drive; member in struct:__anon1623 193 /* seek to track 0 and detect drive presence */ 199 /* drive handling */
|
H A D | floppy_ctrl.c | 82 write_reg(master, DIGITAL_OUT, /*(master->dma < 0)?0x04:*//*0x0c*/0x04); /* motors[abcd] off, DMA on, deassert reset, drive select(0) */ 140 /* selects the drive until deselect(), takes the benaphore */ 153 /* make sure the speed for this drive is correct */ 159 /* make sure the drive is selected and DMA is on */ 189 /* must be atomic to not deselect a drive! */ 196 //reg &= 0xfc; /* mask out drive num */ 215 /* must be atomic to not deselect a drive! */ 358 command[0] = 0x04; // sense drive command 378 command[1] = (flp->drive_num & 0x03) | 0x00; // drive | head 0 399 command[1] = (flp->drive_num & 0x03) | 0x00; // drive | hea [all...] |
/haiku-fatelf/src/bin/coreutils/ |
H A D | configure | 6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether drive letter can start relative path" >&5 6654 $as_echo_n "checking whether drive letter can start relative path... " >&6; } 6667 drive letters are always absolute [all...] |