scw
05e55efada
- Add pmap_page_is_cacheable() to allow the bus_dma code to query the
...
cacheable attribute of a mapping.
- Honour PMAP_NC in pmap_enter() using NOCACHE, instead of DEVICE.
- No longer need to re-fetch the ptel in pmap_pa_unmap_kva() as
syncing the cache no longer risks causing a TLB miss.
2002-09-28 10:53:57 +00:00
wiz
11255a6d43
regen (+pci)
2002-09-28 10:52:11 +00:00
scw
902d684338
- Add BUS_SPACE_MAP_PREFETCHABLE
...
- Re-define bus_size_t and bus_addr_t to be u_int32_t.
While this may well lose for future silicon with NEFFBITS > 32, the
original u_long was a waste on current designs (especially for _LP64).
2002-09-28 10:49:10 +00:00
scw
e168d3e25c
SH5's on-chip PCI bridge is attached as "pcibus", not "pchb".
2002-09-28 10:44:40 +00:00
scw
9c10dff0fb
Print the intevt code in hex.
2002-09-28 10:43:36 +00:00
scw
e578ac6fc3
Slight tweak to the linker emulation name now that I'm using ld(1)
...
from binutils-current.
Bump compiler optimisation to -O1.
2002-09-28 10:42:54 +00:00
scw
d832585f39
Always save/restore the FP status register.
2002-09-28 10:38:55 +00:00
chris
c3354b9779
Interrupt 19 does actually do something:
...
19 PMCSR written by host
(all to do with power management)
2002-09-28 10:34:02 +00:00
scw
42ca361622
Preserve and restore the caller's FP status register, and ensure
...
it contains a sane value while we're doing FP ops.
2002-09-28 10:33:59 +00:00
wiz
204f44c565
Xref bmtphy, proposed by aymeric.
2002-09-28 10:33:30 +00:00
scw
b9ca9c375c
Before declaring pci_conf_interrupt(), check to see if it's
...
already defined as a CPP macro, which is the case for SH5 at least.
2002-09-28 10:31:02 +00:00
scw
cbc5db835b
Try a little harder to work around the "Isolated After Reset" lossage.
2002-09-28 10:27:21 +00:00
scw
ee37eef012
Add smc91cxx_copy_tx_frame(), based on the version in cs89x0.c, to deal
...
with misaligned mbufs.
2002-09-28 10:24:46 +00:00
chris
85fe6200b5
We have 9 IPL levels, not 8.
2002-09-28 10:23:26 +00:00
scw
b34d6729f8
Add !defined(_LP64) in the appropriate places to correspond with
...
sys/syscallargs.h.
2002-09-28 10:20:01 +00:00
ragge
780401f935
Add common routines to talk with the CPMBX, from Hugh Graham (hugh@openbsd.org)
...
This makes halt/reboot work correctly on a bunch of machines.
2002-09-28 09:53:07 +00:00
kano
f33e9b1e1a
add myself
2002-09-28 09:45:04 +00:00
martti
a645b3b843
Don't execute /etc/postinstall if -b was used.
2002-09-28 06:17:16 +00:00
junyoung
b615e15549
Call NEW() rather than CNEW().
2002-09-28 05:00:27 +00:00
mycroft
6092f7d52b
Revert the previous for now. This is truly gross.
2002-09-28 03:15:43 +00:00
mycroft
7973b7a0ac
Remove the duplicate setpgid() in forkparent(). The real bug was freeing the
...
job structure in the child and referencing freed memory.
2002-09-28 03:08:00 +00:00
thorpej
543bc9a286
The native compiler defines __NO_LEADING_UNDERSCORES__, so key off
...
that to determine if __LEADING_UNDERSCORE is necessary.
2002-09-28 02:27:03 +00:00
christos
fb0b215b6c
fix typo
2002-09-28 01:43:24 +00:00
christos
c73d854002
check for write and close errors, from wiz
2002-09-28 01:34:36 +00:00
christos
4783843fdc
Revert previous change. No need to save rootshell. It is only affecting
...
the non-vfork case. Having said that, it would be nice if pipelines of
simple commands were vforked too. Right now they are not.
Explain that setpgid() might fail because we are doing it both in the
parent and the child case, because we don't know which one will come
first.
Suspending a pipeline prints %1 Suspended n times where n is the number
of processes, but that was there before. It is easy to fix, but I'll
leave the code alone for now.
2002-09-28 01:25:01 +00:00
dbj
dcb93e552f
recognize Apple UFS Volume labels
2002-09-28 01:22:25 +00:00
dbj
818445e944
recognize FS_APPLEUFS partitions
...
part of PR #17345
2002-09-28 01:17:09 +00:00
dbj
8ccb247d47
add MBR_PTYPE_APPLEUFS of 0xa8
...
part of PR #17345
2002-09-28 00:56:25 +00:00
dbj
a323eac318
add FS_APPLEUFS
...
part of PR #17345
2002-09-28 00:47:24 +00:00
dbj
209f5f57af
tweak indentation on FS_JFS2 comment
2002-09-28 00:40:08 +00:00
dbj
7d4caebaf6
add DTYPE_JFS2 and FS_JFS2 for IBM Journaled File System
...
this is to match FreeBSD's disklabel.h revision 1.73
FreeBSD change was requested by Hiten Pandya <hiten@uk.FreeBSD.org>
2002-09-28 00:30:24 +00:00
wiz
bd9e498edd
mdoc nits. New sentence, new line. Remove a comment about tahoe.
2002-09-28 00:24:13 +00:00
dbj
b64db12921
fix DTYPE_LD comment
2002-09-28 00:10:56 +00:00
dbj
ba3c70eb8b
add DTYPE_LD to match disklabel.h
2002-09-28 00:09:58 +00:00
thorpej
386e1779c2
Need <string.h>.
2002-09-27 23:29:12 +00:00
dbj
bfd495ea39
add partition type 0xaf for Apple HFS.
2002-09-27 23:19:56 +00:00
christos
6f48233483
Deal with rootshell not being maintained correctly in the vfork() case.
...
Propagate isroot, throughout the eval process and maintain it properly.
Fixes sleep 10 | cat^C not exiting because sleep and cat ended up in
their own process groups, because wasroot was always true in the children.
2002-09-27 22:56:24 +00:00
wiz
5b42f9022e
Mention supported kernel config options. Based on PR 17633 by Julio
...
Merino and options(4). Bump date.
2002-09-27 22:40:58 +00:00
wiz
668c7500e7
Mention various *VERBOSE kernel options in the corresponding man pages.
...
From Julio Merino in misc/17637.
Bump dates.
2002-09-27 22:31:41 +00:00
thorpej
3c31492a4f
Increase the timeout in wi_cmd(). Fixes reports of "busy didn't
...
clear". From David Young <dyoung@ojctech.com>.
2002-09-27 21:54:17 +00:00
thorpej
bc35b15d70
Add /usr/share/mk/bsd.shlib.mk
2002-09-27 21:42:15 +00:00
thorpej
09a0767aa9
Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and
...
-dynamic-linker=/libexec/ld.elf_so) if the BINDIR of the program being
built is /bin or /sbin.
The reason we do this is because now all programs *except* those in
/bin and /sbin (i.e. the "special cases") match the default the compiler
uses, which is what is used for things in e.g. xsrc, pkgsrc, and other
random 3rd party programs.
This is done by decoupling where a shlib is installed from how it
is located. Two new variables, SHLIBINSTALLDIR and SHLINKINSTALLDIR,
contain the former information, and key off MKDYNAMICROOT only. SHLIBDIR
and SHLINKDIR contain the latter, and key off MKDYNAMICROOT and BINDIR.
The SHLIBINSTALLDIR, SHLIBDIR, _LIBSODIR, SHLINKINSTALLDIR, and
SHLINKDIR parameters are moved to a new <bsd.shlib.mk>; see bsd.README
for usage details.
2002-09-27 21:37:50 +00:00
mycroft
d84d36165d
Clean up INTOFF/INTON usage a little -- none of fork{shell,parent,child}()
...
screw with them now, only their callers.
2002-09-27 21:32:24 +00:00
jdolecek
7c22835649
add stubs for bus_space_read_stream_4()/bus_space_write_stream_4(),
...
defined similarily to other bus_space_*_4() as panic()
2002-09-27 21:08:34 +00:00
thorpej
bb95e8cb62
Revert previous; the change that required it will be done differently.
2002-09-27 21:04:46 +00:00
christos
ad1e7bca30
off by one in nprocs.
2002-09-27 21:04:08 +00:00
atatat
3db0e47b56
Make the randomness a tad more random. It's still not terribly
...
random, but it's considerably less lame now.
before% echo `jot -r 5` ; echo `jot -r 5`
66 5 78 82 66
66 5 78 82 66
after% echo `jot -r 5` ; echo `jot -r 5`
15 94 47 32 25
78 52 73 52 47
2002-09-27 20:54:51 +00:00
jdolecek
961e3a840f
put utmpx/wtmpx routines to separate files, so that programs overriding the
...
utmp/wtmp routines could still be linked static
fixes e.g. static build of ftpd
2002-09-27 20:42:46 +00:00
thorpej
bf97c13c6c
Declare all cfattach structures const.
2002-09-27 20:41:46 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00