Commit Graph

107 Commits

Author SHA1 Message Date
joerg 3c550524b5 Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh.  Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
2011-01-22 19:19:14 +00:00
joerg 19b23810a0 Switch remaining platforms to modern CPP for assembler. 2011-01-21 15:59:04 +00:00
kiyohara 5165d39f48 Set root-device to bootinfo. 2010-10-27 10:37:38 +00:00
kiyohara 1b489faed2 Support ustarfs for floppy-disk. 2010-10-18 17:56:40 +00:00
he 428772b231 Fix a minor typo preventing this from building. 2010-10-15 20:01:03 +00:00
kiyohara 9a2413ff51 Support kernel load from SCSI HDD with onboard siop. It is very EXPERIMENTAL!! 2010-10-14 06:58:22 +00:00
kiyohara 01f89bfdb3 Support kernel load from IDE HDD with onboard wdc. like cobalt, sandpoint. 2010-10-14 06:50:43 +00:00
kiyohara 9fe16975a7 Change format of path for device. A current form strangely feels dissatisfied.
This new format looks like the format of BootROM of BeBox.
2010-10-14 06:39:52 +00:00
kiyohara 246f73effa s/,vga}/,_vga}/. 2010-10-14 06:23:27 +00:00
kiyohara bb14ed2c7b Add _rtt(). But it is NULL function. 2010-10-14 06:17:57 +00:00
kiyohara 050710296c Add pci.c to SRCS. 2010-10-14 06:17:29 +00:00
kiyohara 2fb624f24b Add pci.c. Splitted from vreset.c
And cleanup vreset.c.
2010-10-14 06:12:54 +00:00
kiyohara 5ea6a9374f Add PCI_mem and many access/cache-ope functions.
+ inw/inwrb/writeb/writel/readb/readw/readl.
  + _wbinv/_inv.
2010-10-14 05:52:01 +00:00
kiyohara ac458dd62f Add -I${S}/lib/libsa and reorder. 2010-10-14 05:40:40 +00:00
dholland 5ef6a33bb9 Introduce .WAIT into the cleandir rule for blasting the libsa/libkern/etc.
trees, because it can race with the libsa/libkern/etc. makefiles' own
cleandir rules. I think I've found all of the uses of the offending idiom...
Closes PR 43360.
2010-05-27 06:58:12 +00:00
cegger df7f595ecd Ansify function definitions w/o arguments. Generated with sed. 2009-03-18 10:22:21 +00:00
he 6dc3c9a69e Make putchar() conform to the stand.h prototype, so that this builds again. 2009-03-17 19:41:32 +00:00
dsl 82357f6d42 ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
2009-03-14 21:04:01 +00:00
dsl 454af1c0e8 Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
2009-03-14 15:35:58 +00:00
dsl 02cdf4d2c8 Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
2009-03-14 14:45:51 +00:00
kiyohara 246597c4a4 Fix waiting for the input from keyboard after "Boot: " is displayed in frame
buffer.  Read out ugly data.
2008-06-07 03:56:20 +00:00
kiyohara 33aaae50a1 Split boot/boot_com0/boot_vga.
boot supports framebuffer.
  boot_com0 supports com0.
  boot_vga supports vga, not frambuffer.
2008-05-26 16:28:39 +00:00
kiyohara 4b5fb67334 Integrated to powerpc-mkbootimage. Obsoleted. 2008-05-25 16:27:56 +00:00
kiyohara 5039d4063f Integrated to powerpc-mkbootimage. Obsoleted. 2008-05-25 16:21:07 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
kiyohara 08b5f8f61c Remove printf() when VGA vendor is case Diamond and Matrox. Moreover
this printf() will make the start of CPU1 fail.  I have not understood the
reason yet.  When doing DEBUG is effective, the vender of all PCI devices
will be displayed again.  At this time, printf() doesn't support the format
like "%08x".
2008-03-26 15:09:50 +00:00
kiyohara 7bff3a9b0b We might be able to use VGA. Please comment out for line '-DCONS_SERIAL'
if you wish for it.  In that case, you will occasionally see the hoarsely
and strangely transformed character on screen. This reason cannot be
understood yet.
Default is continuously a serial console.
2008-03-26 14:56:18 +00:00
tsutsui 2d5be04276 cnscan() should return -1 (no input) if there is no console device. 2008-03-01 05:21:50 +00:00
garbled d974db0ada Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
2007-10-17 19:52:51 +00:00
chs 74234c1818 don't include <sys/endian.h> when building as a host tool. 2006-12-09 22:02:24 +00:00
dsl 6f0f9f8763 Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h>
The bswap.h and endian.h files are all rather incestuous, but I want to
get the constant folding stuff into one place - sys/bswap.h
2006-01-29 21:42:40 +00:00
perry 50a256a3a0 __asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
perry 2d65de2479 bare asm -> __asm 2005-12-24 22:45:33 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
he 14bbdadd3d The ANSIfication unconvered that we were calling devlookup() with
an extra argument.  It seems to be correct just to drop the last arg.
2005-07-15 23:15:00 +00:00
junyoung e63501d234 #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h" 2005-06-28 21:00:41 +00:00
junyoung 886a08c247 - ANSIfy, remove trailing spaces.
- Put /* FALLTHROUGH */ to make lint happy.
2005-06-28 20:51:19 +00:00
junyoung f174987abc De-__P() and some cosmetic changes. 2005-06-28 20:30:46 +00:00
junyoung 7bac1211f4 ANSI, KNF, trailing spaces, and etc. 2005-06-28 20:06:19 +00:00
junyoung e82b73153c ANSIfy & remove trailing spaces. 2005-06-28 20:01:17 +00:00
junyoung a5b199a8f5 Remove trailing spaces. 2005-06-28 14:38:06 +00:00
junyoung 88ebacb43f - No need to define NULL here since it's already defined in stand.h.
- ANSI, KNF, de-__P, and remove trailing spaces.
2005-06-28 14:36:21 +00:00
junyoung 01690e5f55 ANSI, KNF, de-__P, drop trailing spaces, and some other cosmetic changes. 2005-06-27 11:52:28 +00:00
junyoung 17670568fe Use FS_OPS() macro. 2005-06-23 19:44:00 +00:00
jmc 9a999c376a Convert bebox's remaining host tools over to cross tools scheme. Builds to sets
w/o error now.
2004-11-25 08:09:14 +00:00
heinz b804d8c240 Remove trailing argument list from #undef of divrnd macro to enable build
with gcc3 and -Werror.
2004-10-16 14:43:40 +00:00
kleink bac8f8978b Repair operand constraints in delay(). 2004-06-29 16:21:16 +00:00
jmc 84fafa3db5 Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
2004-06-21 18:20:08 +00:00
wiz d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
keihan 29c72c57f0 netbsd.org -> NetBSD.org
All "netbsd.org" is now gone from src/sys/arch.
2003-12-04 13:05:15 +00:00