Subversion Repositories HelenOS

Rev

Rev 2445 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2445 Rev 2475
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (c) 2007 Michal Konopa
2
 * Copyright (c) 2007 Michal Konopa
3
 * Copyright (c) 2007 Martin Jelen
3
 * Copyright (c) 2007 Martin Jelen
4
 * Copyright (c) 2007 Peter Majer
4
 * Copyright (c) 2007 Peter Majer
-
 
5
 * Copyright (c) 2007 Jakub Jermar
5
 * All rights reserved.
6
 * All rights reserved.
6
 *
7
 *
7
 * Redistribution and use in source and binary forms, with or without
8
 * Redistribution and use in source and binary forms, with or without
8
 * modification, are permitted provided that the following conditions
9
 * modification, are permitted provided that the following conditions
9
 * are met:
10
 * are met:
Line 37... Line 38...
37
 * @brief   Initial RAM disk for HelenOS - header
38
 * @brief   Initial RAM disk for HelenOS - header
38
 */
39
 */
39
 
40
 
40
/* Basic constants. */
41
/* Basic constants. */
41
 
42
 
42
#ifndef _RD_H
43
#ifndef RD_RD_H_
43
#define _RD_H
44
#define RD_RD_H_
44
 
45
 
45
#define BLOCK_SIZE  1024  /**< Working block size */
46
#define BLOCK_SIZE  1024    /**< Working block size */
46
 
47
 
-
 
48
#define RD_BASE     1024
47
#define RD_OFFSET   100 /**< IPC Message offset */
49
#define RD_READ_BLOCK   (RD_BASE + 1)   /**< Method for reading block. */
-
 
50
#define RD_WRITE_BLOCK  (RD_BASE + 2)   /**< Method for writing block. */
48
 
51
 
49
#define RD_BASE     (FIRST_USER_METHOD + RD_OFFSET)  /**< IPC Index of the first RD message */
-
 
50
#define RD_READ_BLOCK   (RD_BASE + 1) /**< IPC Index of the RD_READ_BLOCK message */
-
 
51
 
-
 
52
#endif /* _RD_H */
52
#endif