Subversion Repositories HelenOS

Rev

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

Rev 3775 Rev 3883
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (c) 2005 Martin Decky
2
 * Copyright (c) 2005 Martin Decky
3
 * Copyright (c) 2006 Jakub Jermar
3
 * Copyright (c) 2006 Jakub Jermar
4
 * All rights reserved.
4
 * All rights reserved.
5
 *
5
 *
6
 * Redistribution and use in source and binary forms, with or without
6
 * Redistribution and use in source and binary forms, with or without
7
 * modification, are permitted provided that the following conditions
7
 * modification, are permitted provided that the following conditions
8
 * are met:
8
 * are met:
Line 31... Line 31...
31
#include <printf.h>
31
#include <printf.h>
32
#include "asm.h"
32
#include "asm.h"
33
#include "_components.h"
33
#include "_components.h"
34
#include <align.h>
34
#include <align.h>
35
#include <balloc.h>
35
#include <balloc.h>
-
 
36
#include <macros.h>
36
 
37
 
37
extern bootinfo_t binfo;
38
extern bootinfo_t binfo;
38
component_t components[COMPONENTS];
39
component_t components[COMPONENTS];
39
 
40
 
40
char *release = RELEASE;
41
char *release = STRING(RELEASE);
41
 
42
 
42
void write(const char *str, const int len)
43
void write(const char *str, const int len)
43
{
44
{
44
    return;
45
    return;
45
}
46
}
Line 51... Line 52...
51
 
52
 
52
#define DEFAULT_FREQ_SCALE      0x0000000100000001 /* 1/1 */
53
#define DEFAULT_FREQ_SCALE      0x0000000100000001 /* 1/1 */
53
#define DEFAULT_SYS_FREQ        100000000 /* 100MHz */
54
#define DEFAULT_SYS_FREQ        100000000 /* 100MHz */
54
 
55
 
55
#ifdef REVISION
56
#ifdef REVISION
56
    char *revision = ", revision " REVISION;
57
    char *revision = ", revision " STRING(REVISION);
57
#else
58
#else
58
    char *revision = "";
59
    char *revision = "";
59
#endif
60
#endif
60
 
61
 
61
#ifdef TIMESTAMP
62
#ifdef TIMESTAMP
62
    char *timestamp = "\nBuilt on " TIMESTAMP;
63
    char *timestamp = "\nBuilt on " STRING(TIMESTAMP);
63
#else
64
#else
64
    char *timestamp = "";
65
    char *timestamp = "";
65
#endif
66
#endif
66
 
67
 
67
/** Print version information. */
68
/** Print version information. */