thorpej
65776a5a0c
Make dupfdopen() take a proc * instead of a filedesc *.
1999-05-05 19:52:20 +00:00
is
6d08ee5e26
Add VMC
1999-05-05 19:12:45 +00:00
thorpej
4913e22a19
Fix alignment problem in the garbage-collection code path.
1999-05-05 19:05:43 +00:00
is
19277ae203
We support ATAPI CD-ROMs, nowadays
1999-05-05 18:47:40 +00:00
ross
c332714c9d
In COMPAT_OSF1, s/, and may not even work//
1999-05-05 18:20:34 +00:00
sommerfe
3a1d0ae5c7
Avoid byte overflow in block estimate for large files
1999-05-05 16:53:46 +00:00
lukem
eef2152360
* fix ftp_login() so that -a always logs in anonymously, even if a
...
.netrc entry exists for the host with a valid user. noted by
Frederick Bruckman <fb@enteract.com> in [bin/7477]
* fix a minor memory leak associated with calling ruserpass() with
an empty user, password, or account.
1999-05-05 16:04:58 +00:00
pk
4cb2198a44
Declare `bootinfo' also if !DDB.
1999-05-05 15:32:33 +00:00
bouyer
9893727873
Fix the way we compute the mode to use: for multiword DMA, the used mode was
...
2 less than the one we could really use, so for multiword DMA mode 0 or 1,
the driver tried to use DMA mode 255 or 254 (0 - 2 with a u_int8_t).
1999-05-05 15:24:59 +00:00
minoura
db3bdbe86c
Shut up gcc -Wall.
1999-05-05 14:31:16 +00:00
minoura
ad762a0b97
Use mvme68k-derived delay routine.
...
Now that we support various models, the old constant-loop delay routine
may cause problems.
1999-05-05 13:46:20 +00:00
minoura
3fe3e5261b
Add missing ia_size argument.
1999-05-05 13:41:44 +00:00
minoura
7cebd447fb
Move config_console to ensure that it is always called.
1999-05-05 13:41:19 +00:00
minoura
63a9944d93
mem_exists was called with wrong 2nd argument.
...
Because of this, >12MB high memory was not detected.
1999-05-05 13:38:51 +00:00
tsubai
a5bf1bf4a2
Copy from libc.
1999-05-05 12:36:40 +00:00
tsubai
cb9a32fdf9
* Add getcachelinesize() prototype.
...
* Make this compile with -D_STANDALONE.
1999-05-05 12:35:54 +00:00
tsubai
0e57d44e45
Add missing CPU_MAXID definition.
1999-05-05 11:20:54 +00:00
christos
22de25977b
Argh, removed last ELF induced problem. We used to have syscall: in locore.s
...
and _C_LABEL(syscall) in trap.c. In ELF they are the same. Change the label
in locore.s to be _C_LABEL(_syscall).
While I am there, move the register save and restoral code used in the
*sigcode trampolines into two macros and use them instead of copying 100
lines of assembly each time.
Now everything ELF works.
1999-05-05 10:53:00 +00:00
christos
952f511570
Use -n for ELF. Using -N might work, but produces only one section.
...
No flags will not work, because it will produce a kernel loaded at 0xf0000000.
This is because the bfd ELF pagesize (in elf32-sparc.c) is 0x10000. Since
we need to load at 0xf0004000, we use -n.
1999-05-05 10:50:02 +00:00
tsubai
6168467392
Add cpu.h.
1999-05-05 10:15:53 +00:00
tsubai
9042054e51
Fix a small bug to make both IO and MEM enable bits in csr are set.
1999-05-05 08:43:53 +00:00
tsubai
dc8d07a096
Fix OFW_PCI_PHYS_HI_DEVICEMASK value.
1999-05-05 08:09:34 +00:00
chs
9528f61050
in vmapbuf(), use pmap_enter() instead of poking PTEs directly.
1999-05-05 05:25:32 +00:00
chs
39a7993efb
update resident_count and wired_count properly in pmap_kenter_*()
...
and pmap_kremove().
1999-05-05 05:21:13 +00:00
thorpej
fc645b996a
- Always config_found() PCI busses, so we know if present PCI busses
...
aren't configured.
- Grab the bus's memory space tag from the pci_bridge structure for
the bus.
1999-05-05 04:40:00 +00:00
thorpej
654b0fff46
- Completely rewrite how bus space tags for PCI space are set up. Instead
...
of hard-coding them, decode the "ranges" property of the PCI bus node in
OpenFirmware.
- Do a little cleanup, and share some more code between the Bandit/Chaos
and MPC106.
XXX The bus_space(9) implementation for macppc really needs to be
rewritten.
1999-05-05 04:37:19 +00:00
thorpej
c448c97f2b
- Add come comments.
...
- Do a little cleanup.
- Protect the entirety of pci_conf_{read,write}() with splhigh()/splx().
1999-05-05 04:32:28 +00:00
thorpej
341f87673b
Add a bus space tag for PCI memory space to the pci_bridge structure.
1999-05-05 04:26:48 +00:00
cgd
3b5a8a7db7
shuffle (sort)
1999-05-05 01:51:31 +00:00
simonb
a94b4b4c49
Add setting RTC offset for pc's.
1999-05-05 01:21:37 +00:00
cgd
5e1a5ebf21
clean up sigset_t manipulation macros
1999-05-05 00:57:43 +00:00
cgd
ceff265279
shuffle (alphabetize)
1999-05-05 00:48:30 +00:00
thorpej
742e477ae0
Fix msgbuf handling.
1999-05-05 00:03:10 +00:00
thorpej
dbe4c0c061
Make this compile again.
1999-05-04 23:55:27 +00:00
thorpej
c2c47b0da9
Toss contents, and just pull in <powerpc/pmap.h>.
1999-05-04 23:49:18 +00:00
thorpej
da4b05fa8e
Pull in <powerpc/reg.h>.
1999-05-04 23:46:32 +00:00
thorpej
69e521f4be
Fix void * arithmetic.
1999-05-04 23:30:21 +00:00
is
7807c9a493
Fixes PR 7489 by Olaf Seibert. Fix by Zdenek Salvet (PR 7497).
1999-05-04 20:50:35 +00:00
fvdl
5d8dd1750f
Sync with reality.
1999-05-04 20:20:35 +00:00
hwr
d313e75afe
It does not make much sense to increase a "output" counter on input.
1999-05-04 20:13:09 +00:00
thorpej
9382ef37c1
Define some things related to the PCI Bus binding to OpenFirmware.
1999-05-04 20:08:04 +00:00
fvdl
f1b4e99d77
Update to match reality.
1999-05-04 20:07:02 +00:00
hwr
3fa094f8b5
Don't let packets with a Class-D source address escape the host.
...
Fixes second half of kern/7003 by Jonathan Stone <jonathan@DSG.Stanford.EDU>.
1999-05-04 19:50:23 +00:00
christos
caa41a7d21
Fix panic and panicstr to use _C_LABEL.
...
Statuc: ELF kernel loads symbols properly, hangs in syscall while running init.
1999-05-04 17:29:22 +00:00
christos
d2c07ddc88
- widen prototypes
...
- fix portability with signed >>
- remove unreachable code
- add const castaways where appropriate
1999-05-04 17:15:51 +00:00
fvdl
4fbaa0b272
Restrict "out of CHS range" check to harddisks.
1999-05-04 17:14:55 +00:00
christos
1c494e5421
add /*ARGSUSED*/
1999-05-04 17:14:54 +00:00
christos
3ecd1f9ce3
- KNF
...
- add NetBSD comment
- use warn instead of perror
- protect overflowing the stack on bad DNS records
- delint
1999-05-04 17:13:57 +00:00
christos
da0e4c24dc
- add a comparison to NULL in a conditional.
...
- cast third argument of strn*() to size_t
- s/FALL THROUGH/FALLTHROUGH/
1999-05-04 17:12:21 +00:00
christos
3a4f700dae
In lint redefine __compat_regerror to __compat43_regerror, to avoid clash
...
with the other __compat_regerror...
1999-05-04 17:11:01 +00:00