oster
1bad2e1909
Add the RAIDframe device major to the machine-dependent config files
...
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Whoops! I missed checking these in when adding the RAID_AUTOCONFIG stuff.)
2000-03-14 15:56:51 +00:00
thorpej
a183d34f04
- Implement cnbell() -- ring the console bell. The cn_bell entrypoint
...
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
simonb
4eb55e447c
Do the "<space><tab>" thing with the RAID_AUTOCONFIG option.
2000-02-29 06:32:20 +00:00
oster
d9c47013b2
Defopt 'RAID_AUTOCONFIG'. Adding 'options RAID_AUTOCONFIG' turns on
...
the component auto-detection and auto-configuration of RAID sets.
Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.
2000-02-26 17:35:33 +00:00
erh
8f03b9a04a
Define the DONETISR macro and use netisr_dispatch.h. This is to cut down on code duplication and to standardize the available NETISRs across all ports.
2000-02-21 20:38:46 +00:00
thorpej
dded044fc2
Update for the NKMEMPAGES changes.
2000-02-11 19:25:12 +00:00
thorpej
52a2804a5c
Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
...
the maximum transfer size for the specified DMA channel. Make all clients
of ISA DMA use this call to determine their maximum transfer size.
2000-02-07 22:07:27 +00:00
thorpej
fe551f0e64
Fix a bug in disksort_*() which caused non-optimal ordering when multiple
...
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
tsutsui
11c8f56d48
Revert STRIPPROG -> STRIP
2000-02-01 05:25:24 +00:00
drochner
8eb798e603
define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
...
device accesses are idempotent (but should not be cached by the CPU)
2000-01-25 22:13:17 +00:00
tron
04eb110431
Add "dependall" target for comfort.
2000-01-24 20:36:06 +00:00
hubertf
7e5ff67457
Add commented out "ident"-command
2000-01-23 23:46:04 +00:00
mycroft
7b49d242ce
Clean up the machine symlink stuff ever so slightly. Needs to be
...
standardized between files.
2000-01-23 17:04:03 +00:00
thorpej
52242fdf9f
Update for sys/buf.h/disksort_*() changes.
2000-01-21 23:28:59 +00:00
wrstuden
87e1b0f9b7
Add overlay to kernel configs.
2000-01-20 19:12:28 +00:00
thorpej
a0397a2573
Move callout initialization to a single location; no need to duplicate
...
that code all over the place.
2000-01-19 20:05:30 +00:00
tsutsui
e61f177ab1
STRIP -> STRIPPROG
2000-01-19 16:29:54 +00:00
danw
83cfcdd15a
Add a special trap handler for EXC_ALI that saves dsisr and dar
2000-01-19 03:28:21 +00:00
msaitoh
0b9af6bdce
check whether tv_usec >= 1000000
2000-01-19 02:52:16 +00:00
thorpej
ce2b722aec
No need to define MPC105 and MPC106 PCI products here.
2000-01-18 20:01:28 +00:00
thorpej
c241e27b63
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:37:58 +00:00
kleink
11e6c54cfc
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
...
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
thorpej
a7f264fd2f
Update for BATU()/BATL() changes.
1999-12-18 01:37:00 +00:00
danw
a9d982e4f4
synchronize various changes to comments between these files to make it
...
even more obvious that they're 90% identical and really ought to be
using common code in arch/powerpc for a most of this...
1999-12-07 16:11:48 +00:00
drochner
0893832078
update for changed struct wsdisplay_accessops:show_screen signature.
...
no functional changes
1999-12-06 19:25:56 +00:00
ragge
0513268399
CL* discarding.
1999-12-04 21:13:19 +00:00
thorpej
4560ac465a
Split the PC-like keyboard controller driver into chip back-end and
...
bus front-end.
1999-12-03 22:48:22 +00:00
sakamoto
816e27676c
s/ELF32_HDR_SIZE/sizeof (hdr)/
1999-12-03 15:44:41 +00:00
sakamoto
7a77d2bc71
add cast for pmap_extract().
1999-12-03 15:43:47 +00:00
itojun
e9a0023b37
bring in content of GENERIC.v6 into GENERIC.
...
remove GENERIC.v6 file (as it is part of GENERIC now).
"faith" interface is commented out by default as it is not really for
general use.
IPsec items are commented out as well, though we can enable "options IPSEC"
without export-related issue ("options IPSEC" will enable authentication
portion only). We may need to think about it again.
if you have problem compiling with INET6 on archs I do not have access to,
please contact me.
XXX what to do with arch/arm32/SHARK{,.v6}?
1999-11-21 14:00:37 +00:00
kleink
eac5784583
Move signal management code common to all PowerPC platforms (sendsig(),
...
sigreturn(), sigcode) to a single place in the shared powerpc directory.
(The struct sigcontext etc. definitions were already being shared.)
1999-11-17 14:56:10 +00:00
fvdl
8bec119fcc
Add commented out option SOFTDEP to all GENERIC kernels.
1999-11-15 19:10:44 +00:00
fvdl
d116707af0
Add
...
prefix ../gnu/sys
cinclude "conf/files.softdep"
prefix
to all std.* files, so that soft dependencies can be activated using
"options SOFTDEP".
1999-11-15 19:00:25 +00:00
thorpej
1946167939
Update for pmap_enter() API change. No functional difference.
1999-11-13 00:30:26 +00:00
kleink
522cbf0248
Update to match new SVR4-style definition names in <sys/exec_elf.h>.
1999-10-25 13:55:06 +00:00
thorpej
11cae42531
Centralize the declaration and clearing of `cold'.
1999-09-17 19:59:35 +00:00
thorpej
3b01d1b872
Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
...
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-15 18:10:33 +00:00
thorpej
2cf3330a1b
Garbage-collect reference to <sys/dmap.h>.
1999-08-23 22:29:37 +00:00
thorpej
28fb7c1eb8
Define cpu_number() as discussed on tech-smp.
1999-08-10 21:08:05 +00:00
thorpej
eb20bbc780
Change the semantics of splsoftclock() to be like other spl*() functions,
...
that is priority is rasied. Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.
This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).
XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX. This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
thorpej
a843b027bd
Sync w/ the i386 port. Fixes some bugs in the conventional interrupt
...
heirarchy. Reviewed by sakamoto@netbsd.org .
1999-08-01 07:52:22 +00:00
augustss
f641c4b3b6
Make two wsmux pseudo devices and add mux locators.
1999-07-29 19:36:58 +00:00
augustss
3652732791
Add wsmux device.
...
(Also add lots of missing chrtoblktbl[] entries.)
1999-07-29 19:14:35 +00:00
augustss
a7cd454b1d
It's time to be COMPAT_14.
1999-07-29 10:37:12 +00:00
cgd
f886376518
be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
...
copy them just to strip them, use strip -o.
1999-07-26 05:20:44 +00:00
thorpej
0945bf58b0
Add examples for including the kernel crypto bits from either crypto-us
...
or crypto-intl, commented out, with instructions to use only one, and
adjust the prefix as necessary.
1999-07-09 18:55:33 +00:00
mrg
ecdad0ec33
clean up a bit after jason :)
...
- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
$INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.
this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
1999-07-09 09:52:55 +00:00
thorpej
b2781586c4
Normalize include paths.
1999-07-09 02:32:28 +00:00
thorpej
3ebbe095e0
Change the pmap_extract() interface to:
...
boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.
1999-07-08 18:05:21 +00:00
sakamoto
0ef2d3f6e2
MD defines for the MI loadfile.
1999-07-02 15:36:51 +00:00
sakamoto
f789d4809c
Fix arg of delay. int -> unsigned int
1999-07-02 15:33:36 +00:00
itojun
5effafcaa6
kernel configuration for IPv6/IPsec. should be in GENERIC in the future.
...
(source code will be committed soon)
1999-07-01 07:00:12 +00:00
itojun
427639cdce
- Call ip6intr if INET6 is defined.
...
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
and conflicts with IPsec ESP header.
This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.
1999-06-28 08:20:40 +00:00
sakamoto
8b9b340040
remove display.h
1999-06-28 02:44:49 +00:00
sakamoto
0d8aecad83
Description of making bootable floppy disk for NetBSD/bebox.
1999-06-28 02:19:37 +00:00
sakamoto
d897c73dfc
correct tgets loop.
1999-06-28 01:35:11 +00:00
sakamoto
d32f22724c
Use loadfile.
...
KNF
b* -> mem*
1999-06-28 01:20:43 +00:00
sakamoto
a6ad37379e
Add elf2pef and mkbootimage.
1999-06-28 01:08:05 +00:00
sakamoto
70b8755876
Convert ELF image into PEF image.
...
some KNF
1999-06-28 01:03:55 +00:00
sakamoto
9b0b219ff6
Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/pef.h,v
1999-06-28 00:56:31 +00:00
sakamoto
8ab4e1005a
Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/pef.h,v
1999-06-28 00:56:30 +00:00
sakamoto
e6fae19e1f
Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/magic.h,v
1999-06-28 00:56:03 +00:00
sakamoto
52fc791782
Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/magic.h,v
1999-06-28 00:56:02 +00:00
sakamoto
f1be5c4181
Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/elf2pef.c,v
1999-06-28 00:51:11 +00:00
sakamoto
13ba815119
Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/elf2pef.c,v
1999-06-28 00:51:10 +00:00
sakamoto
5b75eca570
mkbootimage makes bootable BeOS DR8 filesystem(a.k.a. obfs) image.
1999-06-28 00:35:22 +00:00
sakamoto
b1790e3799
Sync with i386.
1999-06-25 01:54:39 +00:00
sakamoto
129b091aa8
Use powerpc's header.
1999-06-24 01:35:33 +00:00
sakamoto
cce254bef2
Add some declarations.
1999-06-24 01:33:08 +00:00
sakamoto
4364147a17
include machine/intr.h
...
CACHELINESIZE enabled with defined(_STANDALONE).
1999-06-24 01:28:02 +00:00
sakamoto
943b8c34be
Sync with i386's fd.c, fdreg.h.
1999-06-24 01:22:19 +00:00
sakamoto
fb1608de31
Comment out MKDEP SFILES. bebox dir has only locore.s.
...
include bsd.own.mk.
1999-06-24 01:19:51 +00:00
sakamoto
dfb8f015ec
display.h doubly exists in include and include/pc.
1999-06-24 01:16:52 +00:00
sakamoto
95dac23012
Some cleanup.
...
Move bootinfo related things to boot.c
and console related things to cons.c.
1999-06-24 01:10:31 +00:00
sakamoto
a9088f55c8
Add casts for -Wall.
1999-06-22 02:04:06 +00:00
sakamoto
40629ff8cc
rename pms to opms.
1999-06-22 01:48:33 +00:00
sakamoto
4763a9b0a0
Remove sc_id member from fdc_softc.
1999-06-22 01:41:48 +00:00
sakamoto
f93507970d
Use powerpc/reg.h
1999-06-22 01:39:43 +00:00
sakamoto
ade7d52fc9
Use powerpc/pmap.h.
1999-06-22 01:38:38 +00:00
cgd
7c02d93c04
nuke current definitions provided by __BUS_SPACE_COMPAT_OLDDEFS.
...
I'll do what I can to make new ones soon. 8-)
1999-06-18 04:49:24 +00:00
thorpej
0288ffb53a
pmap_change_wiring() -> pmap_unwire().
1999-06-17 19:23:20 +00:00
thorpej
2c35c7bd03
Only declare block major numbers for devices which can be the root device.
1999-06-07 20:31:27 +00:00
thorpej
d76e7b8c6d
Don't pass a nam2blk around at all; just have setroot() and friends reference
...
dev_name2blk[] directly. Addresses PR #7622 (ITOH Yasufumi), although
in a different way.
1999-06-07 20:16:08 +00:00
thorpej
2580d306ab
Change the vm_map's "entries_pageable" member to a r/o flags member, which
...
has PAGEABLE and INTRSAFE flags. PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that. INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now). This will eventually
change now these maps are locked, as well.
1999-05-26 19:16:28 +00:00
thorpej
5832084eaf
bus_dmamem_map() maps DMA safe memory, which is usually one or more
...
managed pages, into KVA space. Since the pages are managed, we should
use pmap_enter(), not pmap_kenter_pa().
Also, when entering the mappings, enter with an access_type of
VM_PROT_READ | VM_PROT_WRITE. We do this for a couple of reasons:
(1) On systems that have H/W mod/ref attributes, the hardware
may not be able to track mod/ref done by a bus master.
(2) On systems that have to do mod/ref emulation, this prevents
a mod/ref page fault from potentially happening while in an
interrupt context, which can be problematic.
This latter change is fairly important if we ever want to be able to
transfer DMA-safe memory pages to anonymous memory objects; we will need
to know that the pages are modified, or else data could be lost!
Note that while the pages are unowned (i.e. "just DMA-safe memory pages"),
they won't consume any swap resources, as the mappings are wired, and
the pages aren't on the active or inactive queues.
1999-05-25 23:14:03 +00:00
lukem
e4a87aa1a9
* convert to using MI allocsys(). most ports were using an MD allocsys(),
...
although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes
1999-05-20 08:21:42 +00:00
ws
5423093850
Modify syncicache on PowerPC from an inline to a real function.
...
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
1999-04-17 21:16:45 +00:00
thorpej
e49833cd68
Now that we have direct-mapped pool pages, we can garbage-collect VM_MBUF_SIZE
...
and don't need to allocate mb_map.
1999-04-16 21:47:11 +00:00
chs
f455dd6596
add a `flags' argument to uvm_pagealloc_strat().
...
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
1999-04-11 04:04:04 +00:00
thorpej
967b8c433c
Don't call configure() from cpu_startup().
1999-04-01 00:17:45 +00:00
mycroft
9c6b797796
Changes for modified pmap_enter() API:
...
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot. Also, DO NOT use
pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
access_type = 0. This should probably be revisited.
1999-03-26 23:41:25 +00:00
mrg
7b93dd1117
remove opt_uvm.h
1999-03-25 00:41:46 +00:00
mrg
ca5f9685bb
clean up kernel/config files files for machVM lossage.
1999-03-24 06:06:09 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
thorpej
63b6321834
VM_MBUF_SIZE is in terms of MCLBYTES, not CLBYTES.
1999-03-23 00:31:59 +00:00
cgd
f822fd675f
Moved to arch/bebox/include/isa_machdep.h,v
1999-03-19 05:02:03 +00:00
cgd
a4033465f4
Moved from arch/bebox/isa/isa_machdep.h,v
1999-03-19 05:02:02 +00:00
cgd
d00106ee06
if you pull in isavar.h, you don't need isa_machdep.h.
1999-03-19 04:58:45 +00:00
cgd
8649cea317
Moved to arch/bebox/include/pci_machdep.h,v
1999-03-19 03:36:07 +00:00
cgd
99633b3ef3
Moved from arch/bebox/pci/pci_machdep.h,v
1999-03-19 03:36:06 +00:00
cgd
190d23ee40
Moved to arch/bebox/include/isapnp_machdep.h,v
1999-03-19 03:18:34 +00:00
cgd
0af0341ff6
Moved from arch/bebox/isa/isapnp_machdep.h,v
1999-03-19 03:18:33 +00:00
sommerfe
bc533621ed
defopt MINIROOTSIZE
1999-03-17 18:59:21 +00:00
sakamoto
a6a228ce7f
RCS ID police
1999-02-15 04:38:06 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
thorpej
cb8268a3a5
Use <sys/disklabel_mbr.h>.
1999-01-27 21:00:05 +00:00
drochner
6fe2522d57
second round of mouse renaming: psm->pms
1999-01-23 16:10:47 +00:00
chuck
32244a5a1a
MNN is now the default
1999-01-16 20:13:17 +00:00
thorpej
8922647c58
Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.
1999-01-15 23:37:05 +00:00
bouyer
dc306354b0
Move the bswap functions from libutil to libc (this bups the
...
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
drochner
35eeb3f1cd
remove dummy "load_font" entries
1999-01-11 21:54:22 +00:00
thorpej
e598335d1c
Garbage-collect `mbutl'.
1999-01-09 22:10:12 +00:00
augustss
fc5f9ee81d
Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
1999-01-08 19:26:12 +00:00
thorpej
7fa243e59e
Pass the symbol table size, like a.out.
1998-12-04 20:22:36 +00:00
sakamoto
0bba7a7eca
Not used.
1998-12-04 00:17:49 +00:00
hwr
59acb69be1
Add (commented out) 'gre' pseudo device line. Feedback is welcome.
...
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
sakamoto
28c9fd0c8c
Fix no check for negative offset in mmap.
1998-11-24 06:34:10 +00:00
mrg
db3051d720
fix problems in many d_mmap routines:
...
- returned EOPNOTSUPP rather than -1.
- no check for negative offset.
many of these fix potential security problems in these drivers.
XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
by someone!
1998-11-19 15:38:20 +00:00
sakamoto
d8d1762a15
Support frame buffer console initialized by the BootRom of the BeBox.
1998-11-18 09:05:18 +00:00
oster
cf5710c839
Added a (commented out) configuration line for the RAIDframe device driver.
1998-11-16 16:44:55 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +00:00
sakamoto
7b111b4229
Support frame buffer console with Matrox Millennium(probably, and II).
...
But, NetBSD/bebox kernel doesn't support yet.
1998-10-28 02:47:35 +00:00
sakamoto
709dd80ed0
Support frame buffer console initialized by the BootRom of the BeBox.
...
But, NetBSD/bebox kernel doesn't support yet.
1998-10-26 00:45:47 +00:00
tron
b296275bb4
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:09:13 +00:00
drochner
2468738337
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
thorpej
908cdfe4e3
Add scsibus entry points to the cdevsw[].
1998-10-10 02:00:49 +00:00
sakamoto
72e565d9b1
Fix unassigned minaddr for uvm_km_suballoc.
...
Eliminate space at end of line, and so on.
1998-10-06 03:48:12 +00:00
sakamoto
c9937d0234
cleanup.
1998-10-05 02:01:57 +00:00
sakamoto
9f317a1a9d
Add syncicache after text loading.
1998-10-05 01:58:03 +00:00
thorpej
49a45fed9b
If the memory range of the machine is such that no bouncing is necessary,
...
or if the device is capable of 32-bit DMA (specified by ISABUS_DMA_32BIT),
clear the map's bounce threshold at map creation time.
1998-10-03 21:53:04 +00:00
thorpej
01a1588265
Initialize the DMA map's bounce threshold to the tag's at map creation time,
...
and use the map's threshold when loading the map.
1998-10-03 21:38:48 +00:00
thorpej
10557b15d7
Add a private bounce threshold to the DMA map, initialized in a bus-dependent
...
fashion.
1998-10-03 21:24:00 +00:00
sakamoto
fd24065cb5
pcvt is no longer used with bebox.
1998-09-28 09:49:49 +00:00
sakamoto
4a04e5038e
pcvt is no longer used with bebox.
1998-09-28 09:33:12 +00:00
thorpej
2671c2fa42
Make bus_dmamap_load_uio() work, from Kevin Lahey <kml@nas.nasa.gov>.
1998-09-21 22:51:56 +00:00
mycroft
fa31b94af9
Fix omission in previous; remember to record that we're on the signal stack.
1998-09-13 11:57:58 +00:00
thorpej
c7d391b23c
Make signal delivery work again.
1998-09-13 09:15:51 +00:00
thorpej
8abe0d6b1c
Adjust for the new "reaper" kernel thread: do not free the vmspace and
...
u-area in machine-dependent code. Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
christos
449820f2ea
Assign copyright to TNF.
1998-09-05 15:28:04 +00:00
lukem
c9db84ecc9
distclean is a synonym for cleandir
1998-09-05 15:15:14 +00:00
sakamoto
9b0803da20
Use UVM by default.
1998-09-03 01:43:34 +00:00
sakamoto
64b0761e4d
Include bsd.subdir.mk instead of bsd.prog.mk.
1998-09-01 08:43:48 +00:00
sakamoto
67d65cd631
Sync with i386/include/bus.h.
1998-09-01 05:57:23 +00:00
sakamoto
0bbf57d7ec
Eliminate ovbcopy define.
1998-09-01 05:55:14 +00:00
sakamoto
62ed825858
vm_offset_t --> [pv]addr_t.
1998-08-24 01:40:26 +00:00
thorpej
fb0cc46daf
Internal cleanup.
1998-08-17 22:30:08 +00:00
mycroft
d07b3639a4
Assign my copyrights to TNF.
1998-08-15 17:47:15 +00:00
mycroft
228f894ea2
This code was written by Jason.
1998-08-15 10:38:03 +00:00
mycroft
6dc903202f
Assign my copyrights to TNF.
1998-08-15 10:10:47 +00:00
mycroft
cc8a78e783
Assign my copyrights to TNF.
1998-08-15 04:42:42 +00:00
mycroft
df9baf2311
Assign copyrights to TNF.
1998-08-15 03:51:30 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
eeh
a2dd74ed79
Merge paddr_t changes into the main branch.
1998-08-13 02:10:37 +00:00
thorpej
46c7e2fa53
ISA PnP goo.
1998-07-31 04:55:30 +00:00
thorpej
2e33e4c2fa
First-cut support for ISA PnP for NetBSD/bebox.
1998-07-31 04:54:38 +00:00
perry
c4fae2a286
NORVEGIAN -> NORWEGIAN
1998-07-27 23:52:49 +00:00
is
6054d626f9
Switching dev/ic/lpt.c to use spllpt() instead of spltty(). It doesn't use
...
tty structures, and on some machines (namely the DraCo internal lpt, and some
multi-i/o boards for Amigas and DraCos), tying spltty to the pretty high printer
interupt level would hurt serial performance.
On all affected ports but Amiga, spllpt() has been defined in machine/intr.h
to be spltty(), thus preserving old behaviour. Portmasters are encouraged to
change is, if they feel something else is better (e.g., one of its own were
possible).
1998-07-18 21:27:25 +00:00
thorpej
2fc1260cc0
Implement bus_dmamap_load_uio().
1998-07-17 21:09:59 +00:00
thorpej
8f2575ec87
Use fixed-size types.
1998-07-07 04:29:42 +00:00
jonathan
d275e56dee
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
...
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
jonathan
011f2bda08
defopt NS, NSIP.
1998-07-05 06:49:00 +00:00
jonathan
5c0c5dd0b4
defopt ISO TPIP.
1998-07-05 04:37:35 +00:00
jonathan
8db0fcdbf7
defopt CCITT.
1998-07-05 02:12:22 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
lukem
bd8d501f7e
remove options FIFO; it's now the default
1998-06-26 01:53:43 +00:00
thorpej
816e12eac2
defopt COMPAT_SVR4
1998-06-26 00:07:06 +00:00
sommerfe
446beb9dc4
defopt COMPAT_386BSD_MBRPART into opt_mbr.h
1998-06-22 21:12:51 +00:00
cgd
651b44e211
Rework the way kernel include files are installed. In the new method,
...
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
thorpej
02182100df
Use config_defer().
1998-06-09 18:49:33 +00:00
sakamoto
949c52c154
add address conversion macro for MPC105 and some fix.
1998-06-09 05:53:30 +00:00
sakamoto
040581ceed
Add UVM support.
1998-06-09 05:41:19 +00:00
thorpej
680a3d77f4
Add isa_dma{freeze,thaw}(), used to temporarily stop and then restart
...
all ISA DMA. Needed by e.g. the SmartCard reader for Sharks.
1998-06-09 01:04:17 +00:00
thorpej
f194cb8705
Provide an isa_chipset_tag_t to children.
1998-06-09 00:10:27 +00:00
thorpej
0b76aff07b
Change the ISA DMA API to take an isa_chipset_tag_t rather than
...
a struct device * corresponding to the ISA bus device. The ISA DMA
controller driver functions have been renamed and now take a struct
isa_dma_state *, and are called indirectly by machine-dependent code
which provides the DMA state.
These changes allow e.g. `ofisa' (the OpenFirmware configuration
mechanism for the ISA bus, used by e.g. Sharks) to use the MI ISA
DMA controller code.
1998-06-09 00:10:02 +00:00
thorpej
eddb2f4269
Adjust for change to the ISA DMA API.
1998-06-09 00:09:43 +00:00
lukem
8fb1228bc8
everything has bugs; either document them or don't bother with a BUGS section
1998-06-08 13:02:19 +00:00
lukem
ed25dc5c57
if there's no known bugs, don't have a BUGS section
1998-06-08 11:35:10 +00:00
lukem
cd2f6e9504
remove unnecessary paragraph separator
1998-06-08 11:34:41 +00:00
lukem
d719a4221f
if there's no known bugs, don't have a BUGS section
1998-06-08 11:34:04 +00:00
thorpej
f8acb6d6fa
Sync w/ i386 port:
...
Eliminate some needless indirection through ISA DMA front-end functions.
1998-06-03 21:55:26 +00:00
thorpej
52450409d6
Sync w/ i386 port:
...
Implement bounce buffers for mbufs.
Also, correct copyright snafus, and a forgot-o left over from a commit
I made yesterday.
1998-06-03 21:52:36 +00:00
thorpej
28486ff301
Remove the _cookie member of the DMA tag; it's not used by anything. (This
...
was already done to the i386 port.)
1998-06-03 06:47:41 +00:00
thorpej
7b37a276e2
Sync w/ i386 port:
...
Optimize the ISA DMA map load somewhat; don't traverse the buffer twice.
Instead, just attempt to do a normal load first. If we exceed the bounce
threshold or the number of segments, then we bounce the transfer.
1998-06-03 06:43:04 +00:00
thorpej
6ffa35b390
Sync w/ i386 port:
...
When loading a DMA map, if the page's physical address exceeds the bounce
threshold, return an error to the caller (the caller will attempt to
bounce the transfer).
1998-06-03 06:41:51 +00:00
thorpej
b5c2ecc231
Sync w/ i386 port:
...
Add a `bounce threshold' to the i386 DMA tag.
1998-06-03 06:40:45 +00:00
thorpej
2e846b8c1e
Sync w/ i386 port.
1998-06-03 04:20:22 +00:00
thorpej
a7f360c6c9
Specify a non-profiling C rule.
1998-05-31 23:25:41 +00:00
drochner
0c05b92da1
pull in new PC display headers
1998-05-28 16:59:31 +00:00
sakamoto
45439ad32b
Use new PowerPC-generic stuff(sys/arch/powerpc).
1998-05-28 08:44:56 +00:00
kleink
a97fc2f180
If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
...
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
thorpej
6626878e7b
It is no longer necessary for pmap_pinit() and pmap_release() to be
...
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).
1998-05-19 19:00:11 +00:00
kleink
687ea7404c
Fix some arithmetics lossage on typeless pointers.
1998-05-08 16:55:15 +00:00
kleink
aa36ad1f55
Fix some arithmetics lossage on typeless pointers.
1998-05-07 21:01:41 +00:00
thorpej
1686aca01d
Pull in opt_gateway.h as appropriate.
1998-04-29 23:11:00 +00:00
kleink
a53c1863fe
Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
...
types large enough to hold any pointer.
1998-04-27 17:39:10 +00:00
sakamoto
9880e1560f
Back out the changes about NVGA. It's not necessary.
1998-04-20 12:24:03 +00:00
sakamoto
90bb94019a
Use NVGA_ISA and NVGA_PCI instead of NVGA
...
for ISA/PCI frontend of vga.c.
1998-04-20 05:27:41 +00:00
drochner
f44d3a08e5
"spkr" is now MI. Keep this file for compatibility.
1998-04-15 21:53:47 +00:00
drochner
ebefb51112
cdev_{wsdisplay,spkr}_init() are now in sys/conf.h
1998-04-15 21:52:14 +00:00
drochner
abce54eaa2
spkr stuff is now in sys/conf.h
1998-04-15 21:48:51 +00:00
drochner
70702ea730
"spkr" attaches to "pcppi" now.
1998-04-15 21:46:23 +00:00
drochner
37db4134a0
VGA and spkr are now MI.
1998-04-15 21:44:39 +00:00
tv
b21bfbde11
Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
...
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
tv
482063559a
.y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
...
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
sakamoto
2467110095
Change commented out default baudrate(38400 to 9600) of serial console.
1998-03-27 00:11:07 +00:00
sakamoto
94a783a350
allow use of new wscons code.
1998-03-27 00:07:53 +00:00
sakamoto
f9133e686e
Change default console. pc -> wscons
1998-03-26 23:51:08 +00:00
sakamoto
6143f6a20e
Allow to use the new VGA and keyboard controller drivers as console
1998-03-26 23:45:59 +00:00
sakamoto
a46fb646ee
add entries for the new wscons stuff
1998-03-26 23:43:43 +00:00
sakamoto
a81efa33bc
tell drivers that this port knows about the new wscons code
...
(and generates the NWSCONS etc include files)
1998-03-26 23:42:53 +00:00
sakamoto
3334a0d040
Add bus_space_copy_region_N().
1998-03-26 23:41:51 +00:00
mycroft
0dae91d9af
Eliminate uses of TS_WOPEN in hard-wired devices.
1998-03-21 22:52:59 +00:00
bouyer
9f50fca1fd
Add commented out "options FFS_EI"
1998-03-18 16:34:41 +00:00
mikel
415c4a15df
duplicate i386 fixes (q.v.)
1998-03-04 07:20:13 +00:00
perry
1ed8ea9966
note second parm of sysarch() is now void *, + trivial KNF, etc.
1998-02-25 21:41:55 +00:00
thorpej
8a5a1155cf
Include KERNFS option header.
1998-02-19 00:30:38 +00:00
mycroft
2e55db84dd
Sync with powerpc/include/vmparam.h; removes some things which are not used.
1998-02-18 11:11:24 +00:00
mycroft
3b9429b248
Minor changes to make all the float.h files match.
1998-02-18 11:01:27 +00:00
thorpej
8354e68508
Remove "class" declarations, and add "devclass" declarations where
...
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
sakamoto
d053bf6ffe
Eliminate unnecessary code.
...
The bebox has only one PCI-ISA bridge(82378ZB).
1998-02-12 05:19:04 +00:00
sakamoto
e6ebe3f36f
Add avail_end for DMA (temporary).
1998-02-12 05:16:06 +00:00
sakamoto
eef219fd43
Sync with powerpc/include/endian.h
1998-02-12 01:28:48 +00:00
sakamoto
4a3839dbdd
Sync with powerpc/include/ansi.h
1998-02-12 01:21:10 +00:00
sakamoto
fcfdcaa513
Sync with port-i386.
1998-02-12 01:19:04 +00:00
sakamoto
4429e5c5fe
Import memory disk filesystem hook from port-i386.
1998-02-12 01:03:58 +00:00
thorpej
c26f962957
Use kernel_map in bus_dmamem_{map,free}().
1998-02-11 03:08:31 +00:00
thorpej
30aa56fc66
Use M_DMAMAP where appropriate.
1998-02-11 01:37:51 +00:00
sakamoto
9a3f7a093f
Use dev/isa/isadma.c.
1998-02-05 03:06:28 +00:00
sakamoto
a2b24d5571
Change "__BUS_SPACE_NEED_STREAM_METHODS" to "__BUS_SPACE_HAS_STREAM_METHODS".
1998-02-04 14:13:40 +00:00
thorpej
8abe76d2f0
Add offset and length parameters to bus_dmamap_sync(), used for specifiying
...
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej
99cc8482d1
Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
...
and allow more than one synchronization operation to be specified in
a single call. Dissallow mixing of PRE and POST operations.
1998-02-04 01:57:27 +00:00
thorpej
a7c5c1ef3c
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:32:55 +00:00
thorpej
f35992633d
- Implement bus_dmamap_load_mbuf() (copied from i386 port).
...
- Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
1998-02-04 00:32:22 +00:00
sakamoto
484f3e93b1
Correct copyright notice.
1998-02-03 07:00:34 +00:00
sakamoto
4cec855834
Change bebox_bus_{io,mem} to BEBOX_BUS_SPACE_{IO,MEM}
1998-02-03 04:38:53 +00:00
sakamoto
e65fe12381
Remove MD ed,wdc drivers.
1998-02-03 04:34:49 +00:00
sakamoto
e3fee92b6e
Change bebox_bus_{io,mem}.bus_base to BEBOX_BUS_SPACE_{IO,MEM}.
1998-02-03 04:32:17 +00:00
sakamoto
821174f3ba
Remove MD ed,wdc drivers and Support MI ne,wdc drivers.
...
Change assembler source suffix.
1998-02-03 03:59:53 +00:00
sakamoto
1f9630f4a8
rename {locore,setjmp}.S to {locore,setjmp}.s
1998-02-03 03:53:23 +00:00
sakamoto
cf5d09dc82
Add bus_space_{read,write,set}_{,multi,region}_stream_{2,4,8}().
...
These methods would be used where "raw" data needs to
{read,write,set} unchanged.
Add define __BUS_SPACE_NEED_STREAM_METHODS.
1998-02-03 03:11:15 +00:00
sakamoto
7026df0613
remove unnecessary cast.
1998-02-03 03:10:24 +00:00
mycroft
b5c132e4d2
Prototype __flt_rounds() consistently.
1998-02-03 01:26:20 +00:00
sakamoto
d5e690b8b7
Eliminate __BROKEN_INDIRECT_CONFIG
1998-02-02 05:54:20 +00:00
sakamoto
f94197be4a
Eliminate unnecessary define.
1998-02-02 05:17:40 +00:00
sakamoto
56620b3054
Move "read clock information from bootinfo" to initppc() from cpu_initclocks()
...
for delay() before cpu_initclocks().
Sync with powerpc/powerpc/machdep.c.
1998-02-02 04:59:19 +00:00
drochner
6e2af98681
adapt to changed <dev/ic/i8253reg.h>
1998-01-19 11:39:57 +00:00
sakamoto
39d4125cc3
add com0,com1,com2,com3
...
comment out wdc0, wd*(temporary)
1998-01-19 03:58:35 +00:00
sakamoto
9c3c5ad478
Support bootinfo like i386-port.
...
-define a buffer for information passed by the bootloader
-add a function ("lookup_bootinfo") to extract data
-use passed console information, for console attachment (VGA or SERIAL)
-use passed clock information, for timebase, decremente register
1998-01-19 03:47:41 +00:00