Annotation of qemu/roms/openbios/arch/ppc/pearpc/console.c, revision 1.1

1.1     ! root        1: 
        !             2: /*
        !             3:  *      <console.c>
        !             4:  *
        !             5:  *      Simple text console
        !             6:  *
        !             7:  *   Copyright (C) 2005 Stefan Reinauer <[email protected]>
        !             8:  *
        !             9:  *   This program is free software; you can redistribute it and/or
        !            10:  *   modify it under the terms of the GNU General Public License
        !            11:  *   as published by the Free Software Foundation
        !            12:  *
        !            13:  */
        !            14: 
        !            15: #include "config.h"
        !            16: #include "libopenbios/bindings.h"
        !            17: #include "libc/diskio.h"
        !            18: #include "libopenbios/ofmem.h"
        !            19: #include "pearpc/pearpc.h"
        !            20: 
        !            21: 
        !            22: typedef struct osi_fb_info {
        !            23:        unsigned long   mphys;
        !            24:        int             rb, w, h, depth;
        !            25: } osi_fb_info_t;
        !            26: 
        !            27: 
        !            28: int PearPC_GetFBInfo( osi_fb_info_t *fb )
        !            29: {
        !            30: 
        !            31:         fb->w=1024;
        !            32:         fb->h=768;
        !            33:         fb->depth=15;
        !            34:         fb->rb=2048;
        !            35:         fb->mphys=0x84000000;
        !            36: 
        !            37:        return 0;
        !            38: }
        !            39: 
        !            40: #define openbios_GetFBInfo(x) PearPC_GetFBInfo(x)
        !            41: 
        !            42: #include "../../../packages/video.c"
        !            43: #include "../../../libopenbios/console_common.c"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.