VirtualBox

source: vbox/trunk/src/VBox/Devices/PC/BIOS/scsi.h@ 82064

Last change on this file since 82064 was 81412, checked in by vboxsync, 5 years ago

PC/BIOS: Move the generic SCSI definitions out of scsi.c into a separate header

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1/* $Id: scsi.h 81412 2019-10-21 13:29:39Z vboxsync $ */
2/** @file
3 * PC BIOS - SCSI definitions.
4 */
5
6/*
7 * Copyright (C) 2019 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef VBOX_INCLUDED_SRC_PC_BIOS_scsi_h
19#define VBOX_INCLUDED_SRC_PC_BIOS_scsi_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24/* Command opcodes. */
25#define SCSI_SERVICE_ACT 0x9e
26#define SCSI_INQUIRY 0x12
27#define SCSI_READ_CAP_10 0x25
28#define SCSI_READ_10 0x28
29#define SCSI_WRITE_10 0x2a
30#define SCSI_READ_CAP_16 0x10 /* Not an opcode by itself, sub-action for the "Service Action" */
31#define SCSI_READ_16 0x88
32#define SCSI_WRITE_16 0x8a
33
34#endif /* !VBOX_INCLUDED_SRC_PC_BIOS_scsi_h */
35
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette