Commit Graph

23834 Commits

Author SHA1 Message Date
cgd
74187419b6 The last change fixed a last-minute goof in the __BROKEN_INDIRECT_CONFIG
case, but added a typo (extra parenthesis) in the !__BROKEN_INDIRECT_CONFIG
case.  fix it.
1996-12-08 00:14:03 +00:00
pk
a7bb9f2ea8 Set __ps_strings which is passed in register %g1. 1996-12-07 23:47:40 +00:00
mycroft
f7bc1cda35 Tiny optimization in __syscall. 1996-12-07 23:31:07 +00:00
mycroft
e8770b9c15 Oops; don't need sys/syscall.h. 1996-12-07 23:00:20 +00:00
cgd
6dbb1548bd kill __BROKEN_INDIRECT_CONFIG 1996-12-07 22:43:17 +00:00
cgd
fb18e1fda9 oops; have to cast PS_STRINGS away from pointer 1996-12-07 22:36:28 +00:00
mycroft
a54c49b343 Set __ps_strings at startup. Move the argv/envp setup into a short assembler
prologue.  General cleanup.
1996-12-07 22:34:09 +00:00
mycroft
e1af33609a Add a __ps_strings variable here, initialized to 0. 1996-12-07 22:31:25 +00:00
cgd
6da04f404e expect a 'struct ps_strings *' as the fourth argument to __start.
If it's there, i.e. doesn't have a value known to be emitted by kernels
which didn't include support for passing it (0 or 0xbabefacedeadbeef),
set __ps_strings to it.  Otherwise, use the old 'normal' PS_STRINGS value
for __ps_strings.
1996-12-07 20:04:38 +00:00
cgd
0e3d6291e3 note what each of the argument registers in setregs() will be used
for by crt0.  Actually clear a1 and a2, because unless a shared loader (i.e.
_not_ the kernel) set them when invoking crt0, they should be zero, and
the kernel DEBUG code wouldn't necessarily have them be.  Pass a pointer
to the proc's ps_strings structure in a3.
1996-12-07 19:45:14 +00:00
christos
fa1d4fc6d7 PR/3002: bug in my previous commit. 1996-12-07 19:09:11 +00:00
thorpej
b5c8aff18b In setroot(), fix mishandling of the `config netbsd root on nfs' case
that caused a NULL pointer dereference.
1996-12-07 19:00:46 +00:00
cjs
75d4fb207b Add definition for internal config register. 1996-12-07 16:23:40 +00:00
fvdl
9e2e734159 Remove _MCOUNT_DECL prototype once more. 1996-12-07 12:59:45 +00:00
fvdl
8f3917c76e Move _MCOUNT_DECL prototype back here again (grmbl). 1996-12-07 12:58:25 +00:00
pk
3127b0c5e2 Fix short malloc & memory leak in union_relookup() (per Naofumi Honda; PR#3000). 1996-12-07 11:02:47 +00:00
matthias
781cd59dd4 * Enlarge kernel virtual memory space. The pc532 kernel now runs at
0xf8000000. When the kernel was running at 0xfe000000, the INSTALL
  kernel would not run on a 32mb machine.
1996-12-07 09:24:37 +00:00
cjs
b1e0c7d657 Print the memory size on startup.
Add newline to `Interface disabled' printf and clean up formatting.
Change packet read/write code to align all reads and writes into
memory to an appropriate boundary for the I/O size. This also fixes
a bug where the trailing unaligned bytes (1-3 of them) would be
put in an additional mbuf even if there was enough space for them
in the one we were currently filling.
This has been tested on a 3c905 in an Alpha (32-bit I/O, alignment
required), a 3c905 in an i386 (32-bit I/O, alignment not required)
and a 3c509 in an i386 (16-bit I/O, alignment not required). It
should be tested on a 3c509 in an Alpha with an ISA bus, if somone
can manage to get the two items together.
There are still some bugs in the driver relating to initialisation;
on my Alpha with a 3c905 you need to do an `ifconfig ep0 down;
ifconfig ep0 up' after the initial ifconfig to make it start working.
Apparently there are also some problems with a 3c579 in an i386,
although a 3c905 in an i386 works just fine.
1996-12-07 08:33:07 +00:00
jonathan
7ae23da383 Add shared-lib files: ld.so and lib*.so.*. 1996-12-07 08:01:21 +00:00
jonathan
e92aad9d20 Add elf-to-ecoff kernel conversion tool.
Add binutils-2.6 ld.old for linking kernels (2.7 doesn't work)
1996-12-07 08:00:05 +00:00
cgd
1a8f25c523 add a "machdep.booted_kernel" sysctl, which is the name of the booted
kernel as supplied by the SRM console's BOOTED_FILE variable.
1996-12-07 01:54:49 +00:00
mrg
5b9f69465f if se_argv[0] is NULL, use se_service. 1996-12-07 00:37:00 +00:00
thorpej
8b4cab0ac8 s/EXTMEM_SIZE/BIOSEXTMEM/ 1996-12-07 00:25:58 +00:00
fvdl
3e4fb99a14 Fix missing instruction in NexGen test code; make it a 386-class CPU too.
(Valtteri Vuorikoski / Jason).
1996-12-06 22:27:37 +00:00
pk
6b31797b23 Detect `lebuffer' parents and use the provided buffer. 1996-12-06 22:07:59 +00:00
pk
d539e60bb2 Uncomment lebuffer devices 1996-12-06 22:02:32 +00:00
pk
554078cb87 Declare lebuffer 1996-12-06 21:57:57 +00:00
pk
e974072523 Deal with Lance memory size 132KB (sparc `lebuffer' devices use this size). 1996-12-06 21:54:00 +00:00
pk
31b46bcf59 Special Lance buffer glue. 1996-12-06 21:52:01 +00:00
thorpej
ff392f324b Back out this piece of revision 1.3:
>- Optional systems calls are "UNIMPL" if the support is not being
>  compiled into the kernel.

It had implications that didn't occurr to me at the time.  *sigh*
1996-12-06 20:10:51 +00:00
thorpej
5c4caca2d5 syscalls.master changed; regen. 1996-12-06 20:06:35 +00:00
thorpej
49989d779a Back out this piece of revision 1.38:
>- Optional systems calls are "UNIMPL" if the support is not being
>  compiled into the kernel.

It had implications that didn't occur to me at the time.  *sigh*
1996-12-06 20:05:31 +00:00
thorpej
5e49978c31 Back out previous change, which was:
>Only build kern/kern_ntptime.c if NTP is being compiled into the kernel.

This change had implications that didn't occur to me at the time. *sigh*
1996-12-06 20:03:24 +00:00
lukem
dd6f8f2061 'b' == bits not bytes. for all prefixes >= 'K', explicitly specify 'B'
afterwards. don't print anything for a pure byte count. rework ETA display
as well.
1996-12-06 04:33:45 +00:00
christos
4fd46ff6cb regen 1996-12-06 03:26:33 +00:00
christos
88bb1b35b5 add syscalls acl, facl, memcntl, pause 1996-12-06 03:25:07 +00:00
christos
e0c2870d89 implement I_SETSIG 1996-12-06 03:24:32 +00:00
christos
76a77f1302 header for acl, facl 1996-12-06 03:23:30 +00:00
christos
ac0cfc70ae implement acl, facl, memcntl 1996-12-06 03:22:34 +00:00
christos
e8aaebee8e implement pause 1996-12-06 03:21:53 +00:00
lukem
2bee2a678e * note that nlist and ls and equivalent
* fix up optional argument descriptions for dir, ls, nlist, and user.
1996-12-06 02:28:13 +00:00
lukem
b6df1b3d2d functionality mods:
* implement 'progress bar/meter' (inspired by ncftp). use 'progress' to
  toggle on. it will display current file size to 5 digits, automatically
  determining suffix (up to 16384 P (petabytes) == 2^64).
* 'ls' now uses NLST (unadorned listing), a la older ftp clients. 'dir'
  still does LIST (long listing). idea from John Nemeth <jnemeth@cue.bc.ca>

bug fixes:
* return first line of reply in reply_string[] from getreply(), instead
  of last line. This fixes [bin/741] (parsing of SYST), and also means
  that SIZE and MDTM messages will be parsed correctly if they're longer
  than 1 line.
* parse URL-style auto-ftps that have no filename correctly
  (e.g, ftp://host, ftp://host/, ftp://host/dir/). pointed out by
  Jaromir Dolecek <dolecek@saruman.ics.muni.cz>
* pass the correct size array in 2nd arg of utimes() when setting the
  modification time
1996-12-06 02:06:46 +00:00
mrg
3e0b84a6d5 syslog allow/deny at the right severity. 1996-12-06 00:45:48 +00:00
cgd
243ef518d2 fix a (fatal) bug in the __BROKEN_INDIRECT_CONFIG changes checked
in yesterday.  (got a little bit careless with #ifdef'd variables.)
1996-12-05 22:16:04 +00:00
is
ebe1c82eda Make the struct lfs 512 bytes long on 32bit machines whose compiler doesn't
align 32bit integers. Use explicit sized typing at some other places.

XXX This still won't fix lfs for 64bit machines, as we have some
assumptions about sizeof(pointer)=sizeof(u_int32_t) in here, and (if I
looked right) a misaligned u_int64_t. The right fix (to cite cgd) will
be to seperate on-disk-representation from in-core, but I don't have
the time (at the moment) to do this.
1996-12-05 19:01:46 +00:00
christos
468b0bc4a8 PR/2975: fsck lies to children about their program name
PR/2979: fsck is not smart enough about filesystems not in /etc/fstab
1996-12-05 18:30:23 +00:00
fvdl
671b24f374 Add _MCOUNT_DECL prototype. 1996-12-05 10:21:09 +00:00
fvdl
4827ca5603 Remove _MCOUNT_DECL prototype declaration of _mcount() again; move it
to <machine/profile.h>
1996-12-05 10:18:46 +00:00
mikel
112f25b866 this should work now. 1996-12-05 07:18:28 +00:00
mikel
179a058e17 fix AUTO_CAL_ENABLE bug, & misc. cleanup. 1996-12-05 07:01:30 +00:00