Blue Swirl
a5cba745e5
Add GCC format attributes to print functions
...
Fix format problems found.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@888 f158a5a8-5612-0410-a976-696ce0be7e32
2010-10-09 08:27:09 +00:00
Blue Swirl
482249e794
Use standard types
...
Replace uchar, uint, ulong, u_char, u_int, u_long, u_int* with
their standard equivalents.
Fixes warnings like these on OpenBSD:
CC target/arch/unix/unix.o
In file included from ../arch/unix/unix.c:29:
../include/config.h:26: warning: redefinition of `ulong'
/usr/include/sys/types.h:56: warning: `ulong' previously declared here
../include/config.h:26: warning: redundant redeclaration of `ulong' in same scope
Signed-off-by: Blue Swirl <blauwirbel@gmail.com >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@830 f158a5a8-5612-0410-a976-696ce0be7e32
2010-08-01 21:25:08 +00:00
Blue Swirl
a2f14b47b8
Remove unused memchr()
...
Signed-off-by: Blue Swirl <blauwirbel@gmail.com >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@747 f158a5a8-5612-0410-a976-696ce0be7e32
2010-04-15 16:43:01 +00:00
Blue Swirl
80cead52eb
Remove unused strstr()
...
Signed-off-by: Blue Swirl <blauwirbel@gmail.com >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@746 f158a5a8-5612-0410-a976-696ce0be7e32
2010-04-15 16:42:59 +00:00
Blue Swirl
28cff5734c
Remove unused memscan()
...
Signed-off-by: Blue Swirl <blauwirbel@gmail.com >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@745 f158a5a8-5612-0410-a976-696ce0be7e32
2010-04-15 16:42:56 +00:00
Blue Swirl
5221245af9
Remove unused bcopy()
...
Signed-off-by: Blue Swirl <blauwirbel@gmail.com >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@744 f158a5a8-5612-0410-a976-696ce0be7e32
2010-04-15 16:42:54 +00:00
Blue Swirl
fd569ca2f8
Remove unused strspn()
...
Signed-off-by: Blue Swirl <blauwirbel@gmail.com >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@743 f158a5a8-5612-0410-a976-696ce0be7e32
2010-04-15 16:42:51 +00:00
Blue Swirl
e14d5b08e9
Remove unused strtok()
...
Signed-off-by: Blue Swirl <blauwirbel@gmail.com >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@742 f158a5a8-5612-0410-a976-696ce0be7e32
2010-04-15 16:42:49 +00:00
Mark Cave-Ayland
7fdf25e044
Switch the bootinfo-loader over to using strncasecmp rather than strcasecmp which should be much safer on binary buffersi of
...
unknown content/length.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@722 f158a5a8-5612-0410-a976-696ce0be7e32
2010-04-02 08:33:07 +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
Laurent Vivier
144d172001
Add a function forth_printf() which prints to openbios stdout.
...
Signed-off-by: Laurent Vivier <Laurent@vivier.eu >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@628 f158a5a8-5612-0410-a976-696ce0be7e32
2009-11-22 09:50:54 +00:00
Laurent Vivier
d6365bca24
Fully decode PCI unit name attribute.
...
Signed-off-by: Laurent Vivier <Laurent@vivier.eu >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@603 f158a5a8-5612-0410-a976-696ce0be7e32
2009-11-10 21:39:42 +00:00
Blue Swirl
8c883ca477
Fix stack protector problems with newer GCC versions
...
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@490 f158a5a8-5612-0410-a976-696ce0be7e32
2009-05-20 18:07:09 +00:00
Blue Swirl
037d00c9b5
Add Propolice support
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@422 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-24 08:23:33 +00:00
Blue Swirl
91148c0702
Clean up Sparc32 memory management
...
Concentrate memory and MMU management (lib.c malloc, romvec opb_, iommu,
OF /memory) to lib.c.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@344 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-03 13:45:02 +00:00
Blue Swirl
a757800a01
Remove unnecessary trailing newlines
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@285 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-13 09:26:41 +00:00
Blue Swirl
58ca864765
Delete extra whitespace at the end of line, which annoys quilt
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@284 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-11 20:30:53 +00:00
Blue Swirl
bf0c6b1c38
Fix most warnings from Sparse
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@274 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-30 11:54:01 +00:00
Blue Swirl
33b784951f
Add prototypes for [v]snprintf
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@191 f158a5a8-5612-0410-a976-696ce0be7e32
2008-07-07 18:37:24 +00:00
Stefan Reinauer
1a34b8a360
64bit fixes from blueswirl
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@83 f158a5a8-5612-0410-a976-696ce0be7e32
2006-09-14 15:06:38 +00:00
Stefan Reinauer
2759b42cc1
blueswirl -14 generic and sparc32 related code
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@25 f158a5a8-5612-0410-a976-696ce0be7e32
2006-05-22 10:37:34 +00:00
Stefan Reinauer
1985265919
add 64bit byteswaps.
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@20 f158a5a8-5612-0410-a976-696ce0be7e32
2006-05-17 12:28:27 +00:00
Stefan Reinauer
1ab6b463ad
latest sparc32 patch from Blueswirl
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@13 f158a5a8-5612-0410-a976-696ce0be7e32
2006-05-07 16:40:13 +00:00
Stefan Reinauer
5c9eb9b45b
initial import of openbios--main--1.0--patch-26
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@1 f158a5a8-5612-0410-a976-696ce0be7e32
2006-04-26 15:08:19 +00:00