Andreas Färber
380cd335cc
Don't assume that pointer and cell size are identical, part 1
...
On ppc64, cell size is 32 bits but pointers are 64-bit.
Thus, direct casts result in warnings, treated as errors.
Use [u]intptr_t cast or cell2pointer and pointer2cell macros as necessary.
v2:
* Drop changes related to physical addresses since physical addresses may be
wider than pointers (e.g., 36 bits on sparc32, as pointed out by Blue).
* Drop changes to cell2pointer() and pointer2cell() for now.
Signed-off-by: Andreas Färber <andreas.faerber@web.de >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@922 f158a5a8-5612-0410-a976-696ce0be7e32
2010-10-25 20:48:45 +00:00
Mark Cave-Ayland
1dbe55b8e4
Move the basic OpenBIOS configuration header files from include/openbios to include/.
...
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@695 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 17:19:58 +00:00
Mark Cave-Ayland
da4cc1d0bd
Move the driver header files into include/drivers to synchronise with the code directory structure.
...
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@692 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 15:19:41 +00:00
Mark Cave-Ayland
4a2c065e4f
Move the libopenbios header files into include/libopenbios to synchronise with the code directory structure.
...
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@691 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 15:05:53 +00:00
Alexander Graf
5e50d351e8
I accidently set props[0] twice instead of going through both elements.
...
Signed-off-by: Alexander Graf <agraf@suse.de >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@647 f158a5a8-5612-0410-a976-696ce0be7e32
2009-12-21 09:57:53 +00:00
Alexander Graf
181acb9043
When running qemu in -M mac99 mode, interrupts failed on me all the
...
time.
I finally managed to track things down and it seems like we're missing
some properties in several devices.
While at it, I also bumped the ESCC IRQs to 0x24 / 0x25, as that's what
qemu now maps them on.
This patch (plus the qemu set) gets PPC64 Linux booting with
console=ttyPZ0.
Signed-off-by: Alexander Graf <agraf@suse.de >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@646 f158a5a8-5612-0410-a976-696ce0be7e32
2009-12-18 23:38:08 +00:00
Blue Swirl
a0c398f24b
Delete some unused macros detected with -Wp,-Wunused-macros use
...
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@482 f158a5a8-5612-0410-a976-696ce0be7e32
2009-03-28 14:28:16 +00:00
Blue Swirl
9020fb5fa1
Support for Qemu -nographic flag
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@452 f158a5a8-5612-0410-a976-696ce0be7e32
2009-02-14 09:44:55 +00:00
Blue Swirl
6fd0d0dfcf
Send key on key press, not release: closes #26
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@418 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-17 20:39:12 +00:00
Blue Swirl
f5f46f28f5
Use aliases for console device selection
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@413 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-17 10:15:13 +00:00
Laurent Vivier
f89783c5e4
CONFIG_SERIAL_PORT to 0 select ch-a (0x20 offset), other value select ch-b (0x00 offset). Idea from Blue Swirl
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@406 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-13 20:24:52 +00:00
Laurent Vivier
c254d42e4c
ESCC: correctly use CONFIG_SERIAL_PORT
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@400 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-13 16:42:29 +00:00
Laurent Vivier
53c56562ce
escc: add "AAPL," and "reg" properties (allow to use it with linux)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@398 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-13 08:05:51 +00:00
Laurent Vivier
7dac2248ea
Add aliases for ch-a and ch-b: ttya, ttyb for oldworld, and scca and sccb for all
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@397 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-13 07:49:44 +00:00
Blue Swirl
e43da79c51
Fix wrong property
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@395 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-12 19:49:10 +00:00
Blue Swirl
4f2d4ae6f2
Extract ESCC serial driver
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@391 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-12 17:46:19 +00:00