31 lines
632 B
C
31 lines
632 B
C
/*
|
|
* Copyright (c) 2008 Travis Geiselbrecht
|
|
*
|
|
* Use of this source code is governed by a MIT-style
|
|
* license that can be found in the LICENSE file or at
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
#include <lk/err.h>
|
|
#include <lk/debug.h>
|
|
#include <platform.h>
|
|
#include "platform_p.h"
|
|
|
|
void platform_init_mmu_mappings(void) {
|
|
}
|
|
|
|
void platform_early_init(void) {
|
|
/* initialize the interrupt controller */
|
|
platform_init_interrupts();
|
|
|
|
/* initialize the timer block */
|
|
platform_init_timer();
|
|
|
|
/* initialize the display */
|
|
platform_init_display();
|
|
}
|
|
|
|
void platform_init(void) {
|
|
platform_init_blkdev();
|
|
}
|
|
|