[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/pc Storage.h, NONE, 1.1 StorageManager.h, NONE, 1.1

Jonathan Hui jwhui at users.sourceforge.net
Tue Feb 8 17:07:51 PST 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/Deluge/pc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32658

Added Files:
	Storage.h StorageManager.h 
Log Message:
- Allows deluge tools to compile.



--- NEW FILE: Storage.h ---

#ifndef __STORAGE_H__
#define __STORAGE_H__

enum {
  STORAGE_OK,
};

typedef uint8_t volume_t;
typedef uint8_t volume_id_t;
typedef uint8_t storage_result_t;

#endif

--- NEW FILE: StorageManager.h ---
// $Id: StorageManager.h,v 1.1 2005/02/09 01:07:48 jwhui Exp $

/*									tab:4
 * "Copyright (c) 2000-2004 The Regents of the University  of California.  
 * All rights reserved.
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation for any purpose, without fee, and without written agreement is
 * hereby granted, provided that the above copyright notice, the following
 * two paragraphs and the author appear in all copies of this software.
 * 
 * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
 * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
 * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 * 
 * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
 * AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
 * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS."
 */

/*
 * @author: Jonathan Hui <jwhui at cs.berkeley.edu>
 */

#ifndef __STORAGE_MANAGER_H__
#define __STORAGE_MANAGER_H__

enum {
  SM_INVALID_VOLUME = 0xff,
  SM_VOLUME_SIZE = ((uint32_t)0x10000),
  SM_GOLDEN_IMAGE = 0xf,
  SM_MAX_VOLUMES = 16,
  SM_INVALID_ADDR = ((uint32_t)0xffffffff),
};

#endif



More information about the Tinyos-beta-commits mailing list