Rev 1787 | Rev 1857 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1787 | Rev 1793 | ||
|---|---|---|---|
| Line 24... | Line 24... | ||
| 24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | */ |
27 | */ |
| 28 | 28 | ||
| 29 | /** @addtogroup sparc64mm |
29 | /** @addtogroup sparc64mm |
| 30 | * @{ |
30 | * @{ |
| 31 | */ |
31 | */ |
| 32 | /** @file |
32 | /** @file |
| 33 | */ |
33 | */ |
| 34 | 34 | ||
| Line 45... | Line 45... | ||
| 45 | 45 | ||
| 46 | union frame_address { |
46 | union frame_address { |
| 47 | uintptr_t address; |
47 | uintptr_t address; |
| 48 | struct { |
48 | struct { |
| 49 | unsigned : 23; |
49 | unsigned : 23; |
| 50 | uint64_t 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; |
| 56 | 56 | ||
| - | 57 | extern uintptr_t last_frame; |
|
| 57 | extern void frame_arch_init(void); |
58 | extern void frame_arch_init(void); |
| 58 | 59 | ||
| 59 | #endif |
60 | #endif |
| 60 | #endif |
61 | #endif |
| 61 | 62 | ||
| 62 | #endif |
63 | #endif |
| 63 | 64 | ||
| 64 | /** @} |
65 | /** @} |
| 65 | */ |
66 | */ |
| 66 | - | ||