Subversion Repositories HelenOS-historic

Rev

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

Rev 1702 Rev 1780
Line 42... Line 42...
42
#ifndef __ASM__
42
#ifndef __ASM__
43
 
43
 
44
#include <arch/types.h>
44
#include <arch/types.h>
45
 
45
 
46
union frame_address {
46
union frame_address {
47
    __address address;
47
    uintptr_t address;
48
    struct {
48
    struct {
49
        unsigned : 23;
49
        unsigned : 23;
50
        __u64 pfn : 28;         /**< Physical Frame Number. */
50
        uint64_t pfn : 28;         /**< Physical Frame Number. */
51
        unsigned offset : 13;   /**< Offset. */
51
        unsigned offset : 13;   /**< Offset. */
52
    } __attribute__ ((packed));
52
    } __attribute__ ((packed));
53
};
53
};
54
 
54
 
55
typedef union frame_address frame_address_t;
55
typedef union frame_address frame_address_t;