Commit Graph

1035 Commits

Author SHA1 Message Date
mycroft 15ae963bea When dumping, print out the device number as major,minor. 1998-01-24 16:46:23 +00:00
mark 09be9c026e Only update the intrcnt array if IRQSTATS is defined. 1998-01-22 00:04:10 +00:00
mark 2b66ad2b89 Implement severl missing prototypes. 1998-01-21 22:55:19 +00:00
mark 330df4c754 Added missing prototypes. 1998-01-21 22:51:38 +00:00
mark b0e99b3251 Cleanup various debugging printf format strings. 1998-01-21 22:34:39 +00:00
mark dfbf823cea Cleanup various debugging printf format strings. 1998-01-21 22:34:38 +00:00
mark a108da3f00 Cleanup function prototyping in disasm_interface structure. 1998-01-21 22:33:10 +00:00
mark ce1e283415 Axe some unused variables. 1998-01-21 22:28:12 +00:00
mark 74ff2dac9d Cleaned up various debugging printf format strings. 1998-01-21 22:25:37 +00:00
mark 52adaefc18 Include sys/systm.h for various prototypes. 1998-01-21 22:20:02 +00:00
mark 0c0da40168 Removed a load of unused variables. 1998-01-20 05:01:14 +00:00
mark 75b044ab61 Prefix the SPL macros to avoid clashes with userland macros (e.g. ipf). 1998-01-20 01:18:18 +00:00
mark 20323bb58c Enable disassembly of ldc and stc instructions.
Fix a couple of prototypes.
1998-01-20 00:51:24 +00:00
mark 6924ceb598 Declare arm8_clock_config() to return an int rather than void. 1998-01-19 23:51:01 +00:00
mark 3f9be879af Removed unused variables and prototypes.
Added missing prototypes.
1998-01-18 04:55:20 +00:00
mark ce9284e134 Make sure halt() is prototyped. 1998-01-18 04:16:06 +00:00
mark 057522ef3f Remove unused variables for the benefit of gcc -Wall -Werror. 1998-01-18 04:13:53 +00:00
mark 3a8b7284b0 Include sys/buf.h for the minphys() prototype.
Fix several printf() format strings.
1998-01-18 04:11:41 +00:00
mark 3224f7c301 Removed unused variables for the benefit of gcc -Wall -Werror. 1998-01-18 04:09:46 +00:00
mark bb12eeb85a Resync with podules file. 1998-01-18 04:02:53 +00:00
mark 0970bb601c Add IDs for Lingenuity and Castle SCSI cards. 1998-01-18 04:01:42 +00:00
mark 921d5339df Prototype kbdreset(). 1998-01-18 03:51:13 +00:00
mark 773c2f9abb Removed unused variables for the benefit of -Wall -Werror. 1998-01-18 03:48:37 +00:00
mark 56bac34cae Declare a prototype for arm8_clock_config(). 1998-01-18 03:43:46 +00:00
mark a89dd06bf2 Removed unused variables and prototypes for the benefit of -Wall -Werror. 1998-01-18 03:42:58 +00:00
mark 56fc27b288 Removed unused variables for the benefit of -Wall -Werror. 1998-01-18 03:39:23 +00:00
mark 405e360fa4 Include dev/scsipi/atapi_all.h 1998-01-17 20:00:59 +00:00
mark f62b027476 Include sys/user.h for the benefit of pmap_activate(). 1998-01-17 07:14:11 +00:00
mark 1c08f38f54 Fix cfdriver declaration broken in recent config change. 1998-01-17 07:06:45 +00:00
cgd d6e5187749 add 'sd* at atapibus? drive ?' to all kernel configs already containing
an analogous line for 'cd'.
1998-01-15 02:26:26 +00:00
cgd 4fdd07b4c5 remove 'ata' interface attribute. it now is define in the MI conf/files. 1998-01-14 23:56:23 +00:00
thorpej 687449a900 Update for changes to config. 1998-01-13 02:09:58 +00:00
thorpej e41a79ff38 Regen. 1998-01-09 06:58:04 +00:00
thorpej bd5df8e610 Put RCS IDs into generated files, in the correct place. 1998-01-09 06:57:44 +00:00
thorpej db8d7d755a Regen: Back out RCS ID related changes. 1998-01-08 01:05:10 +00:00
thorpej af0fb8a65a Back out RCS ID related changes. 1998-01-08 01:04:44 +00:00
perry 49ad493e50 RCSID Police. 1998-01-05 21:11:15 +00:00
perry 489c2f7e06 make script insert RCS ids into generated files 1998-01-05 21:10:18 +00:00
perry b46484bb8a RCSID Police. 1998-01-05 20:51:25 +00:00
perry 015e898c02 RCSID Police. 1998-01-05 07:02:46 +00:00
perry 3e0fad1868 RCSID Police. 1998-01-05 06:28:44 +00:00
thorpej b9f1b716f3 Now that all ports have pmap_activate(), and it has an identical interface,
prototype it in <vm/pmap.h>
1998-01-03 01:12:59 +00:00
thorpej a6f228e498 Make pmap_activate() take a struct proc *. 1998-01-02 22:36:33 +00:00
kleink c87631771e Add COMPAT_13. 1997-12-01 14:52:51 +00:00
kleink 66c2794142 Add _BSD_SUSECONDS_T_ and _BSD_USECONDS_T_; do some space vs. tab formatting
cleanup
1997-11-23 20:20:53 +00:00
fair 315f8de9c2 add pseudo-device rnd, commented out 1997-11-20 08:11:14 +00:00
lukem 6c986561ee * add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
* fix up use of 'options<SPACE><TAB>'
1997-11-17 01:57:23 +00:00
veego df6d37534b s/NETHER/NARP/ and s/ether.h/arp.h/ for the 'new' arp system. 1997-11-13 10:37:40 +00:00
thorpej ce4c770f88 Make sure CPP, AR, AS, and RANLIB are defined. 1997-11-12 23:11:50 +00:00
thorpej a421995756 Define LORDER, NM, and TSORT here, like we do the rest of the tools. 1997-11-12 22:25:31 +00:00
mark ae0af9300a Fix a bug in irq_release() when searching interrupt list for the handler
to remove. The address of the pointer rather than the address of what
is pointed to was use to track the previous handler resulting in problems
when releasing a chained irq. (from John Ballance)
1997-11-07 01:04:51 +00:00
mark b2b71ad982 Added amps device (Atomwide Multi-Port Serial card). 1997-11-06 02:16:03 +00:00
mark 012044674d Add deice, attachment and file information for the Atomwide Multi-Port
Serial card.
1997-11-06 02:12:27 +00:00
mark 4c86426324 Initial commit of the Atomwide Multi-Port Serial card driver. This driver
just provides attachments to the generic 16550 IC driver.
1997-11-06 02:08:51 +00:00
mark 1a05b5daa4 Cleanup and simplify the padding at the start of the mbuf chain so that
the IP packet is word aligned using the ALIGN macro.
1997-11-06 01:55:18 +00:00
mark 2b325ac968 Remove verbose printing when disabling interrupts on shutdown. 1997-11-06 01:52:43 +00:00
mark f5220ac842 MINIROOT_SIZE -> MINIROOTSIZE
Wildcard root device so that faked md device (MEMORY_DISK_IS_ROOT)
will be selected
1997-11-06 01:12:56 +00:00
mark 4245860a87 MINIROOT_SIZE -> MINIROOTSIZE
Wildcard root device so that faked md device (MEMORY_DISK_IS_ROOT)
will be selected
1997-11-06 01:01:01 +00:00
mark da3b854a7d Ignore memory disk hooks and boot args if MINIROOTSIZE is defined.
Added check for zero terminator after removing spaces in
get_bootconf_option(). This fixes a problem of matching NULL terminators
if there are trailing spaces in the boot args.
1997-11-06 00:57:02 +00:00
mark fe47853f6f Use the soft copy of the cpu control register instead of trying to read
the cpu control register as this register is write only on some processors.
1997-11-06 00:51:02 +00:00
mark 286f2f07bb Keep a global soft copy of the cpu control register in cpuctrl as some
processors have write only control registers.
1997-11-06 00:43:41 +00:00
mark 426af505f2 In cpufunc_control() only write to the cpu control register if the new
value is different from the old one.
1997-11-06 00:35:41 +00:00
thorpej 0b04d28454 Mark uses of long long with /* LONGLONG */ for lint. From
Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 04:36:08 +00:00
thorpej fdcd077928 asm -> __asm__ 1997-11-05 00:34:15 +00:00
thorpej 4730a8cbec Bug fixes and cleanup from Chris Demetriou <cgd@pa.dec.com>:
- fix _C_LABEL so that it actually works.
- make __RENAME use _C_LABEL.
- fix __RENAME so that it expects an unquoted argument.
- fix __indr_reference and __warn_references so that they
  supply their own final semicolon.
