Commit Graph

13058 Commits

Author SHA1 Message Date
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
mark b841a746a6 arm32 kernel source restructure
- IOMD register definitions moved from arm32/include/
  - Updated for new IOMD device and all now base relative.
1997-10-14 11:08:45 +00:00
mark b478812b9b arm32 kernel source restructure
- Implement basic DMA support for the IOMD device.
1997-10-14 11:06:56 +00:00
mark 06d8713b3d arm32 kernel source restructure.
- IOMD specific interrupt handling. These files are mainly the old
    arch/arm32/irq* files moved here and updated for new iomd device etc.
    (revision history maintained).
1997-10-14 11:05:58 +00:00
mark 59b6709696 arm32 kernel source restructure
- Create an independ IOMD device that can be utilised by all ARM
    architectures that use an IOMD.
  - Configure all IOMD child devices based on the IOMD type and features.
1997-10-14 10:58:48 +00:00
mark a567ef9bf4 arm32 kernel source structure
- RiscPC specific keyboard mapping information. This used to be
    conditional code in the keyboard driver.
1997-10-14 10:55:48 +00:00
mark b6ee6c1e1d arm32 kernel source restructure.
- Separated the RiscPC specific boot/initialisation code from
    arm32/machdep.
1997-10-14 10:54:35 +00:00
mark 09a3b914e4 arm32 kernel source restructure
- RC7500 specific keyboard mapping information. This used to be
    conditional code in the keyboard driver.
1997-10-14 10:52:39 +00:00
mark efe2e7e6cd arm32 kernel source restructure
- RC7500 machine dependant code. This contains the RC7500 specific
    initialisation code that used to be in arm32/machdep.c
1997-10-14 10:51:39 +00:00
mark 7a8e498fd3 arm32 kernel source restucture.
- New home for RC7500 prom files.
1997-10-14 10:49:53 +00:00
mark dc8e90583d arm32 kernel source restructure
- These files have moved (with revision history) to the RC7500 specific
    directory.
1997-10-14 10:48:19 +00:00
mark 90d4f588a0 arm32 kernel source restructure
- Moved from arch/arm32/arm32 to IOMD specific home retaining history.
1997-10-14 10:40:27 +00:00
mark 258b4c88c5 Cleaned up and indented a lot of comments.
Removed the VALIDATE_TRAPFRAME junk.
Use the definitions in machine/trap.h for the breakpoints.
1997-10-14 10:28:07 +00:00
mark 8075222122 Remove a load of control characters lurking in printf statements.
Most of this file is now destined for the scrap heap.
1997-10-14 10:26:56 +00:00
mark 4bb8bfc3e6 Handle requests for reading and writing the FP registers when no
floating point emulator is compiled in - Ignore the write and return
zeros for the read.
1997-10-14 10:25:48 +00:00
mark b5a19b0a33 Removed the soft interrupt code that now resides in intr.c
Minor code cleanups.
1997-10-14 10:22:01 +00:00
mark 6bc5d93ea6 Implement arm32_drain_write_buffer sysarch() call. 1997-10-14 10:20:48 +00:00
mark 227ca87739 Clean up a few label declarations. 1997-10-14 10:18:45 +00:00
mark 4280862834 This is now just a front end to the general purpose disassembler
in disassem.c
1997-10-14 10:18:02 +00:00
mark c54b8cd7c1 Only flush specific TLB entries after modifing page table entries.
Recognised conditional breakpoints.
SHow the ABT, UND and IRQ mode stack pointer registers in register dumps.
Couple of minor fixups.
1997-10-14 10:16:39 +00:00
mark b9beefc137 Stablised the trace() command. Don't try and trace things that are
obviously not a stack frame.
1997-10-14 10:12:04 +00:00
mark cb5b2b1176 Removed a couple of blank lines. 1997-10-14 10:11:06 +00:00
mark 89f95aa87f Remove explict profiling calls for assembly functions.
Use machine/asm.h macros for declaring assembly functions.
Cleaned up a few comments.
1997-10-14 10:09:46 +00:00
mark c3d0f4999d Added ARM8 CPU support.
Improved SA110 cache cleaning.
Use the macros in machine/asm.h for function declarations.
1997-10-14 10:07:34 +00:00
mark c199ce39e2 Added ARM8 support.
Added support for cpu specific prefetch abort handlers.
Cleanup CPU fault correction code.
Implement generic handling of CPU boot options.
1997-10-14 10:05:39 +00:00
mark f6fc0e468a Move the random device to major 52 as major 50 is already spoken for.
Support a com device as a console.
1997-10-14 10:02:49 +00:00
mark 6cf0deab5f Removed unused variable pamp_debug_level.
Dump the spl masks during configure when printing the ipl levels.
1997-10-14 09:59:40 +00:00
mark b101d67f67 Removed the VALIDATE_TRAPFRAME junk. 1997-10-14 09:58:14 +00:00
mark c7ea5541dc Use the macros defined in machine/trap.h for breakpoint information.
Make sure the cache in synchronised when modifying memory.
1997-10-14 09:57:28 +00:00
mark 08970e572c Use the macros defined in asm.h for all assembly function declarations. 1997-10-14 09:54:31 +00:00
mark eb81503cb0 arm32 kernel source restructure
- Debugged so mis-disassembled instructions.
  - Change the main disassembled so that the function to use for
    printing can be passed in as an parameter.
  - Provide wrappers for disassembling using the standard kernel
    printf() and db_printf()
