Commit Graph

75853 Commits

Author SHA1 Message Date
martin
228158ce8c If the driver supports reverse, try that first - even on color displays.
This removes a XXX and makes us independent of the users default colors.
2005-05-25 06:46:07 +00:00
perseant
96f8f74d91 Don't update lfs_stats.segs_reclaimed if we're not keeping statistics.
Patch from Juan RP.
2005-05-25 01:50:01 +00:00
tsutsui
1f2b0179d7 ATP865 chips support Ultra133, so correct attach messages as well. 2005-05-24 18:43:29 +00:00
yamt
b0bd23fffb privcmd_ioctl: don't abuse errno for IOCTL_PRIVCMD_INITDOMAIN_EVTCHN.
renumber the ioctl and keep the old one for compatibility.
PR/30027.
2005-05-24 12:07:12 +00:00
tsutsui
adfa3b38bf - make readdisklabel(9) return more usable default label
if disk doesn't have disklabel (sync with news68k)
- most hp300 machines have a boot patition and partition a doesn't
  start at 0, so RAW_PART should be used in bounds_check_with_label(9)
- remove unneeded <sys/syslog.h>
- remove b_cylinder definition, which is in <sys/buf.h>
- some other cosmetics
2005-05-24 10:27:24 +00:00
tsutsui
ffeec43eef Make readdisklabel(9) return more usable default label
if disk doesn't have disklabel.
2005-05-24 10:06:43 +00:00
tsutsui
abc8ecf4ae - use MAKEDISKDEV() macro
- some cosmetics
2005-05-24 09:49:55 +00:00
lukem
ec43f8fc40 add __KERNEL_RCSID 2005-05-24 05:25:15 +00:00
lukem
5e4045c6bb add __KERNEL_RCSID 2005-05-24 05:14:37 +00:00
jmc
36b625d324 Regen 2005-05-23 23:22:27 +00:00
jmc
55c161e3ff Add clock_* POSIX functions. 2005-05-23 23:21:49 +00:00
dbj
8b8acc85db tweak reference of DEBUG variable to ignore options that don't start with -g 2005-05-23 22:01:11 +00:00
jmc
6f594a3510 Provide HEXDIGITS as well (needed on mvme68k/stand) 2005-05-23 19:05:00 +00:00
kiyohara
dad1ac75b9 1. Fixed GPIO bits. (PCCR and PCDR)
2. Save and restore PCDR, PDDR, PEDR.
2005-05-23 17:49:48 +00:00
kiyohara
725081c016 Support touch-panel for PERSONA SH3 machines. 2005-05-23 17:44:25 +00:00
dbj
6e4d2dfb39 reorganize MGET and MGETHDR slightly so MBUFLOCK only needs to be taken once 2005-05-23 17:34:07 +00:00
soren
5350b653c5 Sync 1284 id printing with the devinfo change, but leave it disabled for now. 2005-05-23 16:35:26 +00:00
tsutsui
1aa100945d Make sure that microtime(9) returns time greater than the previous value
like other ports. This may close port-hp300/10571.
2005-05-23 14:54:13 +00:00
martin
b7de61b9b3 Rename REALWHITE to SNOWWHITE.
While there, add LIGHT versions of the other predefined colours as well.
2005-05-23 09:44:57 +00:00
elad
a2c658e922 Add indication for number of fingerprinted files on each device.
When a table is created for a new device, a new variable is created
under the kern.veriexec.count node named "dev_<id>". For example,
dev_0, dev_3, etc.
2005-05-22 22:34:01 +00:00
yamt
faf63ba09b uvm_kmapent_free: add missing vm_map_lock/unlock. 2005-05-22 21:37:56 +00:00
martin
55cbd28f3f Use the new WSCOL_REALWHITE as default background color. 2005-05-22 20:17:09 +00:00
martin
e5c6528779 Define a real white color - since WSCOL_WHITE is ANSI-emulation specific
defined as grey (which can't be fixed w/o breaking user config files).
Fixes PR kern/30064.
2005-05-22 20:16:08 +00:00
fvdl
57409f3466 sigreturn doesn't take arguments. Instead, find out where the signal
frame is from the stack pointer in the frame frame.

Also, don't forget to copy %rip back in.
2005-05-22 19:31:15 +00:00
fvdl
e83accc0f6 Regen after sigreturn argument change. 2005-05-22 19:29:40 +00:00
fvdl
8251c0b501 Change sigreturn to have no arguments. 2005-05-22 19:29:15 +00:00
macallan
4fa7e1c545 uncommented the wd entry since there are a few ways to get IDE hardware into
a SPARC machine.
2005-05-22 16:31:07 +00:00
christos
7cdea212c0 No 0x in front of %p... 2005-05-22 15:54:45 +00:00
christos
44e14add76 Don't print 0x in front of %p. From FreeBSD/OpenBSD 2005-05-22 15:29:33 +00:00
fvdl
beae305307 Use a modified buildcontext function for Linux signals. It doesn't set
the unused segment registers, it just uses the already used values.
2005-05-22 14:52:12 +00:00
kleink
3a2b4d4dd7 * Factor out fd_set and related definitions from <sys/types.h> to
<sys/fd_set.h>.  Still include it from <sys/types.h> for _NETBSD_SOURCE,
  and amke <sys/select.h> use it instead of <sys/types.h>.
* Instead of including <string.h> for memset()/memcpy() (or adding their
  declarations locally), make FD_ZERO()/FD_COPY() use GCC builtins if
  available, or define them inline otherwise.
Approved by Christos.
2005-05-22 12:44:24 +00:00
hannken
10e3f817a6 Welcome to 3.99.5.
struct ufsmount changed size.
2005-05-22 08:36:36 +00:00
hannken
ffa83f8f0d ffs/ffs_alloc.c:
- Add a missing ACTIVECG_CLR().

ffs/ffs_snapshot.c:
- Use async/delayed writes for snapshot creation and sync/uncache these buffers
  on end. Reduces the time the file system must be suspended.
- Remove um_snaplistsize. Was a duplicate of um_snapblklist[0].
- Byte swap the list of preallocated blocks on read/write instead of access.
- Always keep this list on ip->i_snapblklist so it may be rolled back when the
  newest snapshot gets removed. Fixes a rare snapshot corruption when using
  more than one snapshot on a file system.

ufs/ufsmount.h:
  - Make TAILQ_LAST() possible on member um_snapshots.
  - Remove um_snaplistsize. Was a duplicate of um_snapblklist[0].
2005-05-22 08:35:28 +00:00
skrll
cbf1ae8ee2 Do not make the links as part of the obj, clean and cleandir rules. 2005-05-22 08:22:28 +00:00
macallan
49deefc7bf fixed a typo in cg6_ras_do_cursor and made using the blitter to draw the
cursor optional when using RASTERCONSOLE
2005-05-22 03:45:08 +00:00
chs
92a6915f63 switch to counting interrupts via evcnts. 2005-05-21 23:21:15 +00:00
chs
7c4e58b538 in softintr_init(), malloc the struct device instead of using the stack
since the evcnt stuff will use the dv_xname field later,
2005-05-21 23:20:33 +00:00
rearnsha
c28a42708d Add a couple of sanity checks in case someone tries to boot the kernel
on a CM board that we can't support.  In essence that means any board
without an MMU.  For now also fault v6 based CPUs since the kernel
doesn't know how to handle these yet.
2005-05-21 11:46:56 +00:00
chs
ae0752d6b0 add md_root.c for the installation ramdisk. 2005-05-21 08:59:18 +00:00
elad
cd0c4134f1 Remove common code for returning supported fingerprints. This is done now
via sysctl(8) using kern.veriexec.algorithms.

Also add an entry for the 'algorithms' variable in sysctl.8 forgotten in
the last commit.
2005-05-20 19:52:52 +00:00
perseant
2ecd1730c0 Keep track of the number of segments reclaimed, since the cleaner doesn't
do this anymore (it hasn't for quite some time).  Add a couple of conditional
debugging messages to indicate why segments are not cleaned, in the event
that lfs_segclean is used.

Make the LFCNSEGWAITALL fcntl work again.
2005-05-20 19:48:25 +00:00
perseant
f8677583c3 VOP_LOCK drops the interlock; pick it up again to avoid an "already unlocked"
panic in lfs_putpages.
2005-05-20 19:09:25 +00:00
perseant
5760c21b8b Fill in the lfs_fsmnt field in the superblock when we mount the filesystem,
so fsck(8) can tell where it was last mounted.
2005-05-20 19:03:11 +00:00
christos
48aa099255 PR/30285: Mile Nordin: incorrect permission check joining/leaving multicast
groups.
2005-05-20 16:23:05 +00:00
wrstuden
6336cd3696 The file being closed is (fdp->fd_lastfile - i), not i. So compare
(fdp->fd_lastfile - i) against fd_knlistsize. Otherwise we can
call knote_fdclose() on a file descriptor that doesn't have a knote.

This issue explains random panics I have had on process exit over the
past few years.
2005-05-20 16:13:00 +00:00
chs
b25ecfbe53 only lvalues can be incremented. found by gcc4. 2005-05-20 15:09:45 +00:00
bouyer
633e533c5c Close a window where (disks) interrupts could be enabled while the
ATACH_TH_RUN flag is still set. Should fix panic reported by Jukka Salmi
on netbsd-users@.
2005-05-20 14:39:04 +00:00
chs
448875a34c kernfs does not support mmap(), remove code that pretends that it does. 2005-05-20 13:16:54 +00:00
fvdl
a893ac9f67 If p->emul->e_usertrap is set, call it for T_USER|T_PAGEFAULT traps to
do possible work.
2005-05-20 12:49:14 +00:00
fvdl
33e2d79f47 Define linux_usertrap function, and set it in struct emul. For all
but amd64, it just returns 0, doing nothing.

For amd64, it implements vsyscalls through cheating: if the faulting
address is in the vsyscall area (which is statically known on Linux/amd64),
and the intruction pointer is too, it must have been a vsyscall. In that
case, retrieve the return address from the user stack, fix up %rip and
%rsp, and just execute the normal system call. It will return as if
the vsyscall has been executed.
2005-05-20 12:48:26 +00:00