christos
42d3980338
Fix PR/2779: statvfs returns incorrect sizes. From Aaron Brown
1996-09-25 04:37:13 +00:00
mycroft
605403ce1e
portal_fsync -> genfs_nullop
1996-09-25 03:01:41 +00:00
christos
f44e9d22db
Avoid problems with ptrdiff_t and size_t being different on different
...
architectures, by adding explicit casts to printf arguments. Is there
a better way to do this?
1996-09-25 02:22:10 +00:00
christos
6dde563e8f
Fix the entries for the cyclades multiport serial cards, but leave commented
...
out, like the other multiport cards
1996-09-24 19:10:41 +00:00
christos
ded50ae798
New Cyclades driver from Timo Rossi
1996-09-24 18:02:33 +00:00
christos
e76a4ef86b
New cyclades driver from Timo Rossi.
1996-09-24 17:59:33 +00:00
christos
7c744984f3
New cyclades driver from Timo Rossi.
1996-09-24 17:47:14 +00:00
christos
5d34f1a62b
New cyclades driver from Timo Rossi
1996-09-24 17:45:14 +00:00
christos
3f0fed8ce8
Add stub for cyclades multi-port serial cards
1996-09-24 17:43:35 +00:00
is
e6edfde31b
Rename the watchdog enable bit to reflect its polarity.
1996-09-24 17:11:53 +00:00
is
2b84ad395b
Don't forget to shut up Fido.
1996-09-24 16:08:36 +00:00
jtc
d137b0e8ba
Added new macro _PROF_PROLOG which contains the code sequence needed
...
to call mcount(). This is needed because the ``link a6,#0'' insn used
trips up gcc's ANSI preprocessor (A # in a function-type macro must be
followed by a macro argument). _PROF_PROLOG is also used in the i386
asm.h.
Solaris' asm_linkage.h has a MCOUNT macro similar to _PROF_PROLOG
except it expands to different code sequences based on whether a
function is being compiled with "prof" or "gprof" instrumentation.
I also discovered that the m68k ALTENTRY is very different than the
implementation used by other NetBSD ports. Usually ALTENTRY simply
provides an alternate function entry point. The m68k version takes a
second argument and jumps inside the second function when profiling is
enabled. The m68k behavior is similar to the ENTRY2 macro found in
solaris.
Providing ENTRY2 and changing all the code that uses ALTENTRY to use
it would be a desirable change.
1996-09-24 00:05:55 +00:00
ghudson
ed1f3fd647
Handle relative paths to the source tree if they begin with '.'.
1996-09-23 05:01:52 +00:00
ghudson
a08c3a1feb
Handle relative paths to the source directory if they begin with a '.'.
1996-09-23 05:00:45 +00:00
cgd
c54f6f32d9
update for ELF toolchain support
1996-09-23 04:32:59 +00:00
cgd
a47aa08a3e
define ELFSIZE to 64, for exec_elf.h
1996-09-23 04:32:44 +00:00
cgd
3bd3e6250d
checkpoint current development, add ELF toolchain build support
1996-09-23 04:30:56 +00:00
cgd
6048292ba8
add -DECOFF_COMPAT to CPPFLAGS if ELF_TOOLCHAIN not defined.
1996-09-23 04:28:46 +00:00
cgd
c225908c90
add netboot
1996-09-23 04:28:23 +00:00
cgd
788923c1ab
add a missing #else, pointed out by Wolfgang Solfrank
1996-09-22 16:23:31 +00:00
scottr
21761e4ec0
Update for recent config(8) changes.
1996-09-22 06:49:09 +00:00
cgd
a5aa202ea9
kill unused options. no point in wading through lots of lines of commented
...
out garbage that will never be useful on this machine.
1996-09-22 03:00:32 +00:00
perry
17fcad6b2c
commit fix in pr 2772 -- the IP input code was assuming that the
...
reserved (must be zero) flag must necessarily be zero. We now define
an IP_RF (by analogy to IP_DF and IP_MF) and mask it out when necessary.
1996-09-21 19:44:32 +00:00
jonathan
3fd5d3ba03
Add prototype for function-pointer argument "strat" in definition of
...
readdisklabel(), writedisklabel(), and compatdisklabel().
1996-09-21 11:25:51 +00:00
jonathan
3a51c3ecb0
Move old 4.4bsd/pmax driver declaration below prototypes of driver
...
entry points, for -Wall -Wstrict-prototypes.
1996-09-21 08:47:17 +00:00
jonathan
073248247b
Add prototype for 4.4bsd/pmax scsi-driver d_done() entry point.
1996-09-21 08:45:41 +00:00
jonathan
cb5732503f
Add fake, bogus prototype for gettcinfo(), with "void" arglist.
...
(Not having a prototype breaks -Wstrict-prototypes, this callback
isn't used, and we don't know what the prototype should be.)
1996-09-21 03:33:18 +00:00
jonathan
456e858536
Update pmax framebuffer drivers for -Wall -Wstrict-prototypes:
...
* include <fb>var.h in <fb>.c
* remove delete declarations for 4.4BSD-Lite console/kbd/mouse redirection
* Add prototypes where not already present.
1996-09-21 03:25:15 +00:00
jonathan
f78ff890d7
Change bt478.c to include bt478var.h from bt478.c.
...
Remove redundant declarations.
1996-09-21 03:22:24 +00:00
jonathan
2e4e1695fe
Exported declararation of console-attach function for glass-tty consoles
...
on Decstation TURBOchannel fb drivers.
1996-09-21 03:06:36 +00:00
jonathan
5c2d5169b2
Exported declarations from brooktree bt478 chipset-level driver,
...
used in DEC pm framebuffers.
1996-09-21 03:02:10 +00:00
jonathan
be78089fff
* Add missing `UADDR' argument to RESTORE_USER_REGS() macro calls.
...
* Add back copyright notice and rcs ID from parent of previous
revision (pre-merge).
1996-09-20 23:44:10 +00:00
cgd
4463616051
put set of 'channel' field of scsi_link in the right #ifdef
1996-09-20 22:38:37 +00:00
cgd
80c82b8766
rename exec_elf.c to exec_elf32.c, since it execs 32-bit ELF. exec_elf32.c
...
was copied from exec_elf.c on the CVS server to keep the logs intact.
1996-09-20 22:33:23 +00:00
christos
9cdf304505
Make this compile cleanly from userland (fsck_ffs).
1996-09-20 22:14:59 +00:00
christos
eeeb3e0738
Add fwd struct declarations and protect include of libkern.h
1996-09-20 22:11:38 +00:00
thorpej
ab49e34013
Don't attach an rcons to a cgfour/cgeight overlay plane; it doesn't work
...
properly. Problem reported by Charles Hannum.
XXX This is temporary until someone with the hardware has time to fix it!
1996-09-20 17:35:49 +00:00
ws
14993c9720
"'" and "^" are allowed in short fat filenames,
...
"," and ";" are not.
1996-09-20 16:45:45 +00:00
christos
6e5a87c781
regen
1996-09-20 16:43:55 +00:00
christos
a9028f3d76
getlogin -> __getlogin
1996-09-20 16:19:27 +00:00
thorpej
c996066313
Correct two prototypes so that this compiles without DDB defined.
1996-09-19 23:02:18 +00:00
jtc
16fe807b60
renamed sys_getlogin to sys___getlogin. required by libc namespace conventions
1996-09-19 04:52:12 +00:00
jtc
7c8f14e947
don't declare sys_errlist or sys_nerr if _XOPEN_SOURCE is defined
1996-09-19 04:51:03 +00:00
cgd
8644dce05c
start on some network boot blocks. they work, but:
...
(1) the if_prom code needs to be cleaned up quite a bit
(right now it hard-codes client's ethernet address), and
(2) much of this code (esp: getsecs.c, netboot.c, newvers.sh,
rpcc.S) should be shared with other Alpha boot blocks,
and dev_net.[ch] should maybe go in libsa proper.
1996-09-18 20:03:04 +00:00
cgd
675e59d762
fix for elf loading, from Matt Thomas
1996-09-18 19:34:33 +00:00
jonathan
4a465f05ff
Decstation kernel config file for diskless installation:
...
root and swap on NFS, but includes disk and tape drivers.
Prune out most `optional' options to stay small in the hope of avoiding
PROM tftp bugs.
1996-09-18 14:10:24 +00:00
jonathan
420c045b41
Create broken-out config files for decstation baseboard devices.
...
Add sample config files that use them.
1996-09-18 13:43:37 +00:00
jonathan
de735d506d
Fix for problem report port-pmax/2173: the local variable "inst"
...
in the branch-emulation code was uninitialized, due to a misplaced #endif.
Remove the relevant #ifdef (macro version of GetBranchDest), and move the
XXX note about r4000 branch targets to the function definition.
1996-09-18 11:16:20 +00:00
briggs
197a86e724
Don't allow get_physical to attempt get_pte if mmutype is 68040.
...
(At least until get_pte works on the 040).
1996-09-18 03:33:23 +00:00
scottr
ae0d4c11cb
Use sys/types.h and sys/systm.h to bring in prototypes for bzero() and
...
bcopy(), instead of string.h
1996-09-18 03:11:03 +00:00