VirtualBox

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

最後變更 在這個檔案從82041是 81412,由 vboxsync 提交於 5 年 前

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

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.1 KB
 
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.alldomusa.eu.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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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