overloading "usec". The counter isn't counting micro-seconds, and using
the same variable to mean two different things is false economy: with
this change, the compiled object is 72 bytes smaller on i386, and the
code is easier to understand, to boot.
gaps in the sequence of minor numbers as we allocate ptys. Having gaps
has 2 bad side effects:
- ptm does not like it
- we allocate a lot of storage that we'll never use in the pty array
(the current scheme allocated 62 ptys 0-15,256-301, so we needed
302 entries to get 64).
Now we allocate ptys in groups of 16 or 14 instead of 64, and we follow
the minor number order.
We default to 64 pty's by building pty0-3, which is all using the old
traditional pty names. Of course to do this, the shell code is a bit
convoluted.
disk, allow commands like "boot disk:d disk:d/netbsd" to work.
Use the real RF_PROTECTED_SECTORS define instead of a local magic number.
While there, minor cosmetics in diagnostics/output format.
including the host's <pwd.h> to avoid renaming the host's versions of
these functions (which causes a prototype conflict). After <pwd.h> has
been included, then re-apply the renaming.
fhstatvfs1 and getvfsstat)
o Move the statfs family out of netbsd32_fs.c and netbsd32_netbsd.c to
netbsd_compat_20.c, compiled with COMPAT_20
Reviewed by christos@.
----------------------------
revision 1.25
date: 2003/07/15 17:15:32; author: mickey; state: Exp; lines: +2 -2
model and revision were swappedplaces in the struct
----------------------------
revision 1.23
date: 2003/03/29 01:00:49; author: mickey; state: Exp; lines: +2 -1
add some author refs from the older versions of these from much older projects
----------------------------
revision 1.22
date: 2002/12/15 21:07:26; author: mickey; state: Exp; lines: +22 -4
max size for the iodc entry point is 64k, by the iodc spec;
add sysmap defs, used on newer machines.
----------------------------
revision 1.21
date: 2002/12/15 17:52:02; author: mickey; state: Exp; lines: +2 -1
pdc device class for fibrechannel; from the iodc spec
----------------------------
the 1.22 change fixes the bootloader on my B180L.
ops, not the nolock variants. Should have no real impact as according
to mkid, we only use fifo_vnodeop_entries, via fifo_vnodeop_p,
for selective operations on fifos. All the fifo users use the native
file system's locking routines.
Removes one use of genfs_nolock and friends.
PDIRUNLOCK. The whole reason we have the flag is to note (rare)
cases where we are supposed to have the parent directory locked
but don't. Permits error handling code to know what to do with
the parrent vnode (vrele() vs vput()).
amd64 port, I converted MINGDTSIZ wrongly; it was not page aligned, causing
gdt_grow to corrupt the GDT. Fix this, and remove the extraneous definitions
of the sizes from gdt.c.
From OpenBSD.