Commit Graph

135984 Commits

Author SHA1 Message Date
tsutsui 4eaafdc8ac Remove MBR and MSDOSFS binaries which were imported from OpenBSD but
maintained at all. Our current fdisk(8) and newfs_msdos(8) work enough
to create a bootable disk on NetBSD/arc.
Ok'ed by soda.
2005-04-18 16:39:44 +00:00
tsutsui 5ab2951c5e Add a standalone boot for arc. 2005-04-18 16:34:28 +00:00
tsutsui 749f06ffa8 Remove files which was imported from OpenBSD/arc but not used/maintained.
Ok'ed by soda.
2005-04-18 16:32:38 +00:00
tsutsui b28c4afbba Add a long-awaited standalone boot program for arc port to load
ELF kernels instead of booting ECOFF kernels directly by ARCBIOS.
Tested on my NEC-J96A and NEC-JC94, and ok'ed by soda.

XXX: Maybe we should share some of these sources with sgimips
XXX: (in sys/dev/arcbios/stand?)
2005-04-18 16:27:54 +00:00
tsutsui e5d26b19a8 arc/algor dir was removed long ago.
BTW, is "make tags" still maintained?
2005-04-18 15:59:51 +00:00
tsutsui 8110788f1c Revert part of rev 1.7. In arcemu_ip12_eeprom_read(), a variable reg is
read via (u_int32_t *) cast, so it shouldn't be paddr_t.
2005-04-18 15:46:18 +00:00
tsutsui d0112ff334 - Use u_long or long rather than paddr_t for ARCBIOS function prototypes
as per the ARC specification. They are actually 64bit on MIPS64 based
  machines and our paddr_t is not equal to pointer size.
  (arc is ILP32 but has 64bit paddr_t)
- While here, change some unsigned long to u_long for consistency.
2005-04-18 15:38:00 +00:00
hubertf a958e20048 For -L, mention that files that were dynamicallt created upon installation
(@exec, ...) are not listed.

