Commit Graph

32771 Commits

Author SHA1 Message Date
is 6183998d51 XXX Workaround for the "ld buserr with new crt0.o" problem, suggested by tls.
Should be backed out once the real problem has been solved.
1997-10-14 11:45:25 +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
matthias 6aca6ab9a4 Apply Ian Dall's patch from kern/4004. Ian's comment:
The following patch employs a smarter adaptive polling
	scheme. It also improves the comments, in particular giving
	due credit to Phil Budne for his efforts in nunderstanding
	the device. It also relaxes the pattern for auto config so
	more devices match.
1997-10-14 11:18:18 +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