Subversion Repositories HelenOS-historic

Rev

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

Rev 391 Rev 404
Line 32... Line 32...
32
 
32
 
33
/** Initialize THE structure
33
/** Initialize THE structure
34
 *
34
 *
35
 * Initialize THE structure passed as argument.
35
 * Initialize THE structure passed as argument.
36
 *
36
 *
37
 * @the THE structure to be initialized.
37
 * @param the THE structure to be initialized.
38
 *
-
 
39
 */
38
 */
40
void the_initialize(the_t *the)
39
void the_initialize(the_t *the)
41
{
40
{
42
    the->preemption_disabled = 0;
41
    the->preemption_disabled = 0;
43
    the->cpu = NULL;
42
    the->cpu = NULL;
Line 48... Line 47...
48
 
47
 
49
/** Copy THE structure
48
/** Copy THE structure
50
 *
49
 *
51
 * Copy the source THE structure to the destination THE structure.
50
 * Copy the source THE structure to the destination THE structure.
52
 *
51
 *
53
 * @src The source THE structure.
52
 * @param src The source THE structure.
54
 * @dst The destination THE structure.
53
 * @param dst The destination THE structure.
55
 */
54
 */
56
void the_copy(the_t *src, the_t *dst)
55
void the_copy(the_t *src, the_t *dst)
57
{
56
{
58
    *dst = *src;
57
    *dst = *src;
59
}
58
}