Rev 867 | Rev 970 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 867 | Rev 934 | ||
---|---|---|---|
Line 25... | Line 25... | ||
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 | #include <arch/mm/memory_init.h> |
29 | #include <arch/mm/memory_init.h> |
30 | #include <genarch/ofw/memory_init.h> |
- | |
31 | #include <typedefs.h> |
30 | #include <typedefs.h> |
32 | 31 | ||
33 | void preboot_read_config(void) |
- | |
34 | { |
- | |
35 | ofw_init_memmap(); |
- | |
36 | } |
- | |
37 | - | ||
38 | size_t get_memory_size(void) |
32 | size_t get_memory_size(void) |
39 | { |
33 | { |
40 | return ofw_get_memory_size(); |
34 | return 0; |
41 | } |
35 | } |