Based on patch by Peter Bex <Peter.Bex@student.kun.nl>
2005-04-18 12:28:46 +00:00
bouyer 9e2767d248 If VOP_IOCTL fails on the device we're trying to export, return an error
instead of dereferencing a NULL pointer later.
Problem reported by Martti Kuparinen in private email.
2005-04-18 11:41:11 +00:00
manu d3e5d568cd Fix SA lifebyte check 2005-04-18 11:15:01 +00:00
wiz 7224809d57 Document index argument, and mention that long_options
needs to be terminated with a structure containing zeroes.
Slightly modified version of patch from PR 30002 by Kailash Sethuraman.
Bump date.
2005-04-18 10:56:33 +00:00
mrg 1ec9145306 be explicit in the description for POSIX saved set-id that this is for
POSIX-style, not sane-style.  (ie, add "POSIX " to the description.)
2005-04-18 10:46:39 +00:00
dsl a7151c0abc Add a '-a' option to set the time using adjtime(2) instead of settimeofday(2).
Fix usage so that the options which apply to dat/time setting are on the
correct line.
2005-04-18 06:53:35 +00:00
wiz 6b4d05a703 Drop trailing whitespace. 2005-04-17 23:23:21 +00:00
lukem 8232ca0162 Tweaks for the move of postinstall from /etc to /usr/sbin 2005-04-17 23:12:40 +00:00
bouyer c6a8468bd3 Remove unused code.
Add support for dynamic attach/detach. Should fix port-xen/29856 by Juan RP.
2005-04-17 22:59:37 +00:00
bouyer 381c7beadd Add a kernel thread to the control interface, to handle deferred callacks
(which may sleep). Fix port-xen/29851 by YAMAMOTO Takashi.
Use config_pending_incr()/config_pending_decr() in if_xennet instead of
busy-looping (which doesn't work any more).
Remove the kernel thread from xbd, which isn't needed any more.
2005-04-17 21:11:30 +00:00
christos 05c61e7894 PR/21147: Christian Biere: ctype function misuse. 2005-04-17 17:42:48 +00:00
christos b2a3a81e1c PR/21152: Christian Biere: ctype function misuse. 2005-04-17 17:37:11 +00:00
christos 4be93fc1ce PR/21155: Christian Biere: ctype function misuse. 2005-04-17 17:34:43 +00:00
christos 0de6393bd4 PR/21165: Christian Biere: ctype function misuse 2005-04-17 17:27:11 +00:00
christos 476fac655a PR/21167: Christian Biere: ctype function misuse. 2005-04-17 17:22:36 +00:00
christos 145e9070ea PR/21170: Christian Biere: ctype function misuse. 2005-04-17 17:19:33 +00:00
christos 7fc7748a3e PR/21172: Christian Biere: ctype function misuse. 2005-04-17 17:18:16 +00:00
christos 30a161cf4d PR/21177: Christian Biere: ctype function issues. 2005-04-17 17:16:37 +00:00
hannken 6cb4c22637 Support user controllable flags for the snapshot driver:
- Add FSSIOFSET and FSSIOFGET ioctl() to set/get the flags.
- Add FSS_UNCONFIG_ON_CLOSE flag to unconfigure the snapshot device
  on the last close.

Reviewed by: Jason R. Thorpe <thorpej@netbsd.org>
2005-04-17 16:28:26 +00:00
lukem 5cae62926d do_postinstall() is now unnecessary; remove it.
If extracting -s etc.tgz to a temporary directory, don't run the
embedded etc/postinstall since it doesn't exist anymore.

Remember the original SRC_DIR passed in (e.g, "-s etc.tgz") and
display that in the suggested "fix" message, rather than a temporary
path to the extracted etc.tgz which won't be correct for the next run.
2005-04-17 15:38:34 +00:00
lukem 9358e88bbf Update for move to /usr/sbin.
Add a HISTORY.
2005-04-17 15:27:23 +00:00
lukem d2a9aaa7cf use usr.sbin/postinstall/postinstall instead of etc/postinstall 2005-04-17 15:18:34 +00:00
lukem 5c5750a595 Move /etc/postinstall (and the etc.tgz set) to /usr/sbin/postinstall
(and the base.tgz set).
2005-04-17 15:15:48 +00:00
bouyer c7520961bf Allow to pass a more descriptive name to event_set_handler() (e.g. IRQ number
for physical IRQ, or device name for xen device drivers). This makes
systat and vmstat output more usable, especially as the channel numbers
change each time a guest reboots.
2005-04-17 14:50:11 +00:00
toshii 2db3ae3497 Correct status value check for OHCI isoc transfer;
the spec says that "not accessed" is 111x, not 1111.
2005-04-17 14:46:49 +00:00
bouyer b8171ad79a Remove
xenkbc at hypervisor
vga at hypervisor
they have been obsoleted by PCI and ISA support, and don't compile any more.
2005-04-17 14:44:14 +00:00
hannken e97aafbc0b When a snapshot gets unconfigured always clear `FSS_BS_ALLOC'. 2005-04-17 11:39:52 +00:00
wiz aad2c7a127 Remove superfluous .Pp, add some commas, improve grammar in a sentence,
and bump date for the many changes in the update to 1.0c.
2005-04-17 08:51:19 +00:00
wiz 46e16d08b7 Drop trailing whitespace. 2005-04-17 08:48:17 +00:00
provos bdc32cfad7 update to libevent-1.0c. This includes support for event priorities,
multi-threaded applications and some bug fixes.  regression test
improved to test for new features.  bump major.
2005-04-17 07:20:00 +00:00
rumble 17a32ff3f7 regen 2005-04-17 04:07:11 +00:00
rumble 8e4666bb70 Add the $NetBSD$ tag and some whitespace. When we previously
started the device list on the first line the awk script would
skip the first entry.
2005-04-17 04:06:38 +00:00
wiz e35111eeee Some more minor changes, ok manu@. 2005-04-17 01:03:46 +00:00
bouyer 4de6ba366b Remove functions that just call another one.
Inline a function used at only one place.
2005-04-16 23:33:17 +00:00
bouyer c17413ff3e Get rid of the event to pseudo-irq mapping. We are limited to 32 pseudo-irq,
including soft interrupt, and this is way too low in some use (lots of domains,
or domains with lots of xennet, or even hardware with lots of devices at
different interrupts).
Based on idea from YAMAMOTO Takashi, keep one list of handler per-event and
one per-IPL (so the same handler is now in 2 lists). In the common case were
an event is received at low IPL, we can call the handlers quickly (there
is usually only one handler per event, unless the event is mapped to a
physical interrupt and this interrupt is shared by different devices).
Deffered events and software interrupts are handled by a bitmask (as before)
with one bit per IPL. When one IPL has an event pending all handlers for
this IPL will be called.
With this change, it is now possible to have all the 1024 events active.

While here, handle debug event in a special way: the handler is always called,
regardless of the current IPL. Make the handler print usefull informations
about events and IPL states.
Also remove code not used on Xen in files inherited from the x86 port.
2005-04-16 22:49:37 +00:00
perseant 5923fa20f1 Make userland compile again. 2005-04-16 19:52:09 +00:00
perseant ad0169af41 Remove left-over reference to "lfs_blist", for _LKM case. 2005-04-16 18:10:12 +00:00
perseant 5ed792ecb0 Use splay trees, rather than a hash table, to manage the accounting of
blocks allocated through VOP_BALLOC() for pages to be written to disk.
This accounting no longer takes a noticeable fraction of the system CPU.
2005-04-16 17:35:58 +00:00
perseant 94decdd25d Use lfs_malloc() to manage the blkiov arrays that the cleaner functions use,
since the cleaner is likely to operate in a low-memory condition.
2005-04-16 17:28:37 +00:00
tsutsui b818779753 Add newfs_msdos(8) for install ramdiskbin.
ARCBIOS can load binaries only from msdosfs on disks (or iso9660 on cdroms).
2005-04-16 14:44:49 +00:00
tsutsui 0eb69997b3 Add a tweak to default value settings for a number of drive heads
and a number of sectors per track.

According to sys/fs/msdosfs/msdosfs_vfsops.c:msdosfs_mountfs(),
the kernel doesn't accept BPB with spt (sector per track) > 63
or hds (drive heads) > 255, so if values taken from disklabel
don't match these restrictions, use popular BIOS default values
(255/63) instead.
2005-04-16 14:40:36 +00:00
wiz 7de2bf2d68 Mention ukyopon. 2005-04-16 14:38:14 +00:00
wiz a8a4a1cfe2 Improve grammar fix from previous. 2005-04-16 14:36:54 +00:00