+ Shrank license
+ Changed "#define TRACE(x)" to "#define TRACE(x) ;" git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2467 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,4 +1,10 @@
|
|||||||
// fs_devices.h
|
//----------------------------------------------------------------------
|
||||||
|
// This software is part of the OpenBeOS distribution and is covered
|
||||||
|
// by the OpenBeOS license.
|
||||||
|
//---------------------------------------------------------------------
|
||||||
|
/*!
|
||||||
|
\file fs_devices.h
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef _FS_DEVICE_H
|
#ifndef _FS_DEVICE_H
|
||||||
#define _FS_DEVICE_H
|
#define _FS_DEVICE_H
|
||||||
|
|||||||
@@ -1,29 +1,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// Copyright (c) 2001-2002, OpenBeOS
|
// This software is part of the OpenBeOS distribution and is covered
|
||||||
//
|
// by the OpenBeOS license.
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
//---------------------------------------------------------------------
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included in
|
|
||||||
// all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// File Name: disk_scanner.h
|
|
||||||
// Author: Ingo Weinhold ([email protected])
|
|
||||||
// Description: hook function declarations for disk_scanner module
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file disk_scanner.h
|
\file disk_scanner.h
|
||||||
hook function declarations for disk_scanner module
|
hook function declarations for disk_scanner module
|
||||||
|
|||||||
@@ -1,29 +1,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// Copyright (c) 2001-2002, OpenBeOS
|
// This software is part of the OpenBeOS distribution and is covered
|
||||||
//
|
// by the OpenBeOS license.
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
//---------------------------------------------------------------------
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included in
|
|
||||||
// all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// File Name: filesystem.h
|
|
||||||
// Author: Ingo Weinhold ([email protected])
|
|
||||||
// Description: hook function declarations for disk_scanner filesystem modules
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file filesystem.h
|
\file filesystem.h
|
||||||
hook function declarations for disk_scanner filesystem modules
|
hook function declarations for disk_scanner filesystem modules
|
||||||
|
|||||||
@@ -1,29 +1,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// Copyright (c) 2001-2002, OpenBeOS
|
// This software is part of the OpenBeOS distribution and is covered
|
||||||
//
|
// by the OpenBeOS license.
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
//---------------------------------------------------------------------
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included in
|
|
||||||
// all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// File Name: partition.h
|
|
||||||
// Author: Ingo Weinhold ([email protected])
|
|
||||||
// Description: hook function declarations for disk_scanner partition modules
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file partition.h
|
\file partition.h
|
||||||
hook function declarations for disk_scanner partition modules
|
hook function declarations for disk_scanner partition modules
|
||||||
|
|||||||
@@ -1,29 +1,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// Copyright (c) 2001-2002, OpenBeOS
|
// This software is part of the OpenBeOS distribution and is covered
|
||||||
//
|
// by the OpenBeOS license.
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
//---------------------------------------------------------------------
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included in
|
|
||||||
// all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// File Name: session.h
|
|
||||||
// Author: Ingo Weinhold ([email protected])
|
|
||||||
// Description: hook function declarations for disk_scanner session modules
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file session.h
|
\file session.h
|
||||||
hook function declarations for disk_scanner session modules
|
hook function declarations for disk_scanner session modules
|
||||||
|
|||||||
@@ -1,29 +1,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// Copyright (c) 2001-2003, OpenBeOS
|
// This software is part of the OpenBeOS distribution and is covered
|
||||||
//
|
// by the OpenBeOS license.
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
//---------------------------------------------------------------------
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included in
|
|
||||||
// all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// File Name: disk_scanner.c
|
|
||||||
// Author: Ingo Weinhold ([email protected])
|
|
||||||
// Description: disk_scanner kernel module
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file disk_scanner.c
|
\file disk_scanner.c
|
||||||
disk_scanner kernel module
|
disk_scanner kernel module
|
||||||
@@ -45,7 +23,7 @@ static const char *kSessionModulePrefix = "disk_scanner/session";
|
|||||||
static const char *kPartitionModulePrefix = "disk_scanner/partition";
|
static const char *kPartitionModulePrefix = "disk_scanner/partition";
|
||||||
static const char *kFSModulePrefix = "disk_scanner/fs";
|
static const char *kFSModulePrefix = "disk_scanner/fs";
|
||||||
|
|
||||||
#define TRACE(x)
|
#define TRACE(x) ;
|
||||||
//#define TRACE(x) dprintf x
|
//#define TRACE(x) dprintf x
|
||||||
|
|
||||||
// prototypes
|
// prototypes
|
||||||
|
|||||||
@@ -1,29 +1,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// Copyright (c) 2001-2003, OpenBeOS
|
// This software is part of the OpenBeOS distribution and is covered
|
||||||
//
|
// by the OpenBeOS license.
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
//---------------------------------------------------------------------
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included in
|
|
||||||
// all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// File Name: bfs.c
|
|
||||||
// Author: Tyler Dauwalder ([email protected])
|
|
||||||
// Description: disk_scanner filesystem module for BFS filesystems
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file bfs.c
|
\file bfs.c
|
||||||
disk_scanner filesystem module for BFS filesystems
|
disk_scanner filesystem module for BFS filesystems
|
||||||
@@ -41,7 +19,7 @@
|
|||||||
#define BFS_FS_MODULE_NAME "disk_scanner/fs/bfs/v1"
|
#define BFS_FS_MODULE_NAME "disk_scanner/fs/bfs/v1"
|
||||||
const char *kModuleDebugName = "fs/bfs";
|
const char *kModuleDebugName = "fs/bfs";
|
||||||
|
|
||||||
#define TRACE(x)
|
#define TRACE(x) ;
|
||||||
//#define TRACE(x) dprintf x
|
//#define TRACE(x) dprintf x
|
||||||
|
|
||||||
// prototypes
|
// prototypes
|
||||||
|
|||||||
@@ -1,29 +1,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// Copyright (c) 2001-2003, OpenBeOS
|
// This software is part of the OpenBeOS distribution and is covered
|
||||||
//
|
// by the OpenBeOS license.
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
//---------------------------------------------------------------------
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
|
||||||
// to deal in the Software without restriction, including without limitation
|
|
||||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
// and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
// Software is furnished to do so, subject to the following conditions:
|
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included in
|
|
||||||
// all copies or substantial portions of the Software.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
// DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// File Name: intel.c
|
|
||||||
// Author: Ingo Weinhold ([email protected])
|
|
||||||
// Description: disk_scanner partition module for "intel" style partitions
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file intel.c
|
\file intel.c
|
||||||
disk_scanner partition module for "intel" style partitions
|
disk_scanner partition module for "intel" style partitions
|
||||||
@@ -38,7 +16,7 @@
|
|||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
#include <disk_scanner/partition.h>
|
#include <disk_scanner/partition.h>
|
||||||
|
|
||||||
#define TRACE(x)
|
#define TRACE(x) ;
|
||||||
//#define TRACE(x) dprintf x
|
//#define TRACE(x) dprintf x
|
||||||
|
|
||||||
#define INTEL_PARTITION_MODULE_NAME "disk_scanner/partition/intel/v1"
|
#define INTEL_PARTITION_MODULE_NAME "disk_scanner/partition/intel/v1"
|
||||||
|
|||||||
Reference in New Issue
Block a user