Various cleanups and cosmetic fixes.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Corey Osgood <corey.osgood@gmail.com> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@520 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
497cdb7484
commit
d26d82a4a6
12 changed files with 99 additions and 85 deletions
|
|
@ -18,6 +18,7 @@
|
|||
*/
|
||||
|
||||
#define _MAINOBJECT
|
||||
|
||||
#include <console.h>
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -17,15 +17,16 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
/* printk will not yet output anything */
|
||||
/* printk() will not yet output anything. */
|
||||
|
||||
/**
|
||||
* start up hardware needed for stage1
|
||||
* Start up hardware needed for stage1.
|
||||
*/
|
||||
void hardware_stage1(void)
|
||||
{
|
||||
/* Nothing to do for Qemu */
|
||||
/* Nothing to do for QEMU. */
|
||||
}
|
||||
|
||||
void disable_car(void)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,11 +32,14 @@ static void setup_onboard(struct device *dev)
|
|||
struct pc_keyboard conf;
|
||||
|
||||
printk(BIOS_INFO, "Init VGA device\n");
|
||||
|
||||
dev->on_mainboard = 1;
|
||||
dev->rom_address = 0xc0000;
|
||||
|
||||
// FIXME - this should be in superio some day
|
||||
// but since qemu has no superio.
|
||||
/*
|
||||
* FIXME: This should be in the Super I/O code some day,
|
||||
* but since QEMU has no Super I/O...
|
||||
*/
|
||||
init_pc_keyboard(0x60, 0x64, &conf);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue