[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: common ieee1275 code
From: |
Hollis Blanchard |
Subject: |
Re: common ieee1275 code |
Date: |
Tue, 12 Jul 2005 20:01:14 -0500 |
This patch is loosely based on Vincent's Sparc patches. It changes the
IEEE1275 code to use a new type, grub_ieee1275_cell_t. This is
necessary because OpenBoot on Sparc requires the cell size to be 64
bits, while Open Firmware on PowerPC requires it to be 32 bits.
It's rather large because it moves a few files around that Vincent
indicated can be directly shared between Sparc and PowerPC:
- disk/powerpc/ieee1275/ofdisk.c -> disk/ieee1275/ofdisk.c
- include/grub/powerpc/ieee1275/ieee1275.h ->
include/grub/ieee1275/ieee1275.h
- include/grub/powerpc/ieee1275/ofdisk.h ->
include/grub/ieee1275/ofdisk.h
- term/powerpc/ieee1275/ofconsole.c -> term/ieee1275/ofconsole.c
- boot/powerpc/ieee1275/ieee1275.c -> kern/ieee1275.c
As long as I was moving things around, I noticed that
<grub/machine/console.h> was no longer useful, so consolidated both
i386 and powerpc's into include/grub/console.h.
I have tested this on PowerPC, and once all the compile annoyances were
fixed it booted perfectly.
Vincent, this is not exactly what you had in some places, but I think
this diff will help you a lot.
If there are no complaints, I will send a real changelog entry soon.
-Hollis
grub-ieee1275.diff
Description: Binary data
- Re: [PATCH] Huge changes in mm.c, (continued)
- Re: [PATCH] Huge changes in mm.c, Vincent Pelletier, 2005/07/12
- Re: [PATCH] Huge changes in mm.c, Hollis Blanchard, 2005/07/12
- Re: [PATCH] Huge changes in mm.c, Marco Gerards, 2005/07/12
- sparc64 port : diffs to powerpc branches, Vincent Pelletier, 2005/07/12
- Re: sparc64 port : diffs to powerpc branches, Marco Gerards, 2005/07/12
- Re: sparc64 port : diffs to powerpc branches, Vincent Pelletier, 2005/07/12
- Re: sparc64 port : diffs to powerpc branches, Marco Gerards, 2005/07/13
- Re: sparc64 port : diffs to powerpc branches, Vincent Pelletier, 2005/07/13
- Re: sparc64 port : diffs to powerpc branches, Marco Gerards, 2005/07/13
- Re: sparc64 port : diffs to powerpc branches, Hollis Blanchard, 2005/07/12
- Re: common ieee1275 code,
Hollis Blanchard <=
- Re: common ieee1275 code, Marco Gerards, 2005/07/13
- Re: common ieee1275 code, Hollis Blanchard, 2005/07/14
- Re: common ieee1275 code, Marco Gerards, 2005/07/14
- Re: common ieee1275 code, Hollis Blanchard, 2005/07/14
- Re: common ieee1275 code, Vincent Pelletier, 2005/07/14
- Re: common ieee1275 code, Marco Gerards, 2005/07/16
- Re: common ieee1275 code, Hollis Blanchard, 2005/07/16
- Re: common ieee1275 code, Vincent Pelletier, 2005/07/16
- Re: common ieee1275 code, Marco Gerards, 2005/07/18
- Re: common ieee1275 code, Hollis Blanchard, 2005/07/18