1997-10-14 09:35:32 +00:00
mark cf50b3771f Optimised version of in_cksum(). This started life as the sparc one
and then had the inline assembly replaced.
1997-10-14 09:32:29 +00:00
mark 270cc3f864 New file to handle the ARM generic software interrupts etc. in the
restructured sources.
1997-10-14 09:31:14 +00:00
mark a18400067c arm32 kernel source restructure
- These files are IOMD specific and as such are moving to the IOMD
    specific directory arch/arm32/iomd
1997-10-14 09:28:06 +00:00
mark 16ef9e8936 arm32 kernel source restructure.
- This file is VIDC specific and is moving to arch/arm32/vidc/
1997-10-14 09:25:13 +00:00
mark 153bcb135c arm32 kernel source restructure.
- This file is IOMD specific and as such has moved to arch/arm32/iomd/
1997-10-14 09:22:45 +00:00
mark fb9c150c48 arm32 kernel source restructure
- Most changes are comment cleanups.
  _ iomd.h is no longer an exported header.
  - Added intr.h for MI interrupt definitions.
  - Added definitions for ARM8 cpu.
  - Added bus dma support.
1997-10-14 09:19:59 +00:00
mark cc6030f45b List the new random device. 1997-10-14 09:06:52 +00:00
mark 40648232db arm32 kernel source restructure
- Moved with revision history to kshell/kshell_debug.c
1997-10-14 09:02:58 +00:00
mark 1f128863e3 arm32 kernel source restructure
- Renamed files with previous revision history maintained
  - Minor changes for restructure.
1997-10-14 09:01:37 +00:00
mark 9a761f480a arm32 kernel source restructure
- These files are being renamed.
1997-10-14 08:00:34 +00:00
mark b360e67c2e arm32 kernel source restructure
- Removed explict profiling calls from the assembly routines
  - Use the *ENTRY() macros on all assembly functions.
  - Clean up exception strings.
1997-10-14 07:56:48 +00:00
mark 05a00dc8d4 arm32 kernel source restructure
- These files are moving home.
1997-10-14 07:49:19 +00:00
sakamoto fe3d055d41 Initial commit of NetBSD/bebox port. 1997-10-14 06:47:17 +00:00
cjs c44bfc9eae Make compile without DIAGNOSTIC set. 1997-10-14 06:22:02 +00:00
jtk d405a9e1d6 split APM stuff into APM and BIOSCALL specific conditionals
move some functions to separate files
1997-10-14 03:57:09 +00:00
jtk f4f693c3a5 move arch/i386/apm_init stuff to arch/i386/bioscall via repository copy/tag strip 1997-10-14 03:56:24 +00:00
jtk 35a23b7856 add bioscall attribute and bioscall.s/apmcall.s files 1997-10-14 03:55:51 +00:00
jtk 36d9fea6ef use NBIOSCALL and NAPM where appropriate (split from former monolithic "NAPM") 1997-10-14 03:55:06 +00:00
jtk a3cd5fc7ba split out apmcall and bioscall into separate files, for ease of modular
construction into other drivers (eventually)
1997-10-14 03:54:18 +00:00
gwr aea301d0c0 Add a call to idprom_init(). 1997-10-13 22:18:52 +00:00
gwr 3716c3b16b Add idprom.c 1997-10-13 21:59:24 +00:00
gwr 25e542020a Move idprom stuff from netif_sun.c to idprom.c (new). 1997-10-13 21:57:58 +00:00
gwr bf1ba6aebb Provide declarations for _STANDALONE also. 1997-10-13 21:37:02 +00:00
lukem 28558b28eb rcsid fascism 1997-10-13 14:22:22 +00:00
leo a1025a03cc Correct TBIS_20 parameters, add DCFA/DCPA defines for the 020/030 (From
Ignatios).
1997-10-13 11:21:12 +00:00
leo 49867b6097 Correct TBIS_20 parameters, add DCFA/DCPA defines for the 020/030 (From
Ignatios).
1997-10-13 11:21:09 +00:00
drochner e14496efb8 Ignore BIOS partition table and disklabel for floppys and RAW_PART,
for consistency with the kernel.
1997-10-13 09:26:29 +00:00
cjs 0e4e4777f8 Add pseudo-device rnd. 1997-10-13 06:59:58 +00:00
scottr 1895730762 Fix an oversight in chrtoblktab[], kindly pointed out by Michael Graff. 1997-10-13 03:59:18 +00:00
explorer 80513cb5ae o Make usage of /dev/random dependant on
pseudo-device   rnd                     # /dev/random and in-kernel generator
  in config files.

