Subversion Repositories HelenOS

Rev

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

Rev 3022 Rev 4055
Line 57... Line 57...
57
#include <arch/types.h>
57
#include <arch/types.h>
58
 
58
 
59
union frame_address {
59
union frame_address {
60
    uintptr_t address;
60
    uintptr_t address;
61
    struct {
61
    struct {
-
 
62
#if defined (US)
62
        unsigned : 23;
63
        unsigned : 23;
63
        uint64_t pfn : 28;      /**< Physical Frame Number. */
64
        uint64_t pfn : 28;      /**< Physical Frame Number. */
-
 
65
#elif defined (US3)
-
 
66
        unsigned : 21;
-
 
67
        uint64_t pfn : 30;      /**< Physical Frame Number. */
-
 
68
#endif
64
        unsigned offset : 13;       /**< Offset. */
69
        unsigned offset : 13;       /**< Offset. */
65
    } __attribute__ ((packed));
70
    } __attribute__ ((packed));
66
};
71
};
67
 
72
 
68
typedef union frame_address frame_address_t;
73
typedef union frame_address frame_address_t;