Rev 970 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 970 | Rev 1135 | ||
---|---|---|---|
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 | #include <arch/boot/boot.h> |
|
29 | #include <arch/console.h> |
30 | #include <arch/console.h> |
30 | #include <console/chardev.h> |
31 | #include <console/chardev.h> |
31 | #include <console/console.h> |
32 | #include <console/console.h> |
32 | #include <genarch/fb/fb.h> |
33 | #include <genarch/fb/fb.h> |
33 | 34 | ||
34 | 35 | ||
35 | /** Initialize console to use frame buffer. */ |
36 | /** Initialize console to use frame buffer. */ |
36 | void ppc32_console_init(void) |
37 | void ppc32_console_init(void) |
37 | { |
38 | { |
38 | /* TODO: PCI detection etc. etc. - this is fine in PearPC for now */ |
39 | /* TODO: Framebuffer mapping */ |
39 | fb_init(0xf0000000, 800, 600, 4); |
40 | fb_init(0xf0000000, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.bpp, bootinfo.screen.scanline); |
40 | } |
41 | } |