o Add declaration to all architectures.

o Clean up copyright message in rnd.c, rnd.h, and rndpool.c to include
  that this code is derived in part from Ted Tyso's linux code.
1997-10-13 00:46:08 +00:00
thorpej 1ae5ca3411 Initialize interrupt handlers and message buffer in mvme68k_init(). 1997-10-13 00:21:08 +00:00
thorpej 118885e061 Consolidate some initialization in mvme68k_init(). 1997-10-13 00:19:37 +00:00
thorpej 05c4cae34d We don't need to call isrinit() twice. 1997-10-13 00:18:28 +00:00
mark 26671f6e12 Removed the commented out FPE option as this has not been used for a
couple of years.
1997-10-12 21:34:30 +00:00
mark 296f0c6a2d Removed the fpe-sp files as we have not built them for about 2 years now. 1997-10-12 21:32:55 +00:00
mark d8e68d4976 This code is so dead it should have been removed a year ago. 1997-10-12 21:31:42 +00:00
mark 96e18bb7fb Removed as these functions are now in libkern. 1997-10-12 21:28:38 +00:00
mark b6486b8e44 Removed files memset.S and bcopy.S as these are now in libkern. 1997-10-12 21:27:44 +00:00
gwr 6c5766e1ce Make this work on the 3/470 1997-10-12 21:08:35 +00:00
mhitch 31508593d3 Oops, wrong file was committed. Get the right one this time. 1997-10-12 19:32:12 +00:00
oki 16bcf097c2 call arpintr() if NARP > 0. 1997-10-12 18:49:25 +00:00
thorpej 4dd0bf9d01 - Consolidate some pre-main initialization into an hp300_init() function.
- Initialize the message buffer earlier, in hp300_init(), rather than in
  cpu_startup(), so that it's initialized before main() is called.
1997-10-12 18:47:51 +00:00
thorpej c3637caf77 Consolidate some pre-main initialization into an hp300_init() function. 1997-10-12 18:45:48 +00:00
thorpej f53f16dd2e Move the prototype of hp300_calibrate_delay() to cpu.h 1997-10-12 18:37:56 +00:00
oki 075543ca76 Replace trap1 and trap2 to native 4.3 process. 1997-10-12 18:25:36 +00:00
oki e2f8a8b9cd Oops, dk_establish still need.
Backout previous commit, added prototype.
1997-10-12 18:23:18 +00:00
oki 787edcfff0 Fix compiler warnings. 1997-10-12 18:20:21 +00:00
oki f78ab6d1cc Added 'arp' to Neptune-X ethernet interface.
Removed local if_se entry (no longer works.)
1997-10-12 18:16:43 +00:00
oki 570278ec01 Added prototypes. 1997-10-12 18:06:21 +00:00
oki f5733259c7 Added FPU_68060 1997-10-12 18:02:32 +00:00
thorpej 116fe63c4e Remove extern declaration of devioc[]. 1997-10-12 17:53:46 +00:00
scw e01a82f2a0 Describe how to configure and use VMEbus RAM cards with an MVME147 card. 1997-10-12 15:45:12 +00:00
scw 73699f5ad7 Fix bug whereby if no VMEbus RAM is defined, a MACHINE_NONCONTIG kernel
would fail to boot.
1997-10-12 15:41:39 +00:00
scw 01e0c4c896 Move MACHINE_NONCONTIG from std.mvme68k to <machine/vmparam.h> as per
Jason's request.
1997-10-12 15:39:35 +00:00
oki fd9fae64cc Added prototype. 1997-10-12 14:44:12 +00:00