mirror of
https://github.com/akuker/RASCSI.git
synced 2024-05-29 01:41:27 +00:00
45cd5e58d1
* Fixed buster compile-time issue * Host services inherit from ModePageDevice * Call base class * Visibility update * Updated includes * Updated dispatcher * Added TODOs * Logging update * Code cleanup * Use namespace instead of class for ScsiDefs * Renaming * Cleanup * Use dispatcher template in order to remove duplicate code * Updated all dispatchers * Clean up commands * Removed duplicate code * Removed duplicate code * Updated template definition * Fixed typo * Fixed warning * Code cleanup * Device list must be static * Cleanup * Logging update * Added comments * Cleanup * Base class update * SCSIBR is not a subclass of Disk anymore, but of PrimaryDevice * Updated includes * Fixed compile-time issue on the Pi * Header file cleanup * Interface cleanup * Removed wrong override * include file cleanup * Removed obsolete usage of streams * Removed more stream usages * Stream usage cleanup * Include cleanup * Renaming * Include cleanup * Interface update
27 lines
885 B
C
27 lines
885 B
C
//---------------------------------------------------------------------------
|
|
//
|
|
// SCSI Target Emulator RaSCSI (*^..^*)
|
|
// for Raspberry Pi
|
|
//
|
|
// Powered by XM6 TypeG Technology.
|
|
// Copyright (C) 2016-2020 GIMONS
|
|
//
|
|
// [ Common Definitions ]
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
//---------------------------------------------------------------------------
|
|
//
|
|
// Various Operation Settings
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
#define USE_SEL_EVENT_ENABLE // Check SEL signal by event
|
|
#define REMOVE_FIXED_SASIHD_SIZE // remove the size limitation of SASIHD
|
|
// This avoids an indefinite loop with warnings if there is no RaSCSI hardware
|
|
// and thus helps with running certain tests on X86 hardware.
|
|
#if defined(__x86_64__) || defined(__X86__)
|
|
#undef USE_SEL_EVENT_ENABLE
|
|
#endif
|