- define __warn_references to nothing if not GNU C (required
  by the way it's used).

The __warn_references semicolon change has to be made
so that __warn_references can be defined into nothing.
(A ; all by itself isn't a great idea.)  The __indr_reference
change was made for consistency.
1997-11-04 23:09:23 +00:00
mark 07db350668 Define __STRING and __CONCAT macros for assembly routines. 1997-10-27 00:28:09 +00:00
mark 8df7358c90 Include asm.h instead of cdefs.h 1997-10-27 00:26:07 +00:00
thorpej 665f7d1a6e Implement __RENAME() in <machine/cdefs.h> 1997-10-22 05:20:32 +00:00
mark c1e2e66225 Handle a delay of zero in delay(). 1997-10-19 08:55:07 +00:00
augustss e7029fc0da Make the audio API (almost) SunOS compatible.
The changes is to allow some limited mixer manipulation through
the audio device (instead of the mixer device).
This rendered 4 methods in audio_hw_if unused so garbage collect these.
1997-10-19 07:41:33 +00:00
mark dd5b814bb5 Don't try and support serial consoles for the riscpc. 1997-10-18 04:47:57 +00:00
mark 441bad5ec5 Updated for a couple of changes to the arm32 dp8390 driver brought
upto date with respect to the MI one.
1997-10-18 04:39:12 +00:00
mark 35286a1259 arm32 specific version of the dp8390 driver from dev/ic. Really the
MI dp8390 and ne2000 drivers from dev/ic could / should be used but this
version has a few changes and has been well tested and thus should be
used for 1.3.
Hopefully this driver will be short lived.
1997-10-18 04:38:19 +00:00
mark 469dddc61d Updated to include atapibus as standard. 1997-10-18 04:23:32 +00:00
mark 7ee02db44d Link address is 0xf0000000 now we use the NetBSD ld.
Don't build makemodes etc. for configs that don't require it.
1997-10-18 04:20:17 +00:00
mark ea1c03acd8 Fix bug in last commit that only worked with cpp -traditional. 1997-10-18 02:46:09 +00:00
mark 1cc95a3df0 Fix .type directives to use #function rather than @function.
This is due to the problem of the @ character being a single character
comment in the asm assembler. The '#' character has now been chosen
instead for future versions of GCC and GAS so lets conform now.
1997-10-17 18:27:30 +00:00
mark 65295639f5 Updated for the new wd.c and wdc.c files in arm32/dev/ 1997-10-17 07:00:34 +00:00
mark 0b03e20959 Include <vm/vm.h> 1997-10-17 06:59:25 +00:00
mark 6886eff3c5 Updated for recent changes to the wd driver. Use wdlink.h instead
of wdcvar.h
1997-10-17 06:52:26 +00:00
mark 74c3a08d8d Updated for recent wd driver changes. Include wdlink.h instead of wdcvar.h 1997-10-17 06:49:17 +00:00
mark c004efb65e Remove redundant .req statements.
Use the ENTRY() macro from machine/asm.h for function declarations.
1997-10-17 06:46:27 +00:00
mark e9b9aedd51 Synchronise with recent changes to the ISA wd driver.
Remove the remaining ISA dependencies, busify and support 32 bit PIO.
1997-10-17 06:41:35 +00:00
mark 2e4ccc80c0 Include vm/vm.h 1997-10-17 06:33:57 +00:00
mark 7df23bd595 Remove some redundant .req statements. 1997-10-17 05:46:16 +00:00
mark 18a35528c5 Don't include sys/sysctl.h as it is not needed. 1997-10-17 05:45:40 +00:00
mark b7eeb445e8 Remove the inclusion of sys/sysctl.h as it is not needed. 1997-10-17 00:14:12 +00:00
mark 9f78ac06bf Remove inclusion of sys/sysctl.h as this is not needed.
Remove debug code relating to ARMFPE userret counting.
1997-10-17 00:12:40 +00:00
mark 5a9af5c400 Include vm/vm.h 1997-10-17 00:09:48 +00:00
mark 5246572289 Include sys/vmmeter.h for vmmeter structure definition. 1997-10-17 00:08:33 +00:00
mark d75175b393 Updated to remove local copies of the com and lpt driver now we use
the MI ones.
1997-10-16 18:38:55 +00:00
mark 0f1f684082 Updated to use the MI dev/ic/com.c driver. 1997-10-16 18:37:38 +00:00
mark 189bd69e2b Updated to use the MI dev/ic/lpt.c driver. 1997-10-16 18:35:53 +00:00
mark b9474fb561 These files are no longer needed as the MI com and lpt drivers in dev/ic
are now used.
1997-10-16 18:33:50 +00:00
mark 693c30544f Initial commit of the EtherM network slot driver. 1997-10-15 00:29:25 +00:00
mark 0731581015 Define the IRQ and DMA interrupt numbers in the podule structures so these
are passed to child devices.
Support disabling the attachment of specific podules with boot time
arguments.
1997-10-15 00:02:09 +00:00
mark da99d2d6ce Use the bs_notimpl* functions for unsupported bus space operations. 1997-10-14 23:52:46 +00:00
mark 1d4c6912a3 Initial commit of a driver for the Simtec IDE podule. This driver just
provides attachments and I/O specific functions for the generic
arm32/dev/wd driver.
1997-10-14 23:20:51 +00:00
mark 55ce4217fd Updated for new location of the wd driver.
Use the interrupt specified in the podule structure when claiming
interrupts.
Updated the attach and probe declarations.
1997-10-14 23:09:38 +00:00
mark 62331864bc Remove profiling calls from assembly routines. 1997-10-14 23:05:03 +00:00
mark 432c66fa8d Updated for new arm32 source structure.
Updated declarations of attach and probe functions.
Don't define dummy functions for un-supported bus space operations,
instead use the bs_notimp*() functions.
1997-10-14 22:59:08 +00:00
mark 4162ff2287 Updated for source code restructure.
Fix attach and probe declarations.
1997-10-14 22:43:28 +00:00
mark 82441d4be5 Use the podule interrupt number provided by the podule structure when
attaching interrupts.
Fixed declarations of the attach and probe functions.
1997-10-14 22:31:50 +00:00
mark dcbc0a0652 Fix a couple of typos. 1997-10-14 22:27:41 +00:00
mark 48d4e57477 Sync with new version of podules. 1997-10-14 22:22:50 +00:00
mark fa8313f451 Add a definition for a ROM-less ether3 podule. 1997-10-14 22:22:08 +00:00
mark 1fae101a44 Cleanup the cache cleaning code and remove the dead code. 1997-10-14 22:09:24 +00:00
mark a49828e8be Use a consistant method for obtaining the interface host id from the
boot arguments.
1997-10-14 22:07:47 +00:00
mark 853fbde7e4 arm32 kernel source restructure
- Updated for new structure.
1997-10-14 21:59:28 +00:00
mark fef5b2359a Config file for RiscPC installation. 1997-10-14 21:57:54 +00:00
mark c596f12569 Typical Acorn RiscPC kernel config file. 1997-10-14 21:57:36 +00:00
mark 7b208604b3 New kernel config for A7000 installations. 1997-10-14 21:57:14 +00:00
mark 08125a063f Base RC7500 config updated for recent changes. 1997-10-14 21:56:07 +00:00
mark 24c2593bbb My main development config updated for recent changes. 1997-10-14 21:55:33 +00:00
mark 252512158d COnfig file updated for recent changes. 1997-10-14 21:54:56 +00:00
mark 36985e609f Standard A7000 kernel config updated for recent changes. 1997-10-14 21:54:18 +00:00
mark 3c0e5593de These configs are no more. 1997-10-14 21:48:04 +00:00
mark 0a75e5a609 arm32 kernel source restructure
- New home of the RC7500 specific es driver. Moved with revision history
    from mainbus.
  - Really this driver should utilise the MI 91C90 driver and one day if
    I can get hold of some hardware to test with I will update it.
1997-10-14 21:45:21 +00:00
mark b0d9812b9c arm32 kernel source restructure
- This driver is RC7500 dependant and has been moved to the RC7500
    specific directory.
  - Ideally this driver should be using a dev/ic driver.
1997-10-14 21:38:49 +00:00
mark 340335d484 Updated to reflect arm32 kernel source restructuring.
Use the bs_notimpl functions rather than creating a set of dummies
for un-supported bus space tag functions.
1997-10-14 21:25:01 +00:00
mark be34bc3390 Support kernels build with no floating point hardware or emulator support.
This will be the standard as we are switching to soft-float compiling.
Implemented ARM8 CPU support.
1997-10-14 20:01:54 +00:00
mark a1a5af087e arm32 kernel source restructure
- The floppy driver now attaches as a child of the pioc device.
1997-10-14 20:00:03 +00:00
mark c907dcc22c arm32 kernel source restructure
- Implement pioc device driver that handles the memory mapped serial,
    parallel, floppy and IDE interfaces.
  - Provide child attachments to the generic drivers for serial,
    parallel and IDE.
1997-10-14 19:57:39 +00:00
mark 6ebb4a60e3 arm32 kernel source restructure
- These files should be removed and the dev/ic driver used instead.
  - Until this time move these files to a bus independant location.
1997-10-14 19:43:27 +00:00
mark 8da7381fe1 Implement dummy bus space functions for use by bus space tags that do
not provide all bus space functions.
1997-10-14 19:40:39 +00:00
mark 187190c809 arm32 kernel source restructure
- Removed mainbus specific code and moved the basic drivers from
    arm32/mainbus to arm32/dev. Added code so that these drivers
    will support multiple attachments from different ARM busses.
1997-10-14 19:35:34 +00:00
mark 60cfd15fdc arm32 kernel source restructure
- Implement new time-of-day device. This device provides the
    inittodr() and resettodr() functions and is designed to be a child
    device of an RTC device. This allows one of multiple RTC's attached
    to be used to provide the basic time of day functions.
1997-10-14 19:19:40 +00:00
mark 17d9a824f2 arm32 kernel source restructure
- New home of the wd driver now the mainbus specific attachments have
    been removed so this can be shared between ARM busses. (rev history
    preserved).
1997-10-14 19:13:54 +00:00
mark 29f92bde4f arm32 kernel source restructure
- New home for the rtc driver now that the mainbus specific attachments
    have been removed.
  - This device will now parent a time-of-day clock device.
1997-10-14 19:07:20 +00:00
mark f15981dab6 arm32 kernel source restructure
- New home for lpt driver, (moved from arm32/mainbus) without the
    mainbus specific attachments. (Revision history preserved).
  - Hopefully this will be short lived with the new dev/ic/ lpt driver.
1997-10-14 19:04:08 +00:00
mark 713c03a3d5 arm32 kernel source restructure
- New home for the com driver, (moved from arm32/mainbus) without
    and bus specific attachments. (Revision history maintained)
1997-10-14 19:00:37 +00:00
mark 416b5e2fd3 arm32 kernel source restructure
- These drivers have had the mainbus specific attachments removed so
    that they can be shared between arm32 busses.
  - Moved to arm32/dev
1997-10-14 18:55:49 +00:00
mark b0e76afee4 arm32 kernel source restructure
- Moved the audio files that are VIDC dependant from the mainbus
    directory to the vidc directory. (revision history preserved)
1997-10-14 12:03:10 +00:00
mark 107eb31dcb arm32 kernel source restructure
- makemodes.c has moved from the arm32/arm32 directory since it build
    monitor information for VIDC based displays. Revision history
    preserved.
1997-10-14 11:59:49 +00:00
mark 84d5e5ef0a arm32 kernel source restructure
- The devices are VIDC specific and thus are moving to the arm32/vidc
    directory.
1997-10-14 11:53:59 +00:00
mark 9a567bec80 arm32 kernel source restructure.
- Implement a vidc device. This device is the parent for all the
    devices that are VIDC dependant e.g. video and audio.
1997-10-14 11:52:08 +00:00
mark 7b377e8c50 arm32 kernel source restructure
- the console code from arm32/dev has been moved here as it is VIDC
    specific.
  - A few minoir code cleanups to help it fit with the restructures VIDC
    sources
1997-10-14 11:49:11 +00:00
mark 553af4fcee arm32 kernel source restructure
- Implement a vidcvideo device to act as the parent for the VIDC console.
1997-10-14 11:47:17 +00:00
mark 8d8f4fc1a7 arm32 kernel source restructure
- Moved here from arm32/dev as these files are specific to the
    VIDC console.
1997-10-14 11:45:30 +00:00
mark 0c35c55f78 arm32 kernel source restructure
- These file are specific to the VIDC base console.
1997-10-14 11:36:51 +00:00
mark ade593980f arm32 kernel source restructure
- These files are moving to a VIDC specific directory.
1997-10-14 11:35:46 +00:00
mark bb148db380 Declare memory_disk_size here. 1997-10-14 11:32:47 +00:00
mark da21556c35 Major overhaul.
Removed all the old code for allocation / management of level 1 page
tables.
Implemented new static / dynamic L1 page table allocation  / management
using vm_page_alloc_memory().
Fixed bug in pmap_page_index() when specifing addresses between memory
banks.
Serious cleanup up of the comments
1997-10-14 11:31:30 +00:00
mark 4c8c2c8bc7 Replace the DEBUG_VMMACHDEP guards with PMAP_DEBUG which is more
universal.
Cleaned up some of the debug code.
1997-10-14 11:23:54 +00:00
mark c565f1cfdf Removed the VALIDATE_TRAPFRAME junk.
Removed a *load* of dead / old debugging code.
Cleaned up and indented various comments.
1997-10-14 11:22:48 +00:00
mark cc3928cd66 arm32 kernel source restructure
- Major overhaul.
  - Removed all the RiscPC and RC7500 specific code and moved that into
    separate files for the two machine architectures.
  - This routine now provides support for the machine specific machdep
    code and provides cpu_startup().
1997-10-14 11:21:21 +00:00
mark 5be47da72c Cleanup up and correctly indented lots of comments.
Removed all the VALIDATE_TRAPFRAME junk.
Generally spring cleaned the code.
1997-10-14 11:19:15 +00:00
mark 9065e731d6 arm32 kernel source retructure
- New versions of the drivers for the devices that really are IOMD
    specific. The old arm32/mainbus drivers have either been rewritten
    and are now child devices of the IOMD or they have been restructured
    and split into generic drivers will IOMD specific attachments.
1997-10-14 11:16:35 +00:00
mark f26efbb3d5 arm32 kernel source restructure
- These files are not generic or even really mainbus specific.
    They are IOMD specific device.
  - These devices have been re-written as child devices of the IOMD
    device and the new versions will take up residence in the arm32/iomd
    directory with the other IOMD specific code.
1997-10-14 11:13:20 +00:00
mark 480bd07ef8 arm32 kernel source restructure
- IOMD specific clock support. This used to the the generic ARM clock
    support but is now specific to the IOMD device.
  - Updated to support new IOMD device etc.
1997-10-14 11:09:56 +00:00