Commit Graph

270 Commits

Author SHA1 Message Date
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