| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
that causes a no-panic instant reboot when bogus argv/envvs are fed to
execve().
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Changed u_int_inb to just inb and deleted define.
The code generated is identical to that generated with the cast so
the problem was obviously fixed at some point after gcc 1.4
Reviewed by:
Submitted by:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hosing syscons. Doesn anyone know anything about this
or can we just delete it now?
/*
* This roundabout method of returning a u_char helps stop gcc-1.40 from
* generating unnecessary movzbl's.
*/
#ifdef disable_for_gcc-2_6_0
#define inb(port) ((u_char) u_int_inb(port))
#endif
static inline u_int
u_int_inb(u_int port)
{
u_char data;
/*
* We use %%dx and not %1 here because i/o is done at %dx and
not at
* %edx, while gcc-2.2.2 generates inferior code (movw instead
of movl)
* if we tell it to load (u_short) port.
*/
__asm __volatile("inb %%dx,%0" : "=a" (data) : "d" (port));
return data;
}
Reviewed by:
Submitted by:
|
|
|
|
| |
Submitted by: jkh
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added a missing #ifdef INET wrapper in lpt.c
Main change:
Removed the timeout_func_t casts from timeout calls and
correctly defined the timeout routines to conform to
the new format.
lpt.c doesn't have this change.
Reviewed by:
Submitted by:
|
|
|
|
|
|
| |
a slight change in how profiled version is selected - may need to adjust
some .mk macros if PROF is foolishly initialized anywhere to a null value.
Submitted by: jkh
|
|
|
|
|
|
|
|
| |
#ifndef _SYS_TTYCHARS_H_
#define _SYS_TTYCHARS_H_
...
#endif
Submitted by: Geoff
|
|
|
|
|
| |
vfs_unmountall() - this is the most common case. If it was a different
error, then print the error number.
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision. They caused redundant redeclaration warnings because I
forgot to declare them as extern and gcc-2.6.0 treats "extern int x[];"
slightly different from "int x[];" (this is probably a bug). The new
versions will cause RR warnings from gcc-2.4.5 because it does not
understand that the second declaration in "extern int x[]; int x[1];"
is not redundant. The variables don't actually need to be declared
in a header file because they are used in only one C source file and
one assembler source file, but I want all public variables and
comments about them to be findable by grepping *.h.
|
|
|
|
| |
locore globals aren't misaligned.
|
| |
|
|
|
|
| |
- Fix bogus comments caused by misplaced #endif.
|
|
|
|
| |
- Update name of idempotency identifier in comment to match code.
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
| |
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
|
|
| |
bootblocks.
Reviewed by:
Submitted by:
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Fixed up some header locations
2) Replaced list of boot files with /kernel
3) Changed disklabel use in Makefile to conform to 4.4
4) Added size command in Makefile to get close estimate of bootblock
sizes. Total size of text and data must be below 64K, slightly
overestimated since a.out header subsequently gets stripped.
5) Various buffer sizes are set to 8192 bytes in sys.c. In 4.4 MAXBSIZE
is set to 64K which is too big for the bootblocks to deal with.
Submitted by: Paul Richards
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
| |
|
|
|
|
| |
Submitted by: paul
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
| |
|
|
|
|
| |
Submitted by: Paul
|
|
|
|
| |
Submitted by: Paul
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
machdep.c:
Changed printf's a little and call vfs_unmountall() if the sync was
successful.
cd9660_vfsops.c, ffs_vfsops.c, nfs_vfsops.c, lfs_vfsops.c:
Allow dismount of root FS. It is now disallowed at a higher level.
vfs_conf.c:
Removed unused rootfs global.
vfs_subr.c:
Added new routines vfs_unmountall and vfs_unmountroot. Filesystems
are now dismounted if the machine is properly rebooted.
ffs_vfsops.c:
Toggle clean bit at the appropriate places. Print warning if an
unclean FS is mounted.
ffs_vfsops.c, lfs_vfsops.c:
Fix bug in selecting proper flags for VOP_CLOSE().
vfs_syscalls.c:
Disallow dismounting root FS via umount syscall.
|
|
|
|
|
|
|
|
| |
use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers.
2) fix a bug in the portalfs that was uncovered by better prototyping -
specifically, the time must be converted from timeval to timespec
before storing in va_atime.
3) fixed/added some miscellaneous prototypes
|
|
|
|
| |
module support, with NetBSD improvements.
|
| |
|
|
|
|
|
|
| |
Corrected a little typo in a comment.
Throw out the typedef timeout_t with an ifdef __FreeBSD__, it is already
defined in sys/systm.h .
|
|
|
|
|
| |
I guess we'll have to not specify what the args to the exec functions
are.
|
|
|
|
| |
NetBSD group.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2. Hack.
Hack is to define RCSID() to null macro so that new msun stuff
will compile. This does NOT belong here, and I DON'T want it to
stay, I just need to put this here for now to enable msun and we need
to talk about what our RCSID story is supposed to be. We talked about
supporting RCSID() one day, and everyone seemed to like the idea
reasonably well of making it a macro you could just no-op this way,
but we never did anything. Now I see that JTCs code has it and I'm
loath to remove it or do anything until we've discussed it some more.
Well, so how about it? What's our story vis-a-vis RCSID() going to
be?
Submitted by: jkh
|
|
|
|
|
|
|
| |
into one, hopefully functioning, Ultrastore driver. Any Ultrastore owners
out there - please speak up! We need to test this puppy.
Reviewed by:
Submitted by:
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the slowest and most stupid of our SCSI-drivers, but it is there
and it works. It has been tested with CD-ROM and disk.
It uses no interrupts, no DMA, just polled I/0.
Transfer-rate is <= 100Kbyte/sec.
If you set the jumpers on the board, you can change the unit-number and
you will be able to have four of these co-exist in one computer, why one
would do that is somewhat unclear though.
If I ever get my hand on the docs for this, I will improve it of course,
but for now we can install and access those CD-ROMs.
|
|
|
|
| |
down -Wall a little bit.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Delete redundant declarations.
- Add -Wredundant-declarations to Makefile.i386 so they don't come back.
- Delete sloppy COMMON-style declarations of uninitialized data in
header files.
- Add a few prototypes.
- Clean up warnings resulting from the above.
NB: ioconf.c will still generate a redundant-declaration warning, which
is unavoidable unless somebody volunteers to make `config' smarter.
|