Commit Graph

14748 Commits

Author SHA1 Message Date
gwr
30f35224e5 Pretend loadcrp() takes an int arg for now.
Probably should be (struct mmu_rootptr *)
1997-01-16 21:56:36 +00:00
gwr
07a2670421 Before dropping into the PROM monitor, restore its CPU Root Pointer (CRP),
and restore our own CRP if we resume.  Make sure the string passed to
mon_reboot() is in our data segment where the PROM can see it.
1997-01-16 21:53:07 +00:00
gwr
477556a159 Add an introductory comment about pte.h vs mc68851.h
Move sun3x_round_up_page() to here.
1997-01-16 21:48:32 +00:00
gwr
cd7b9cf2ee Add an introductory comment about pte.h vs mc68851.h
Move sun3x_round_up_page() to pte.h
Define struct mmu_rootptr here.
1997-01-16 21:47:31 +00:00
christos
e6717c0bc9 - convert to bus_space_*
- split attachment code to sb_isa.c
1997-01-16 21:03:30 +00:00
cgd
71db072b94 update copyright 1997-01-16 20:41:54 +00:00
cgd
1a2b5aa691 clean up, deal with secondary bootstrap programs not on 'a' partition
'a' partition not starting at 0.
1997-01-16 20:40:05 +00:00
gwr
4ed08a77d2 Move include of trap.h from genassym.c to locore.s 1997-01-16 17:30:20 +00:00
gwr
66a113c1a3 Use db_regs_t instead of struct mc68020_saved_state 1997-01-16 15:41:39 +00:00
gwr
4479ccc534 Use db_regs_t instead of struct mc68020_saved_state 1997-01-16 15:30:57 +00:00
cgd
274cf3fbf9 move the secondary bootstrap down (to 0x20004000), and add a HEAP_LIMIT
so that we don't exhaust our bootstrap address space (when using the new,
not yet checked in, memory allocator).
1997-01-16 07:50:34 +00:00
jeremy
499dd92e9d Added conditional include of iommu kernel driver manipulation routines.
Fixed a few comments.
1997-01-16 06:38:26 +00:00
cgd
b1f42c3a13 add memcmp, implemented as a wrapper around bcmp() (like memcpy() is
implemented as a wrapper around bcopy()).
1997-01-16 04:06:15 +00:00
cgd
cfe73ab59b clean up 1997-01-16 03:00:22 +00:00
cgd
3fb0a713f5 seriously clean up makefiles. use libsa/libkern/libz as appropriate,
and don't build the various sources into objs locally by specifying
them directly in the Makefiles.
1997-01-16 02:59:08 +00:00
cgd
653e0e50fe more carefully include libkern and libsa headers 1997-01-16 01:21:36 +00:00
cgd
904a2dc374 link installboot statically, and include libutil 1997-01-16 01:20:24 +00:00
cgd
f515ce7937 add sources, all copied verbatim from src/lib/libz 1997-01-16 00:21:43 +00:00
cgd
e18d476d7c add Makefiles to build kernel 'libz' library, expected to be used by
boot blocks to load compressed images.  Sources and headers are copied
from src/lib (src/lib/libz, in particular) by making the 'update-sources'
target in this directory.  This library builds in a manner similar to
libkern; much of the Makefile hackery was taken from there.
1997-01-16 00:19:04 +00:00
gwr
6e961cf5de Use db_regs_t instead of struct mc68020_saved_state 1997-01-15 23:11:46 +00:00
cgd
942c20dfac change the fixed delay to allow serial console output to settle
to something smarter, suggested by Charles Hannum.
1997-01-15 22:13:36 +00:00
gwr
77eb8c5a65 fix alignment again for m68k 1997-01-15 18:22:35 +00:00
gwr
e1cb27e32f sync with if_ether.h 1997-01-15 18:19:35 +00:00
mikel
fe9f1f4e3e add missing copyright and RCS ID; ok'd by mycroft 1997-01-15 07:06:42 +00:00
perry
e9a5ba83e3 nuke obsolete /* 1.1 */ and /* 1.2 */ comments. 1997-01-15 05:11:45 +00:00
cgd
008f5aedf9 apply patch from PR 2788 (from Dennis Ferguson <dennis@jnx.com>) to
more smoothly apply "tickfix"es microsecond deltas (when compensating
for clocks running at > 1000Hz).
1997-01-15 04:59:39 +00:00
cgd
99fb250b5c fix from PR 2787 (from Dennis Ferguson <dennis@jnx.com>): when adjtime
is running (and NTP is not enabled), the adjtime()-handling code clobbers
any tickfix that may be necessary for systems with clocks with frequency
greater than 1000Hz.
1997-01-15 04:27:35 +00:00
jonathan
0ef88d333a Fix const-pointer lint in copyout of consed-up native fstype string,
from consed-up  native mount args.
1997-01-15 01:41:35 +00:00
perry
b89a3425b7 Eliminate obsolete TIMEZONE and DST options.
Eliminate obsolete global kernel variable "struct timezone tz"
Add RTC_OFFSET option
Add global kernel variable rtc_offset, which is initialized by
RTC_OFFSET at kernel compile time.
on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many
minutes west (east) of GMT the hardware RTC runs. Defaults to 0.
Places where tz variable was used to indicate this in the past have
been replaced with rtc_offset.
Add sysctl interface to rtc_offset.
Kill obsolete DST_* macros in sys/time.h
gettimeofday now always returns zeroed timezone if zone is requested.
settimeofday now ignores and logs attempts to set non-existant kernel
timezone.
1997-01-15 01:28:28 +00:00
jonathan
11a7f97c20 Use <> not "" #include path for pmax/stand/dec_boot.h. 1997-01-15 00:52:17 +00:00
cgd
328e19f5fb useful suggestion from jason: make this simply an 'include' of the
GENERIC kernel config with the added ramdisk-hook-enabling bits!
1997-01-14 23:37:59 +00:00
cgd
46b965ab4a useful suggestion from jason: make this simply an 'include' of the
GENERIC kernel config with the added profiling bits!
1997-01-14 23:32:00 +00:00
cgd
b701ee6fea comment out 'options GATEWAY' by default.
add PPP_BSDCOMP and PPP_DEFLATE.
add ipfilter pseudo-device, and sort the pseudo-device list to recover
    from the renaming of 'rd' to 'md'.
