Commit Graph

35 Commits

Author SHA1 Message Date
joerg
31b6de9f44 Try fixing stand.h include. Add RCS ID. 2011-07-21 11:04:24 +00:00
joerg
3eb244d801 Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
matt
d218a6ab0a Default to DB_ELF_SYMBOLS and DB_ELFSIZE 32 2011-07-09 16:58:04 +00:00
wiz
4cbd24b23f dependant -> dependent 2011-06-30 20:09:15 +00:00
tsutsui
6e783dfc8e - misc KNF and style fixes
- use device_t and cfdata_t
No binary change.
2011-06-18 17:47:20 +00:00
tsutsui
a15cc0d718 Sync with pmax/cons.h (i.e. remove clause 3 and 4). 2011-06-17 18:40:46 +00:00
tsutsui
2699edcfe9 - misc KNF
- use device_t and cfdata_t
2011-06-12 14:31:31 +00:00
tsutsui
e740bf8f3a Some KNF. 2011-06-12 13:40:14 +00:00
tsutsui
bbf5eed88e No reason to create ECOFF kernels for a modern port which have a native
bootloader.  (blindly copied from pmax?)
2011-06-12 05:39:57 +00:00
tsutsui
f132e76c7d Split device_t/softc. 2011-06-12 05:31:14 +00:00
tsutsui
167cae5b52 - misc KNF
- use device_t and cfdata_t
2011-06-12 05:27:56 +00:00
tsutsui
b70778fcd1 More nits. 2011-06-12 05:22:30 +00:00
tsutsui
15746e1082 Split device_t/softc. 2011-06-12 05:20:54 +00:00
tsutsui
27da4103be Misc KNF. 2011-06-12 05:06:23 +00:00
tsutsui
2bf24bf180 Split device_t/softc. 2011-06-12 04:44:27 +00:00
tsutsui
1b1ddf5890 More KNF. 2011-06-12 04:40:44 +00:00
tsutsui
f695acabd5 - don't truncate tv_sec to uint32_t in eclock_settime()
(I guess this has no longer been critical since timecounter(9) support)
- add prefix to reload member in softc
2011-06-12 04:33:29 +00:00
tsutsui
7f3036405f Remove __HAVE_GENERIC_TODR, which has been mandatory since 2008. 2011-06-12 04:22:18 +00:00
tsutsui
f42bae3435 - misc KNF
- use device_t and cfdata_t
2011-06-12 04:17:30 +00:00
tsutsui
80d402d4ff Remove unused ebus_softc and use CFATTACH_DECL_NEW(). 2011-06-12 04:00:33 +00:00
tsutsui
d24f30f51b - KNF, remove arg names in prototype decls
- use device_t and cfdata_t
- use uint32_t rather than u_int32_t (XXX should be paddr_t here?)
2011-06-12 03:57:09 +00:00
tsutsui
bd817f5f3d - ANSIfy, KNF, remove __P()
- use device_t and cfdata_t
2011-06-12 03:52:13 +00:00
tsutsui
c69eb063d7 Fix printf formats in DEBUG case. 2011-06-12 03:29:33 +00:00
tsutsui
90bc6e5821 No need to initialize interrupt evcnt(9) so earlier, so remove phase arg
from intr_init() and initialize all stuff in cpu_configure(9) as other ports
rather than in mach_init() and mbattach().
2011-06-12 03:21:21 +00:00
tsutsui
9dc6c88b06 - misc KNF
- use device_xname(), device_unit(), and device_class()
2011-06-12 03:14:03 +00:00
matt
612b7ee57a struct device * -> device_t, struct cfdata * -> cfdata_t
CFATTACH_DECL(*, sizeof(struct device), -> CFATTACH_DECL_NEW(&, 0
2011-06-05 17:03:16 +00:00
rmind
2626d57668 Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency.  Remove some unnecessary malloc.h inclusions as well.
2011-04-24 16:26:51 +00:00
tsutsui
81a6c364a8 - include <mips/mips_param.h> after MACHINE is defined
- remove MACHINE_ARCH and MID_MACHINE that are defined in <mips/mips_param.h>
- remove redundant comment
2011-03-18 16:39:58 +00:00
pooka
fe43acc5cf Use NESTED_NOPROFILE instead of VECTOR, since VECTOR grew a
.org directive for some reason.

from sandrof
(i didn't test booting, will wait for autobuild to do the work for me)
2011-03-10 18:18:00 +00:00
tsutsui
7567d86ea5 Set correct struct clockframe .intr value for hardclock(9). 2011-03-10 17:22:51 +00:00
bouyer
063f96f3c2 merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
2011-03-06 17:08:10 +00:00
matt
701ad55990 Bring emips forward to the new mips world order. 2011-02-22 08:20:20 +00:00
matt
eceb4a9f62 Deal with mips_vector_init changes 2011-02-20 08:01:10 +00:00
rmind
9b6bd2d968 Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
2011-02-08 20:20:06 +00:00
pooka
5f7e80a834 Add support for the Extensible MIPS ("eMIPS") platform. The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
2011-01-26 01:18:43 +00:00