scw
a7be636d26
Rename the SH5 PCI attachment to "sh5pci" instead of abusing the "pcibus"
...
config definition. The new config world order is more picky about such things.
2002-09-28 13:08:22 +00:00
scw
3e955d2331
PCI is pretty much done.
2002-09-28 13:06:49 +00:00
scw
94b4198ec9
Bump the scif console priority to CN_REMOTE for now.
2002-09-28 13:03:22 +00:00
wiz
826d3a8737
Clean up after recent changes.
...
Some notes:
\- is for minus signs only.
Closing braces and punctuation after a macro should definitly not be
on the next line, but at the end of the macro line, separated with spaces
from the macro argument and each other. Otherwise, unwanted whitespace
appears.
2002-09-28 12:59:49 +00:00
scw
f5138efc2e
Fix things so the com(4) probe in consinit() works.
2002-09-28 12:50:27 +00:00
scw
5868dbcbf6
Make this work following the gehenna_devsw merge.
2002-09-28 12:49:17 +00:00
wiz
17cf386a88
Bump date for .Op Ar file addition.
2002-09-28 12:40:41 +00:00
grant
714cd00ddf
bump date for latest changes.
2002-09-28 12:34:53 +00:00
scw
1c9cfe70b6
Const'ify the cfattach structure.
2002-09-28 11:18:01 +00:00
scw
251ba05b3f
Support for the SH5 on-chip PCI bridge, and support for its deployment
...
in the Cayman board.
2002-09-28 11:16:36 +00:00
scw
171b08b4b9
Set the new process' FPSCR.DN bit so that denormalised FP numbers are
...
quietly flushed to zero before they're used.
While this isn't perfect, it seems to mimic the behaviour on i386 at least.
2002-09-28 11:11:01 +00:00
scw
3d776f64cf
These hackish changes have been sitting around for a while. Commit
...
them so they don't get lost. This driver will be overhauled later
on anyway to make it shareable between sh[3-5].
2002-09-28 11:08:13 +00:00
scw
02787a17bc
Wrap some expensive sanity checks in "ifdef PORTMASTER".
2002-09-28 11:04:26 +00:00
scw
4d809d551d
The FP status register is 32-bits wide, so don't use register_t in
...
the various state frames.
2002-09-28 11:03:08 +00:00
scw
58931592a1
Honour BUS_DMA_COHERENT flag in bus_dmamem_map(), and g/c some dead code.
...
XXX: Still need to flesh out bus_dmamap_sync().
2002-09-28 10:57:44 +00:00
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