1997-01-14 23:20:37 +00:00
cgd
1db761a1be add cd9660, msdosfs file system support.
add SysV Shared Memory support, since it can be used by the X server.
add 'ppp' to the list of pseudo-devices, and sort the list to recover
    from the renaming of 'rd' to 'md'.
other slight cleanups.
1997-01-14 23:18:17 +00:00
mark
02e575f690 Replace the fix for the bugged revisions of the 37GT665 I/O controller
that was lost during the last upgrade of the driver.
1997-01-14 22:59:40 +00:00
jonathan
1607618d93 pmaxpagesperpage -> mipspagesperpage 1997-01-14 22:29:54 +00:00
gwr
2ffbfe169b Punt some historical stuff that was ifdefed out. 1997-01-14 21:01:33 +00:00
gwr
daa7a6dc57 Initial import. Gets as far as nfs_mountroot. 1997-01-14 20:57:09 +00:00
gwr
3921aef310 Initial revision 1997-01-14 20:57:08 +00:00
gwr
cd05f4190d Initial import. Gets as far as nfs_mountroot. 1997-01-14 20:57:07 +00:00
gwr
c8cc66764e Initial revision 1997-01-14 20:57:06 +00:00
gwr
99f640b958 Initial import. Gets as far as nfs_mountroot. 1997-01-14 20:57:06 +00:00
gwr
2ad3428397 Initial revision 1997-01-14 20:57:05 +00:00
gwr
2dbfabbb97 Initial import. Gets as far as nfs_mountroot. 1997-01-14 20:57:01 +00:00
scottr
4ee6502e8b Whoops, forgot to include ipfilter.h 1997-01-13 23:46:11 +00:00
scottr
d186ff0991 Add ipfilter (pseudo-) device. 1997-01-13 23:34:04 +00:00
thorpej
8f8abcd69c Regen; makesyscalls.sh emits comments now. 1997-01-13 18:49:02 +00:00
oki
0e58d64c9e first commit of M68060 and FPU_EMULATE support.
M68060 support by YAMASAKI Yasushi, few arranged by me.
1997-01-13 14:04:42 +00:00
scottr
121971f622 Compile with -O2 (need to update COPTS so we still get -m68030) 1997-01-13 07:08:51 +00:00
scottr
9792072925 Compile kernels with -O2 1997-01-13 07:06:51 +00:00
scottr
e14ea342e3 Some changes to make ADB work when compiled with -O2:
- extdms_done is modified by things outside of our direct control;
    it needs to be declared `volatile'
  - CountADBs() fails when we call it the second time.  We can work
    around this by telling extdms_init() how many ADB devices we have,
    only calling CountADBs() once.
1997-01-13 07:01:23 +00:00
mark
151fa15841 Use -x rather than -S for the linkflags as we are not using the NetBSD
linker.
1997-01-13 00:51:42 +00:00
mark
98ecd0ea70 Updated for the new bus space implementation.
Merge in the latest changes from the ISA lpt device.
1997-01-13 00:46:51 +00:00
mark
f0192d1f6c Removed duplicate PROFILE_ASM option. 1997-01-13 00:42:18 +00:00
mark
7384f7a76d Update for the new bus space implementation.
Merge in the latest changes from the ISA com device.
1997-01-13 00:40:54 +00:00
mark
110691d0cc Added files for the mainbus mapping and read/write routines. 1997-01-13 00:38:45 +00:00
mark
4812012263 Implement a set of functions that provide the bus space mapping and
read/write routines for the mainbus.
1997-01-13 00:37:51 +00:00
mark
52a7f33ad1 Updated for the new bus space implementation in bus.h
The mainbus bus space tag is passed in the mainbus_attach_args structure.
1997-01-13 00:35:47 +00:00
mark
0bebac783d Update for new bus space interface. This implementation is based on
cgd's alpha implementation. Bus tags now point to a structure of
function pointers to bus space routines rather than being an index to
one of several I/O methods making it simpler and more efficient in
handling many different busses and mapping schemes.
1997-01-13 00:33:36 +00:00
thorpej
db33863c33 Fix a couple of minor nits so that this compiles on the alpha.
Noticed by Matt Jacob (mjacob@feral.com).
1997-01-13 00:15:29 +00:00
leo
81fd2d7dc6 This should have been part of the keyboard-modifier changes. 1997-01-12 22:15:24 +00:00
thorpej
112e338d6b Fix botch in PA calculation for DIO-II devices. Bug noticed and fix
provided by Klaus Klein <kleink@layla.inka.de>, PR #3097.
1997-01-12 21:27:26 +00:00
mark
aef8299490 Document the packet filter major number. 1997-01-12 20:39:51 +00:00
mark
00e9f2af37 inline -> __inline 1997-01-12 20:28:04 +00:00
mark
23254f1c9e Added commented PFIL_HOOKS option. 1997-01-12 20:24:08 +00:00
leo
3e345f741d Use the mask register to block the interrups, not the enable register. This
enables the interrupt to be shared (with IDE for example ;-) ).
1997-01-12 15:46:37 +00:00
leo
4b8a9a883c Fix return value of the interrupt function. 1997-01-12 15:44:45 +00:00
leo
41a0638c86 Another part of the rd->md saga... 1997-01-12 15:41:24 +00:00
leo
c4ad7060c1 Fix the machine-type detection, the Falcon was detected as a Hades. Regroup
the hardware initialisations in a separate function and make sure
that the Midi-ACIA is properly initialized. This prevents MIDI traffic
to lockup the keyboard.
1997-01-12 15:40:14 +00:00
mark
672f9bc8a2 Added token 'Y' to print stack orientated nmemonics for {sl}dm r13, ... 1997-01-12 14:21:44 +00:00
ragge
2b8e7e782a std.vax readded, shall be here anyway. 1997-01-12 12:38:56 +00:00
mrg
b5f7cf1c76 if we fail to attach, abort before attaching the hook, not after. 1997-01-12 06:06:03 +00:00
ragge
09adf20559 Need a couple of extra #ifdef's to compile. 1997-01-11 13:50:20 +00:00
ragge
3026c5e35e Put in another external declaration. 1997-01-11 11:46:43 +00:00
ragge
eb0bc83700 Update due to changes to uba/mscp functions. 1997-01-11 11:34:39 +00:00
ragge
54e8120422 Oops, forgot an printf. 1997-01-11 11:31:57 +00:00
ragge
2a826b413f Prototype updates. 1997-01-11 11:31:26 +00:00
ragge
52c3b92063 Put common map in code here instead of lots of places. 1997-01-11 11:24:51 +00:00
ragge
3774ec6c5c Update due to prototype changes. 1997-01-11 11:23:09 +00:00
ragge
2b34ded4f8 Many minor bug fixes; mscp subsystem seems to work rather stable now. 1997-01-11 11:20:31 +00:00
ragge
59d5be04e9 Add EXEC_AOUT and EXEC_SCRIPT. std.vax not needed anymore; removed. 1997-01-11 11:15:38 +00:00
ragge
7bf599379e Prototype change of scanc needs change here also. 1997-01-11 11:07:52 +00:00
ragge
f98e31628a #define MAXBSIZE to some nice value. 1997-01-11 11:06:17 +00:00
matthias
27381f0aaf * Add cdevsw entry for /dev/ipl. 1997-01-11 11:00:41 +00:00
matthias
47fe16475c * Use confargs in probe and attach routines.
* Irq and address are now printed by mbprint.
1997-01-11 10:58:12 +00:00
mikel
aed485cdf2 add 'pseudo-device ccd' where necessary; PR kern/1830. 1997-01-11 09:11:37 +00:00
thorpej
7c14653df6 It's not safe to sleep in mdattach(), so don't pass WAITOK to malloc(). 1997-01-11 06:26:41 +00:00
thorpej
9df1988ac8 Implement the IP_RECVIF socket option: supply a datagram packet's incoming
interface using a sockaddr_dl in a control mbuf.

Implement SO_TIMESTAMP for IP datagrams.

Move packet information option processing into a generic function
so that they work with multicast UDP and raw IP as well as unicast UDP.

Contributed by Bill Fenner <fenner@parc.xerox.com>.
1997-01-11 05:21:07 +00:00
thorpej
746f138b3a Prototype sbcreatecontrol(). 1997-01-11 05:17:18 +00:00
thorpej
f1c90f5e13 Implement sbcreatecontrol(), a generic function to create a "control"
mbuf for presentation on a socket buffer.
1997-01-11 05:16:46 +00:00
thorpej
62dcdcfb89 Implement SO_TIMESTAMP socket option: receive a timeval timestamp
as a control message with a datagram.
1997-01-11 05:15:01 +00:00
thorpej
aceef5987f Merge into mainline, tidy up some debug code. 1997-01-11 04:47:31 +00:00
thorpej
d34ed2a09f Update from Matt Thomas <matt@3am-software.com>. Supports more
Tulip-based cards, including new SMC and Kingston cards.
1997-01-11 04:30:07 +00:00
leo
7a0c8fa119 Handle keyboard modifiers *before* handing the keycodes to either the
console driver or the DDB keyboard functions. This prevents annoyances
with out of sync modifier stati.
1997-01-10 21:24:25 +00:00
leo
2fa61d9691 Allow the control registers to be mapped too. 1997-01-10 21:00:36 +00:00
leo
1f4324fd52 Record physical addresses in the bitmap structure instead of VA's. The
latter breaks the mmap-functions.
1997-01-10 20:59:27 +00:00
perry
40533e83ff Commit latest fixes/upgrades to NCR SCSI driver. From FreeBSD via
Dave Huang <khym@bga.com>

Tested on alpha by cgd, tested on several i386 boxes. Certainly causes
no harm to the goddamned mess, but the NCR driver only works when you
perform voodoo rituals on it anyway.

This is what Dave said (in email) has been added to the driver:

  ----------------------------------------------------------------------
  This seems to be the most significant change:
  General cleanup and new features for 53c875 based cards, especially the
  Tekram DC390W/U/F, whose config EEPROM can now be dumped, if the kernel
  is built with option NCR_TEKRAM_EEPROM.

  Other changes:

  - add brackets to expansion of OUTB/W/L macro arguments.
  - remove unused NCB structure element ns_async
  - support sync. SCSI offset of 16 (instead of only 8) on 825A and 875
  - correctly identify 53c810A and 53c825A chips
  - preserve SCSI BIOS settings of PCI performance options
  - remove (already disabled) support for NCR reset because of command timeout
  - reverse order of reading of SCSI and DMA specific interrupt cause registers
  - add definition of Tekram config EEPROM contents (not currently used)
  ----------------------------------------------------------------------
1997-01-10 05:57:10 +00:00
perry
8b5d8866c9 fix kvm_mkdb problem -- as per pr 3092 1997-01-10 05:28:14 +00:00
scottr
cc061d0a98 Normally, iteon() returns an int. If NITE == 0, define iteon() to be 0.
Closes PR 3091.
1997-01-10 00:07:27 +00:00
thorpej
0ba0c241a3 Oops, forgot to commit this; declare db_onpanic. (Thanks, Scott.) 1997-01-09 16:57:14 +00:00