Subversion Repositories HelenOS

Rev

Rev 3862 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3862 Rev 4130
Line 44... Line 44...
44
#ifdef KERNEL
44
#ifdef KERNEL
45
#ifndef __ASM__
45
#ifndef __ASM__
46
 
46
 
47
#include <arch/types.h>
47
#include <arch/types.h>
48
 
48
 
49
union frame_address {
-
 
50
    uintptr_t address;
-
 
51
    struct {
-
 
52
#if defined (US)
-
 
53
        unsigned : 23;
-
 
54
        uint64_t pfn : 28;      /**< Physical Frame Number. */
-
 
55
#elif defined (US3)
-
 
56
        unsigned : 21;
-
 
57
        uint64_t pfn : 30;      /**< Physical Frame Number. */
-
 
58
#endif
-
 
59
        unsigned offset : 13;       /**< Offset. */
-
 
60
    } __attribute__ ((packed));
-
 
61
};
-
 
62
 
-
 
63
typedef union frame_address frame_address_t;
-
 
64
 
-
 
65
extern uintptr_t last_frame;
49
extern uintptr_t last_frame;
66
extern void frame_arch_init(void);
50
extern void frame_arch_init(void);
67
#define physmem_print()
51
#define physmem_print()
68
 
52
 
69
#endif
53
#endif