Rev 867 | Rev 1780 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 867 | Rev 1702 | ||
---|---|---|---|
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 genarch |
|
- | 30 | * @{ |
|
- | 31 | */ |
|
- | 32 | /** @file |
|
- | 33 | */ |
|
- | 34 | ||
29 | #include <genarch/ofw/memory_init.h> |
35 | #include <genarch/ofw/memory_init.h> |
30 | #include <genarch/ofw/ofw.h> |
36 | #include <genarch/ofw/ofw.h> |
31 | #include <panic.h> |
37 | #include <panic.h> |
32 | #include <mm/frame.h> |
38 | #include <mm/frame.h> |
33 | #include <align.h> |
39 | #include <align.h> |
Line 84... | Line 90... | ||
84 | zone_create(ADDR2PFN(memmap[i].start), |
90 | zone_create(ADDR2PFN(memmap[i].start), |
85 | SIZE2FRAMES(ALIGN_DOWN(memmap[i].size,PAGE_SIZE)), |
91 | SIZE2FRAMES(ALIGN_DOWN(memmap[i].size,PAGE_SIZE)), |
86 | confdata, 0); |
92 | confdata, 0); |
87 | } |
93 | } |
88 | } |
94 | } |
- | 95 | ||
- | 96 | /** @} |
|
- | 97 | */ |
|
- | 98 |