Rev 3908 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3908 | Rev 3973 | ||
---|---|---|---|
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 39... | Line 39... | ||
39 | #include <config.h> |
39 | #include <config.h> |
40 | #include <align.h> |
40 | #include <align.h> |
41 | #include <macros.h> |
41 | #include <macros.h> |
42 | 42 | ||
43 | uintptr_t last_frame = NULL; |
43 | uintptr_t last_frame = NULL; |
44 | uintptr_t end_frame = NULL; |
- | |
45 | 44 | ||
46 | /** Create memory zones according to information stored in bootinfo. |
45 | /** Create memory zones according to information stored in bootinfo. |
47 | * |
46 | * |
48 | * Walk the bootinfo memory map and create frame zones according to it. |
47 | * Walk the bootinfo memory map and create frame zones according to it. |
49 | */ |
48 | */ |
Line 78... | Line 77... | ||
78 | * must mark the physically first frame not free explicitly |
77 | * must mark the physically first frame not free explicitly |
79 | * here, no matter what is its address. |
78 | * here, no matter what is its address. |
80 | */ |
79 | */ |
81 | frame_mark_unavailable(ADDR2PFN(KA2PA(PFN2ADDR(0))), 1); |
80 | frame_mark_unavailable(ADDR2PFN(KA2PA(PFN2ADDR(0))), 1); |
82 | } |
81 | } |
83 | - | ||
84 | end_frame = last_frame; |
- | |
85 | } |
82 | } |
86 | 83 | ||
87 | /** @} |
84 | /** @} |
88 | */ |
85 | */ |