Commit Graph

107146 Commits

Author SHA1 Message Date
augustss e1dd8d6b94 The bus_space_mmap() returns a physaddr, not a page, on the PPC.
(This is broken in some (all?) of the PPC ports, it seems.)
2003-01-12 23:46:11 +00:00
fvdl a4880cb372 Export the ioapic softc linked list, for the benefit of the mpbios code. 2003-01-12 23:20:17 +00:00
fvdl d43937377e Handle all-apics entries for ioapic interrupts. 2003-01-12 23:19:44 +00:00
christos cc9b9c6553 hack to have only one copy of fstypenames[] 2003-01-12 21:49:50 +00:00
uwe 333e0ca8a9 Quick patch to allow the (only) screen to be configured with
wsconscfg(8) when it's not being used as the console.
2003-01-12 21:37:59 +00:00
mjl f395946596 Correct typos (from OpenBSD). 2003-01-12 21:04:06 +00:00
christos 51457e8842 Make sure that UPEOF is compared to the right type on the left hand
side. Sometimes it was compared to int, which was -1 on EOF, and on
unsigned char machines UPEOF was (unsigned char)-1. This worked
by chance because isalpha((unsigned char)-1) returns false usually,
but it does not when the locale is invalid!
2003-01-12 20:26:53 +00:00
christos 8453828bf1 PR/19607: Bernd Ernesti: libsa does not have access to arpa/tftp.h. Put a
copy of it in our tftp.h
2003-01-12 18:59:15 +00:00
veego 3b63e47464 Check if DESTDIR is defined before checking for non empty DESTDIR 2003-01-12 18:51:26 +00:00
pk 2684c88122 fpulock: encapsulate required IPL raise in the FPU LOCK/UNLOCK macros. 2003-01-12 16:29:00 +00:00
is 0b73f01456 Make it work more than one time. The old behaviour was very annoying.
Reviewed by hubertf.
2003-01-12 14:41:20 +00:00
augustss 9ef59a8538 Flush stdout before callong daemon(). Fixes bin/19657. 2003-01-12 13:49:54 +00:00
tsutsui 6d0bdd7f1b Don't use non-ASCII chars in comments. 2003-01-12 13:38:27 +00:00
tsutsui 76ce5f5560 Add entries for vt220l8x16 and vt220iso8x16. 2003-01-12 13:12:42 +00:00
tsutsui e16295484c Add another 8x16 pixel VT220 font with ISO8859-1 charactors.
Generated from sys/arch/atari/dev/font_8x16.c rev 1.2.
2003-01-12 13:11:28 +00:00
tsutsui 28f92b4adc Add 8x16 pixel VT220L font generated from /usr/share/wscons/fonts/vt220l.816,
which is derived from pcvt.
2003-01-12 13:08:47 +00:00
yamt 03e1a46833 - zerofill struct lfs when allocating it.
- use M_ZERO instead of memset after malloc.
2003-01-12 13:04:52 +00:00
jdc 3f8ad5302e Back out part of rev 1.50. We can't call werase() here.
Fixes PR lib/19739 by Matthias Scheler.
Problem also noted by Martin Husemann.
2003-01-12 12:53:51 +00:00
jdolecek 6c334c1ee1 fix mistake in the attachment, which caused the device interrupt handler
to not be properly setup
fix provided in PR kern/13621 by ITOH Hideki
2003-01-12 12:53:36 +00:00
jdolecek 384748874a Ethernet multicast entries are malloc'd M_IFMADDR, and thus should
be freed as M_IFMADDR too.
Fix supplied in PR kern/19037 by Sean Boudreau
2003-01-12 12:26:23 +00:00
jdc 3632692722 Wscons terminals (wsvt25) have 25 lines, so we shouldn't use the vt220
initialisation sequence (which sets the scrolling region to the top 24
lines).
Noticed by Martin Husemann.
2003-01-12 11:17:21 +00:00
jmmv 66808db078 Remember the administrator to always configure /etc/mailer.conf, as there
is no default. Approved by wiz.
2003-01-12 09:23:55 +00:00
jdolecek 98cb17d023 add support for SNDCTL_DSP_SETDUPLEX ioctl to ossaudio emulation code
code provided by Andreas Wrede in PR kern/19793
2003-01-12 08:20:05 +00:00
uwe 24780840a1 Account softintr_common as uvmexp.softs, not uvmexp.intrs. 2003-01-12 06:11:01 +00:00
matt c838a0fb9e In vmcmd_readvn, if the page is mapped executable and PMAP_NEED_PROCWR
is defined, call pmap_procwr to synchronize the icache.  This fixes the
problem of dynamic programs crashing on powerpc systems.
2003-01-12 05:24:17 +00:00
pk 55a3bd0a85 schedcpu() has been fixed; now we can notify another CPU about a pending
reschedule request.
2003-01-12 01:50:51 +00:00
pk da40c6dd43 schedcpu(): after updating the process CPU tick counters, we no longer need
to run at splstatclock(); continue at splsched().
2003-01-12 01:48:56 +00:00
thorpej 2136f557b3 Add a symbol for libpthread. 2003-01-12 01:30:34 +00:00
pk c41718e9ec Remove needless indirection from the curproc() macro. 2003-01-12 01:19:00 +00:00
pk ae33d2b4e5 Use per-CPU virtual addresses for pmap_copy_page() & pmap_zero_page(). 2003-01-12 01:16:06 +00:00
christos 0f9b5cdd18 add some more flags used only in acpi.c 2003-01-12 01:15:50 +00:00
augustss 337a21e08f Get interrupt swizzling right. 2003-01-12 00:52:45 +00:00
matt 12a9bdbb4f Add missing ethernets and phys. Update FireWire to current reality. 2003-01-12 00:50:29 +00:00
pk dab556c2b1 pmap_deactivate(): arguments for sp_tlb_flush() were reversed. 2003-01-12 00:34:52 +00:00
christos 1748ad5426 fix usage [add -r] 2003-01-11 23:44:47 +00:00
lha 7e3ef8185e s/pfil_get_head/pfil_head_get/
fixes Joel Wilsson's <joelw@unix.se> misc/19796
2003-01-11 22:45:39 +00:00
christos d9edafd3d3 check for strdup returning null 2003-01-11 22:32:43 +00:00
christos 440c3bcc16 check for malloc returning null 2003-01-11 22:32:25 +00:00
christos 774782c3bc Make everything compile again. All platforms compile on i386 now. 2003-01-11 19:44:04 +00:00
christos d5c5392912 make compile on !playstation 2003-01-11 19:37:48 +00:00
christos 848b0d8582 use the <sys/bootblock.h> names. 2003-01-11 19:31:52 +00:00
christos 83b0b99b3b use definitions from <sys/bootblock.h>; don't require <machine/disklabel.h>
mac68k machine/disklabel.h contains duplicate definitions that also exist
in <sys/disklabel.h> and <sys/bootblock.h> and should be removed.
2003-01-11 19:28:04 +00:00
christos d33a7d6abc add apple_bootzeroblock 2003-01-11 19:14:18 +00:00
christos 405768deca remove i386'isms; make link again. 2003-01-11 19:06:54 +00:00
christos a7ca1a461f protect against multiple inclusion. 2003-01-11 18:54:19 +00:00
mrg e37ed12dae add an entry about sparc SMP 2003-01-11 17:37:41 +00:00
tsutsui 9a5dedeaea Fix -Wsign-compare and -Wuninitialized warnings. 2003-01-11 16:01:49 +00:00
tsutsui 5db9bf0614 Fix -Wsign-compare warnings. 2003-01-11 16:00:48 +00:00
tron 503456a35a Include "bsd.rpc.mk" before "bsd.prog.mk" to fix the "cleandir" target. 2003-01-11 13:28:43 +00:00
aymeric 04afe0c722 Change the bootstrap procedure to avoid temporarily mapping physical memory.
Now, on the Amiga, we copy a small piece of code to chip memory and enable the
MMU from here.
On the DraCo, we setup %itt0 so that we shadow physical memory without
touching the page tables and very temporarily. The DraCo's memory layout
guarantees that there is no overlap in this case between physical and
virtual addresses.

This fixes a bug where Amiga's with physical memory at 0x200000 wouldn't boot
kernels >2M in size, and possibly other corner cases.

Joint work with Ilpo Ruotsalainen and Ignatios Souvatzis.
2003-01-11 10:47:08 +00:00