Commit Graph

118637 Commits

Author SHA1 Message Date
yamt 26efaef9af revert the previous (thanks, lukem)
and wrap curcpu, cpu_info and friends with #ifdef _KERNEL completely.
2003-10-10 11:53:44 +00:00
dsl d597578896 Include filename in:
'existing entry for `sha1.h', type `file' does not match type `link'
2003-10-10 11:08:54 +00:00
wiz 5a3b01bb60 All single letter options are usually combined; add -V to the others. 2003-10-10 09:03:23 +00:00
wiz e5db3159a8 Sync look of -V description in usage with other option descriptions. 2003-10-10 09:00:24 +00:00
simonb 96cde2b8b5 White space nit. 2003-10-10 07:04:14 +00:00
simonb 83f1167a97 Need to rename dsrtc to ds1743rtc here too. 2003-10-10 07:01:50 +00:00
grog 85a29c2828 Add Vinum 2003-10-10 06:30:06 +00:00
lukem b313b2641e Userland needs <stddef.h> for offsetof(), not <lib/libkern/libkern.h> ...
(Arguably a chunk more of this file could be protected with _KERNEL.
That's a separate project.)
2003-10-10 06:27:15 +00:00
grog e9ca735c42 Add Vinum 2003-10-10 06:24:39 +00:00
grog a8acd863a9 Add Vinum. 2003-10-10 06:21:05 +00:00
grog 17709f5057 Include Vinum. 2003-10-10 06:13:02 +00:00
grog 5cfcdccff1 Hook Vinum into build. 2003-10-10 06:10:53 +00:00
thorpej c490cdc5be Warn if a sync period requiring DT was negotiated on a peripheral not
capable of DT.
2003-10-10 05:58:56 +00:00
thorpej 15bb1be91b Fix some errors in device mapping and errata work-arounds, and generally
clean up mapping code.
2003-10-10 05:57:26 +00:00
simonb 62887f0740 Remove another unneeded cast to size_t.
Pointed out by Anil Madhavapeddy in private email.
2003-10-10 05:38:45 +00:00
grog 2ce576d37a Add config info for Vinum 2003-10-10 04:50:07 +00:00
grant d2b25aff9c bump date for last 2003-10-10 04:14:00 +00:00
grog c6ed3adf63 Add major number for Vinum. 2003-10-10 03:51:58 +00:00
grog c52d09a328 Decribe the V flag. 2003-10-10 03:27:10 +00:00
grog 51b6966ad7 Add -V flag for use with Vinum to indicate that the last character of
the device name should not be interpreted as a partition identifier.
2003-10-10 03:23:28 +00:00
grog d5119a1e37 Initial import of Vinum userland.
Ported by:  Ramsubramanyam <Ramsubramanyam@infosys.com>,
	    Atul Kabra <Atul_Kabra@infosys.com>,
	    Maneesh Jhinger <maneesh_jhinger@infosys.com>

Reviewed by:  lukem
2003-10-10 03:13:12 +00:00
grog d88f6bbaeb Initial import of Vinum kernel module.
Ported by:  Ramsubramanyam <Ramsubramanyam@infosys.com>,
	    Atul Kabra <Atul_Kabra@infosys.com>,
	    Maneesh Jhinger <maneesh_jhinger@infosys.com>

Reviewed by:  lukem
2003-10-10 03:07:27 +00:00
matt 25fb6de823 Adapt to SIGINFO changes. 2003-10-10 02:26:54 +00:00
grog 590ae9d0df Add description for Vinum 2003-10-10 02:13:32 +00:00
simonb 13ceaa8236 Fix "#defined<tab>" nits. 2003-10-10 02:11:58 +00:00
grog c5cf87a850 Add definitions for Vinum. 2003-10-10 02:02:52 +00:00
matt 1a3bbf394a Override TARGET_DEFAULTS to include MASK_STRICT_ALIGN (for IBM403).
It still includes (MASK_POWERPC | MASK_NEW_MNEMONICS) as well.
Change STACK_BOUNDARY to 128 to make Altivec'ed code easier to deal with.
2003-10-10 01:58:55 +00:00
lukem 58e13fba70 Fix compile error on powerpc. Noted by Juergen Hannken-Illjes in private mail. 2003-10-10 01:50:47 +00:00
lukem 8e798b3ca1 use uint8_t instead of char for bp_password[] 2003-10-10 01:49:54 +00:00
christos acdf7caf16 mention new whois 2003-10-10 01:49:51 +00:00
thorpej 9a2255650e Set EXTRA_PARTS to a null value, like we do with LIBGCC. This prevents
the tool build from attempting to build the GCC crtstuff before the
target include files are installed.  PR toolchain/23112.

(Note: You would not see the bad behavior described in the PR unless
your .mk files were hacked to configure the toolchain target as
*-*-netbsd*2.0.)
2003-10-10 01:18:54 +00:00
matt 4b22ee736b Add support for MPC74[45]7 2003-10-09 20:49:06 +00:00
bouyer 0ea3fa883e Remove the check for WAIT+POLL+READ case in __wdccommand_start(),
this case is already handled in __wdccommand_intr().
Pointed out by Charles M. Hannum.
2003-10-09 18:40:19 +00:00
bouyer ae9c3d7747 After pciide split, add cmdide and aceride to bus_class_tab[], per Martin
Husemann and Takeshi Nakayama requests.
XXX others IDE controller drivers needs to be added too, or a better
way of handling it has to be found.
2003-10-09 17:55:44 +00:00
jdolecek e9a93e256b properly dottify .\" comments; this fixes output of [range] paragraph 2003-10-09 16:56:06 +00:00
fvdl 0a79ef3086 Allow probing of CPUs only by ACPI, so that MPBIOS can still do interrupt
mapping should ACPI have a quirk. From Christos. One change by me: make
sure that lapic_boot_init doesn't get called twice, otherwise the
cpu_info entry for the CPU with id 0 gets zapped.
2003-10-09 16:25:16 +00:00
dbj 4d76d724b9 calculate "-s size" values after sectorsize has been fully determined
extend "-s size" argument to allow negative sizes to represent value to
subtract from diskalbel partition size
2003-10-09 16:23:29 +00:00
christos ca7e7788b7 - enable WARNS 2
- delint (void casts, shadow warning on port)
- always cast to unsigned char for isfoo() macros, not sometimes.
- save errno to avoid reporting random error value.
- use warnx() when the error is indeed unknown.
- use getprogname() instead of __progname.
- make all locals static.
2003-10-09 15:32:37 +00:00
yamt d59161d069 - don't try to write alt super blocks beyond the end of the partition.
- flush stdout when printing each super block addresses.
2003-10-09 14:28:34 +00:00
fvdl 4c16901a4e Don't treat a 66-100Mhz PCI-X bus as plain PCI. From yamt (the code was
already like this in the FreeBSD driver).
2003-10-09 14:26:54 +00:00
jrf df042318ea christos@netbsd.org suggested we replace whois
with one that is KNF, has ipv6, better error
handling, and recursion. I settled on OpenBSDs.
Christos found some nits and had me commit as
is. Christos will follow up with fixes shortly.
2003-10-09 14:21:49 +00:00
yamt fbacec1288 tweak curproc not to reference curlwp twice.
(function calls might be accompanied by curlwp.)
2003-10-09 14:00:34 +00:00
yamt d9d3c0dd8e avoid a magic number in curcpu(). 2003-10-09 13:46:43 +00:00
christos 77b4aabadd Avoid re-entry in the cleanup signal handlers. 2003-10-09 13:43:00 +00:00
yamt f2aa877507 for nfs_timer_ch, use callout_schedule rather than callout_reset
as the former is a little more efficient.
2003-10-09 13:23:33 +00:00
dsl ab073a34f8 Move lib/crt/start_rom.S to a more sensible location. 2003-10-09 10:56:13 +00:00
dsl 44ac426707 Use real_to_prot (etc) from stand/lib.
Add a patchable header for boot parameters (eg console type).
2003-10-09 10:36:26 +00:00
dsl 3d4b6a197d Pick up X86_BOOT_MAGIC_* from bootblock.h
Move boot_params.S to lib (seems useful to use it in pxeboot).
2003-10-09 10:29:39 +00:00
dsl e79e1bed24 Make X86_BOOT_MAGIC_* available when ASSEMBLER defined. 2003-10-09 10:25:40 +00:00
ichiro c9be9cafc5 dont use __ARMEB__
It changed so that it might distinguish by BYTE_ORDER
2003-10-09 09:44:25 +00:00