mycroft
cefdcd4840
More DDB cleanup.
1999-01-20 13:56:35 +00:00
mark
8ee86da26a
Clean up the last remains of non-MNN the code.
1999-01-17 06:58:16 +00:00
chuck
4e484e0e02
remove dead non-MNN code (one block left)
1999-01-16 21:03:48 +00:00
chuck
66226eb6ff
remove non-MNN code
1999-01-16 20:11:03 +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
mark
a82d8b0a33
Fix void * arithmetic.
1999-01-09 22:56:06 +00:00
thorpej
e598335d1c
Garbage-collect `mbutl'.
1999-01-09 22:10:12 +00:00
mark
444401c526
Fix `void *' arithmetic.
1999-01-09 21:18:54 +00:00
mark
e6361430fc
Fix `void *' arithmetic in bcopy() calls.
1999-01-09 21:10:50 +00:00
mark
e9afce801e
Fix `void *' arithmetic.
1999-01-09 21:04:00 +00:00
augustss
fc5f9ee81d
Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
1999-01-08 19:26:12 +00:00
mark
a857bdefb8
Guard get_device() and prototypes for set_root_device() and get_device()
...
with #ifndef MEMORY_DISK_IS_ROOT.
1999-01-03 20:13:45 +00:00
mark
3ad92d6f24
Declare get_device() and set_root_device() as static and prototype them
...
here.
1999-01-03 02:24:56 +00:00
mark
9b3c03f9cc
Update for name change of pv_addr_t structure members.
1999-01-03 02:23:27 +00:00
mark
e0d2ec153f
Rename the members of the pv_addr_t structure to make them more
...
meaningful and to avoid C++ name clashes. Fixes PR port-arm32/6365.
1999-01-03 02:19:32 +00:00
mark
1eb9f63a3c
bzero() -> memset() and bcopy() -> memcpy().
1999-01-01 12:42:47 +00:00
mark
4a23b01275
Tidy up this file.
1999-01-01 12:41:13 +00:00
mark
04d8f160e7
bzero() -> memset() and bcopy() -> memcpy().
1999-01-01 12:40:39 +00:00
mark
cc829bbdde
Sync with reality.
1999-01-01 12:13:49 +00:00
mark
d235c19724
This file has been replaced by makemodes.awk.
1999-01-01 10:28:57 +00:00
mark
97036bd92c
Use makemodes.awk to parse the MDF files rather than building a custom
...
binary from makemodes.c. This makes cross compiling simpler.
1999-01-01 10:28:16 +00:00
mark
8b0bd1ca77
Initial commit of awk replacement for makemodes.c
...
This is an awk script to parse an Acorn Monitor Definition File and
generate a C file containing the selected mode timing parameters.
Read the comments at the start of the file for details on use.
This file replaces makemodes.c
1999-01-01 10:26:41 +00:00
mark
2197d0696d
The scsipi_adapter structure is part of the sfas_softc structure
...
rather than the csc_softc structure.
1998-12-31 09:44:42 +00:00
mark
14a36628f5
Add a missing semi colon.
1998-12-31 09:37:12 +00:00
mark
058cf2a88c
Apply patch from PR port-arm32/6357 to make the wdc attachment to the
...
RiscPC mainbus work correctly.
From Richard Earnshaw.
1998-12-28 09:40:28 +00:00
mark
767af4d82c
Add a check for r8 equal to 0 and do a quick exit if it is.
1998-12-28 09:39:02 +00:00
mycroft
b3c9835be1
r13-r15 -> sp, lr, pc
1998-12-12 17:28:05 +00:00
augustss
8398f3a4db
Add ugen, a generic USB driver.
1998-12-08 15:52:31 +00:00
mjacob
74bc9f26d5
Update HBAs to incorporate the new max_lun property.
1998-12-05 19:43:33 +00:00
bouyer
47ab212504
Rename pio_mode, etc ... to PIO_cap, etc ... for consistency with the
...
ata_drive_datas struct. Suggested by Soren S. Jorvan.
1998-12-03 18:24:30 +00:00
thorpej
da572a137f
Argh, fix the ANSI CPP version of the a.out WARN_REFERENCES().
1998-12-02 21:16:46 +00:00
thorpej
a6f7e0c05a
Implement WARN_REFERENCES().
1998-12-02 00:58:42 +00:00
thorpej
ff78cf69cf
Move cdev_usb_init() and cdev_usbdev_init() to <sys/conf.h>
1998-11-29 06:56:13 +00:00
mycroft
2aeb226755
Save and restore pcb_onfault for kcopy(), as pointed out by Steve Woodford.
1998-11-26 19:34:38 +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
mycroft
63f7ee9e53
Return instructions can also be unconditional branches.
1998-11-25 13:58:49 +00:00
mycroft
8fbc327df1
DDB needs the stack pointer at the time of the fault to single step through
...
returns. So, adjust the trap frame format to store sp.
1998-11-25 13:09:14 +00:00
mycroft
f4b034d33a
First whack at making single-stepping work through switch and return
...
statements.
1998-11-25 06:41:26 +00:00
drochner
1e2b2f29f2
one more (last?) wdc_channels adaption
1998-11-22 14:55:29 +00:00
drochner
e1244719fd
oops - forget update for wdc_channels definition change
1998-11-22 14:36:38 +00:00
thorpej
5f0577babc
Adapt to the new scsipi_adapter interface.
1998-11-19 21:43:00 +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
mrg
e9b43366f3
add some shiny happy egcs braces
1998-11-17 12:11:27 +00:00
oster
cf5710c839
Added a (commented out) configuration line for the RAIDframe device driver.
1998-11-16 16:44:55 +00:00
mycroft
09093330b1
Add {LONG,WORD}_BIT and {DBL,FLT}_{DIG,MAX,MIN}.
1998-11-16 04:12:29 +00:00
mycroft
56aafbe295
Remove bogus change that cause cpu_fork() to panic.
1998-11-13 09:19:26 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +00:00
thorpej
49c62c4336
Changes to support fork_kthread():
...
- cpu_set_kpc() now takes void *arg third argument, passed to the
entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:41:23 +00:00
mark
85d4fddd28
Use the footbridge pci bus space tags when attaching a vga console so
...
that the wscons code will recognise them later and correctly setup
cn_tab when the wsdisplay device is attached.
1998-11-10 04:34:05 +00:00
mark
c082b04018
Implement a separate function to set up the pci io and mem bus space
...
tags.
1998-11-10 04:32:03 +00:00
mark
e695fe5347
Implement bus_space_copy_region_2() for footbridge tags.
1998-11-10 04:29:21 +00:00
mark
096ffe523f
Fix a couple of string buffer overruns in lpt_ofisa_md_match()
...
From Richard Earnshaw, fixes PR6210.
1998-10-28 04:21:57 +00:00
thorpej
56066ad5fb
Add media list, media list count, and default media arguments to
...
ne2000_attach().
1998-10-28 00:13:47 +00:00
tron
b296275bb4
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:09:13 +00:00
mellon
8a9206b6fd
Add CAPS_IS_CTL option
1998-10-18 12:21:51 +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
augustss
797eea8ae5
Add a sequencer pseuso device since we have a MIDI device.
1998-10-14 11:13:14 +00:00
bouyer
aaa8f8b183
Patch from Mark Brinicombe for arm32 config with the new ide system.
1998-10-12 16:13:03 +00:00
bouyer
19fddaeeb5
Merge bouyer-ide
1998-10-12 16:09:10 +00:00
mark
c70acc4a87
Add console initialisation for wscons via VGA.
...
Use the boot options console=xxx to select the console where xxx is
vga, fcom or com.
1998-10-12 03:32:51 +00:00
mark
91a04b5d0c
Define __HAVE_NWSCONS
1998-10-12 03:12:37 +00:00
scw
bdf8d911fc
Clear 'cold' to zero at the end of configure(), where it belongs.
...
(This used to be done in machdep.c, but thorpej recently zapped
that one ;-)
1998-10-10 19:15:32 +00:00
thorpej
908cdfe4e3
Add scsibus entry points to the cdevsw[].
1998-10-10 02:00:49 +00:00
thorpej
29d472f53d
Garbage-collect the open_target_lu and close_target_lu entry points from
...
struct scsipi_adapter; they were not used.
Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be
used to issue ioctl commands to the host adapters.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 00:28:28 +00:00
mark
45a8df778f
Remove some unnecessary includes.
1998-10-09 00:17:20 +00:00
mark
8d41878215
Add pckbc device, keyboard and mouse and wskbd and wsmouse via pckbc.
1998-10-08 01:59:22 +00:00
mark
d21eb4802d
Rename the pckbd attribute to avoid clashing with the pckbd device
...
from dev/pckbc/*
Include files.pckbc
1998-10-08 01:50:28 +00:00
thorpej
5a687aeb55
cold is already set to false at the end of configure().
1998-10-06 20:55:38 +00:00
mark
6465aead84
Use braces instead of brackets to surround the SET_ICUS macro.
1998-10-06 02:43:26 +00:00
mark
de39833622
Add wsdisplay, wsmouse and wskbd devices.
1998-10-06 02:41:22 +00:00
mark
2bcc60adc6
Add declarations for wsdisplay, wsmouse and wskbd.
1998-10-06 02:40:13 +00:00
mark
edbbf502ab
Add wscons devices and options.
1998-10-06 02:39:00 +00:00
mark
8a012b843b
Include files.wscons
...
Add files.pckbc (commented out, pending fixing SHARK configs).
1998-10-06 02:37:59 +00:00
mark
08fbcdd506
Fix bug with the return value in filecore_label_locate(). This bug caused
...
an assertion to fail in disksubr.c if a label was written to a disk with
a filecore partition at the start of the disk.
1998-10-06 01:47:53 +00:00
mark
b4dba57069
Footbridge based kernels do not need constab.
1998-10-05 16:03:04 +00:00
mark
e605a01dce
Footbridge based kernels don't use dev/cninit.c
1998-10-05 15:41:19 +00:00
mark
5d9338a24b
Don't put the fcom device in constab.
1998-10-05 02:46:31 +00:00
mark
664d0f374c
Base configuration for CATS kernels.
1998-10-05 02:43:43 +00:00
mark
35f31dce6e
Implement consinit() here instead of using the arm32/machdep.c version.
...
Use information passed from via the boot arguments to determine which
device to use as the console.
Add support for initialising the CATS ISA subsystem.
During the early bootstrapping use fcomcnattach()/fcomcndetach to enable
debug and diagnostic information to be sent to the diagnostic serial
port. This is only used during the early part of initarm() until things
have been relocated and the real console can be initialised().
1998-10-05 02:40:26 +00:00
mark
8909a4e529
Define both EBSA285 and CATS bootinfo structure magic numbers.
1998-10-05 02:36:49 +00:00
mark
4d8d0f4e6d
Define fcomcnattach() and fcomcndetach() functions for the diagnostic
...
serial port.
Disable the old probe and init functions as we no longer use constab and
cninit().
1998-10-05 02:36:02 +00:00
mark
0d3d74ceeb
Footbridge based systems don't use cninit() so don't use the version of
...
consinit() defined here.
1998-10-05 02:33:46 +00:00
mark
86a0875460
Add dsrtc device and associated file.
1998-10-05 01:21:39 +00:00
mark
f452e15aff
Add a driver for the Dallas Semiconductor RTC found on CATS motherboards.
1998-10-05 01:20:57 +00:00
mark
18ccba3b4e
Make sure ISA interrupts have been setup prior to configuring devices.
...
This is not nice and a better solution is needed. Really this should be
done when the PCI-ISA bridge is discovered but it is possible that
some PCI interrupts may be routed via the ISA interrupt controller
and thus this needs setting up first.
1998-10-05 01:17:55 +00:00
mark
91eeeff347
Add support for interrupts that are actually routed via an ISA interrupt
...
controller.
(I'm not happy with this approach but it works so I'll use it for the
moment until I complete run-time selection of the interrupt handling based
on recognised hardware).
1998-10-05 01:09:38 +00:00
mark
197c78db08
Prototype isa_intr_alloc() (Needed by ISA PnP code) and sysbeep().
1998-10-05 01:05:00 +00:00
mark
100a13e50a
Add ISA legacy mode support. Currently this is used by CATS kernels
...
which routes the PCI IDE interrupts in a similar fashion to i386 machines
(i.e. on ISA irq14 & 15).
1998-10-05 01:03:52 +00:00
mark
dda219af66
Add file arm32/isa/isa_cats_machdep.c.
...
Build isa/isa_io.c and isa/isa_io_asm.S for both SHARK and ISA systems.
1998-10-05 01:01:43 +00:00
mark
c2d2dca344
Initial commit of ISA bus support for CATS machines (DC21285 based
...
motherboards).
1998-10-05 01:00:57 +00:00
mark
60e0cbbab8
Use sysbeep() rather than beep_generate for consistancy and the sysbeep
...
device.
KNF a chunk of this file.
1998-10-05 00:53:47 +00:00
mark
67d78e486f
Remove beep related stub code now we have a sysbeep device.
1998-10-05 00:51:21 +00:00
mark
8eca271694
Add sysbeep device.
1998-10-05 00:49:13 +00:00
mark
ae4624b175
Add sysbeep device with ISA and VIDC attachments.
1998-10-05 00:44:45 +00:00
mark
6f5d4c52a1
sysbeep device attachments for vidc based audio systems.
1998-10-05 00:42:41 +00:00
mark
5f37409d37
Implement sysbeep device for ISA systems. This just hooks into the pcppi
...
code.
1998-10-05 00:41:31 +00:00
mark
20122120a2
Add arm32/isa/joy_isa.c and arm32/isa/joy_isapnp.c
1998-10-05 00:39:44 +00:00
mark
5fe09f2a80
Add ISA and ISAPNP attachments for joysticks.
1998-10-05 00:35:40 +00:00
mark
7a9e6fd3f7
Remove dead FPE option.
1998-10-04 19:03:37 +00:00
matt
e19b4629ab
Use wd.h, not wdc.h -- we are checking for the presence of disks, not
...
controllers. (there may be a controller which has only an atapibus
but no wd disks).
1998-10-02 01:37:51 +00:00
mark
7af1966350
Regenerate from podules.
1998-09-26 03:30:50 +00:00
mark
a96d8e733a
Add EESOX manufacturer ID and SCSI2 podule ID.
1998-09-26 03:29:36 +00:00
mark
bc3dce964b
Declare the coda character device functions here.
1998-09-22 03:42:10 +00:00
mark
2a4d75715c
cfs/CFS -> coda/CODA in strings.
...
Move the cdev declaration for the code filesystem to conf.h
1998-09-22 03:40:42 +00:00
mark
5a0ae6393f
Make isa_bs_subregion() work.
1998-09-22 01:47:53 +00:00
mark
f26ab10148
Spring clean this file.
...
Include dev/isa/files.isa and remove all the mess that is now included
in files.isa
1998-09-22 01:45:47 +00:00
mark
9bdaa48cd5
Hey, lets try using arm32/isa/joyvar.h instead of the bebox one ;-)
1998-09-22 01:42:21 +00:00
mark
03d5fdff96
Fix slightly liberal use of #ifdef DEBUG in last commit.
...
If we get a data abort in SVC mode it is BAD and we cannot recover
so we always want to panic.
1998-09-22 01:40:28 +00:00
mark
6ce4eb9769
We now use the MI wdc/wd drivers so this code is no longer needed.
1998-09-22 00:44:20 +00:00
mark
4f7b1f2739
Removed icside_io.c
1998-09-22 00:43:18 +00:00
mark
a77e995d18
This file is no longer needed with the rewritten attachment to use the
...
MI wdc driver.
1998-09-22 00:42:40 +00:00
mark
071b4fc4d2
Re-written the wdc attachments to attach to the MI wdc driver instead
...
of the MD one.
1998-09-22 00:40:37 +00:00
mark
4494dc9cfc
Removed MD wdc/wd files.
...
Include dev/ata/files.ata and using dev/ic/wdc.c for everything.
1998-09-22 00:37:51 +00:00
mark
aa9401f832
Fix calculation of I/O range when printing child information.
1998-09-22 00:33:51 +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
tv
d909dcee1c
Do not print, or even compile in, non-fatal diagnostics unless DEBUG is set.
1998-09-21 11:24:11 +00:00
mark
53f576f788
bus_space_copy_* -> bus_space_copy_region_*
...
Add BUS_SPACE_COMPAT_OLDDEFS for bus_space_copy_* compat.
1998-09-20 03:37:29 +00:00
mark
7482a84e6a
Be less verbose during various data aborts unless DEBUG is defined.
1998-09-18 04:09:57 +00:00
mark
9f474557fe
Allow boot arguments to override the host id on a per instance basis.
1998-09-18 03:23:19 +00:00
is
95807e512a
Garbage collect unused 3rd parameter to comprobe1().
1998-09-16 21:30:58 +00:00
thorpej
e30eafbbc6
Need 29 longs for jmp_buf now; signal mask is 128 bits.
1998-09-14 18:06:01 +00:00
thorpej
cbfc257eda
sigset13_t -> int.
1998-09-14 02:48:33 +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
1a5b3601cb
Make signal delivery work again.
1998-09-13 08:19:49 +00:00
mark
84f15d23f4
Fix bug in switch_exit() from last commit. This fixes PR 6132.
...
The bug is that the modification to call exit2() removed a stack pop
but not the associated push.
1998-09-10 02:16:28 +00:00
phil
feb70ddafd
Add coda file system character file device.
1998-09-09 19:04:04 +00:00
thorpej
70e641047c
In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
...
to).
1998-09-09 11:17:24 +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
mark
f157d15a41
Guard inclusion of opt_cputypes.h
1998-09-08 03:10:07 +00:00
mark
0c2564ec4a
Remove some unused variables.
1998-09-06 04:25:15 +00:00
mark
f21d591227
Convert bzero() to memset().
1998-09-06 04:24:18 +00:00
mark
f472d5f788
Include machine/intr.h.
1998-09-06 04:22:43 +00:00
mark
249cdfe998
Convert b*() functions to mem*().
1998-09-06 04:20:37 +00:00
tv
a3da712ec1
Add netbsd_sdboot and explain the differences between the kernels.
1998-09-06 03:38:56 +00:00
mark
352fc12abe
Define BootConfig for EBSA285 kernels.
1998-09-06 03:11:38 +00:00
mark
f275d29c4b
Implement a dummy version of pciide_machdep_compat_intr_establish()
...
for now.
1998-09-06 03:01:38 +00:00
mark
3c2941eda0
Initial commit of PCI-ISA bridge device driver. This driver use the
...
PCI-ISA bridge callback mechanism to attach the ISA bus to the PCI=ISA
bridge.
This is basically an import of the i386 pcib.c code with very minor
changes.
1998-09-06 03:00:25 +00:00
mark
722e17fbfe
Don't build depandancies for genassym.c as it no longer exists.
1998-09-06 02:41:19 +00:00
mark
203b612984
Move UVM option to std.arm32
1998-09-06 02:37:47 +00:00
mark
f3889623a7
Add USB device declarations.
1998-09-06 02:35:22 +00:00
mark
9968946f1e
Added USB devices.
...
Added fcom serial device.
1998-09-06 02:33:56 +00:00
mark
896041468d
Initial commit of config file for EBSA285 architecture boards.
1998-09-06 02:30:52 +00:00
mark
928d54f699
Added Footbridge (DC21285) files, PCI and USB.
1998-09-06 02:28:58 +00:00
mark
71150c9734
Initial commit of board support for DEC/Intel EBSA285 architecture
...
systems include the Chalice CATS board and others running the cyclone
firmware.
1998-09-06 02:23:36 +00:00
mark
0823f75d49
Initial commit of DC21285 'Footbridge' core logic support for the
...
StrongARM SA110 processor
The DC21285 provides memory controller, timers, interrupt controller
PCI-HOST bridge and diagnostic serial port.
1998-09-06 02:20:33 +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
mark
646b4ca78b
Declare boot_file.
1998-09-05 04:14:21 +00:00
mark
4285910912
Implement faster method of blocking all lower priority interrupts.
...
Modify current_spl_level to reflect the temporary change in interrupt
priority level which dispatching.
Don't increment the interrupt stats for every handler in the interrupt chain.
Cleaned up a number of comments.
Define soft interrupt names.
A few miscellaneous tidy ups.
1998-09-05 04:05:31 +00:00