Subversion Repositories HelenOS

Rev

Rev 3254 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2445 decky 1
/*
2
 * Copyright (c) 2007 Michal Konopa
3
 * Copyright (c) 2007 Martin Jelen
4
 * Copyright (c) 2007 Peter Majer
2475 jermar 5
 * Copyright (c) 2007 Jakub Jermar
2445 decky 6
 * All rights reserved.
7
 *
8
 * Redistribution and use in source and binary forms, with or without
9
 * modification, are permitted provided that the following conditions
10
 * are met:
11
 *
12
 * - Redistributions of source code must retain the above copyright
13
 *   notice, this list of conditions and the following disclaimer.
14
 * - Redistributions in binary form must reproduce the above copyright
15
 *   notice, this list of conditions and the following disclaimer in the
16
 *   documentation and/or other materials provided with the distribution.
17
 * - The name of the author may not be used to endorse or promote products
18
 *   derived from this software without specific prior written permission.
19
 *
20
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
22
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
23
 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
24
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
 */
31
 
32
/** @addtogroup rd
33
 * @{
34
 */
35
 
36
/**
37
 * @file    rd.h
38
 * @brief   Initial RAM disk for HelenOS - header
39
 */
40
 
41
/* Basic constants. */
42
 
2475 jermar 43
#ifndef RD_RD_H_
44
#define RD_RD_H_
2445 decky 45
 
2475 jermar 46
#define RD_BASE     1024
47
#define RD_READ_BLOCK   (RD_BASE + 1)   /**< Method for reading block. */
48
#define RD_WRITE_BLOCK  (RD_BASE + 2)   /**< Method for writing block. */
2445 decky 49
 
2475 jermar 50
#endif