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
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
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
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
mycroft
3081c6f8cf
AudioC[A-Z] -> AudioC[a-z]
...
AudioElinear -> AudioEslinear
1997-10-11 12:43:51 +00:00
mycroft
20b05a6bc4
Make these closer to working.
1997-10-11 09:10:25 +00:00
bouyer
6ab3092b11
Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
...
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
1997-10-09 15:42:19 +00:00
thorpej
e3834cc351
Implement DIOCGDEFLABEL.
1997-10-08 23:37:50 +00:00
mark
6a8334e84e
Change p_vmspace->pmap references to p_vmspace->vm_map.pmap so that
...
we no longer need __VM_PMAP_HACK.
1997-10-06 01:12:05 +00:00
mark
ac03dfe307
Change p_vmspace->pmap references to p_vmspace->vm_map.pmap so that
...
we no longer need __VM_PMAP_HACK.
1997-10-06 01:12:03 +00:00
mark
7483a0a6ba
Change p_vmspace->pmap references to p_vmspace->vm_map.pmap so that
...
we no longer need __VM_PMAP_HACK.
1997-10-06 01:12:01 +00:00
mark
c4ca3a48de
Changed VM_PMAP reference now that is is a pointer rather than an address.
1997-10-06 00:49:34 +00:00
mark
623bc2b574
Change vm_pmap reference to vm_map.pmap now we have dropped __VM_PMAP_HACK.
1997-10-06 00:47:34 +00:00
mark
84e72a4ba0
Removed __VM_PMAP_HACK
...
Added a couple of reserved field to the pmap structure.
1997-10-05 22:59:36 +00:00
mark
9461d08a78
Define a new sysarch call number ARM32_DRAIN_WRITEBUF that can be used
...
to drain any CPU write buffer.
1997-10-05 22:58:26 +00:00
mark
3b844ee813
Cleaned out some old junk.
...
Enabled .type directive in the ENTRY() macro.
1997-10-05 22:51:05 +00:00
mark
9752ea1553
Define the new format of a setjmp buffer.
...
Define macros for the magic numbers and for the various field.
1997-10-05 22:48:19 +00:00
lukem
7d508b124f
define SIZE?=size, and use ${SIZE} instead of size. makes cross
...
compilation easier
1997-10-03 07:17:00 +00:00
christos
3996b53189
PR/4162: Chris Jones: make cleandir does not work properly; it does not
...
remove the object files and the .depend file in the kernel build directory.
1997-09-30 22:39:49 +00:00
leo
d4713d24c2
Implement the kernel part of pr-1891. This allows for a more flexible sized
...
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.
1997-09-19 13:52:37 +00:00
mycroft
16a8787248
Fix execve(2) and *setregs() interfaces so emulations can set registers in a
...
more correct way. (See tech-kern.)
1997-09-11 23:01:44 +00:00
bouyer
6f3bab1f59
Merge scsipi branch in the mainline. This add support for ATAPI devices
...
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
augustss
6616d47838
- Change audio_hw_if a little: set_param now sets the play and record modes
...
at the same time instead by using two different calls. This enables
it to check more easily if the combined mode is all right.
- Improve the error checking in audio.c.
- Add a new audio property, AUDIO_PROP_INDEPENDENT, show if the
play and record settings are independent.
- Fix some buglets in audio.c.
1997-08-24 22:31:23 +00:00
mjacob
6ac7f6248f
add a before tab to SCSIVERBOSE
1997-08-23 19:16:06 +00:00
mjacob
1a7afa3853
add commented out reference SCSIVERBOSE option
1997-08-20 18:38:13 +00:00
augustss
332ad95e76
Change the MI audio driver so it attaches to the MD driver in the
...
normal way. This requires adding a line to the config files to
get audio to work again.
1997-08-19 23:49:33 +00:00
mark
0efc44fd71
Cast the destination address for the cpu_cache_syncI_rng() function in
...
db_write_text().
1997-08-07 16:24:34 +00:00
mark
fdcef230ca
Added support for built in miniroot ramdisk. Define MINIROOTSIZE to be
...
the number of blocks to reserve for the ramdisk.
1997-07-31 23:13:12 +00:00
mark
4f2ae66cf0
Cleaned up mmmmap(). No point in trying to support mmap of /dev/kmem since
...
physical addresses could be in transit.
1997-07-31 23:02:24 +00:00
augustss
658656bb99
Audio changes:
...
- Change the way attach and open works to allow multiple audio
devices.
- Split the mulaw.c file into two to avoid dragging in mulaw
convertsion when they are not needed. Add 16 bit alaw/mulaw tables.
- Change the way audio properties are gotten.
- Recognize more versions os SoundBlaster.
1997-07-31 22:33:08 +00:00
mark
6c440cc51b
Support kernels up to 4MB in size (was 2MB) in initarm().
...
Removed some un-necessary cache synchronisations.
Call the cpu_sleep() function in an infinite loop in halt().
Removed the long dead swap specifier from rc7500 initarm().
1997-07-31 02:59:06 +00:00
mark
3f42259896
If MEMORY_DISK_IS_ROOT is defined don't bother to compiling in the code
...
to extract the root filesystem name from the bootargs.
1997-07-31 01:11:33 +00:00
mark
67130a7f8d
Added dev/clock_subr.c to the files list.
1997-07-31 01:08:26 +00:00
mark
0e8ba1b90b
Overhauled and updated to work with dev/clock_subr.[ch]
1997-07-31 01:08:01 +00:00
mark
e375e0f448
Disable the reporting of the easi space timings. At podulebus attach time
...
the only timings we know are the ones inherited from the boot and the
drivers that will attach to the bus may change these.
Use the IS_PODULE macro for checking manufacturer and podule id's
against attach args.
1997-07-31 00:43:28 +00:00
mark
18b47c4129
Define an IS_PODULE() macro to match a podule manufacturer and id with
...
podulebus attach args.
1997-07-31 00:40:56 +00:00
mark
d02fe01663
Comment out a load of special debug messages.
...
Fix the mappings of the L2 page table used to map the process page tables
so there there is no user access (was user read only access).
1997-07-31 00:36:55 +00:00
mark
d50cd34639
Remove a dead version of the _MCOUNT_DECL macro.
1997-07-31 00:22:15 +00:00
mark
4d5984d00a
When syncing memory and cache after modifing the text area sync only
...
the modified address range rather than the whole cache/memory.
1997-07-31 00:19:31 +00:00
mark
2319a993f9
Add specific checks for user space accesses to the page table area (just
...
above the stack).
1997-07-31 00:16:12 +00:00
mark
905a93b982
Removed several lines of unreachable code in eagetpackets().
...
Reset the interface every time an error is detected in eagetpackets()
otherwise the interface can end up in a jammed state.
1997-07-31 00:13:18 +00:00
mark
504ddabd38
Removed several lines of unreachable code in ebgetpackets().
1997-07-31 00:09:48 +00:00
mark
57a231e4b6
Modified the cpu_cache_purge_ID() calls in pagemove(), vmapbuf() and
...
vunmapbuf(). If the address range involved is 4KB or less purge the
specific address ranges. otherwise purge the whole cache.
1997-07-31 00:08:04 +00:00
mark
50633bf9a8
Added calls to mcount() for the assembly functions here if GRPOF and
...
PROFILE_ASM are defined.
Added missing .data directive prior to the curpcb declaration.
Fixed the calling of the cpu sleep function in idle(). The sleep function
takes a single argument which is the sleep mode. This is currently unused
but 0 should be passed for future compatibility.
1997-07-31 00:03:54 +00:00
mark
9767e83757
If a transfer completes and we have performed a check sense, check the
...
sense code for zero and if found repeat the request sense. This solves
a bug in the sbic driver when accessing JAZ drives that results in
faulty sense data being returned following a transfer. A retry returns
the correct information.
This is probably showing up a more fundemental bug in the sbic driver
and will probably have to wait for a complete overhaul of the sbic
driver (planned) for a perfect fix.
Fix supplied by Rob Black <r.black@ic.ac.uk>
1997-07-31 00:00:12 +00:00
mark
258768a81d
Use the cookie field in the podulebus tag (current unused) as a register
...
shift value thus making register more flexible.
Remove the absolute shift of 2 in all the podule read/write routines and
use the tag cookie (passed in r0) as the shift value.
1997-07-30 23:52:08 +00:00
mark
4e641ac6d1
Utilise the cookie field in the podulebus tag (currently unused) as a
...
register shift value.
For the podulebus_bs_tag structure set the shift to 2 (the current
hardcoded value in the actual read/write routines).
Use the cookie to provide the register shift in podulebus_subregion().
1997-07-30 23:49:54 +00:00
mark
74bac48941
In wdcprobe() fail if the iobase defaulted rather than being specified in
...
the locators.
In wdcprobe_internal() set the WDCF_32BIT flag if the data32 io handle
is set.
All transfers to and from the data register now check for softc flags
to see if 32 bit transfers are enabled i.e. reading drive parameters
and doing a dump will use 32 bit transfers as well.
1997-07-29 01:59:20 +00:00
mark
27646ce7d4
Keep note on when we are in postmortem() in order to avoid being
...
recursively called.
1997-07-29 01:37:30 +00:00
mark
02c17d67e3
Remove some redundant .global directives as ENTRY() macro includes
...
this anyway.
1997-07-29 01:20:34 +00:00
mark
0e187069c2
The cpu_cahce_*_rng() functions take a start address and a length rather
...
than a start address and end address so reflect this in the macros and
prototypes.
1997-07-29 01:18:29 +00:00
mark
716c89ccb2
Include locators.h for the definition MAINBUSCF_BASE_DEFAULT.
...
In the probe routines check the mainbus attach args mb_iobase field
to verify that the iobase did not default as an iobase address needs
to be specifically specified.
1997-07-28 18:07:03 +00:00
mark
d34422f375
In iicmatch() fail the probe if the mainbus attach args iobase is equal to
...
MAINBUSCF_BASE_DEFAULT as an explicit iobase must be specified.
In iicsubmatch() fail the match if the iic address locator defaulted.
1997-07-28 18:01:49 +00:00
mark
03409a1eb4
Pass MAINBUSCF_BASE_DEFAULT in the mb_iobase field if none is specified
...
in the locators.
In mainbusprint() only print the iobase if it is not the default.
1997-07-28 17:58:56 +00:00
mark
73d4af0688
Support a boot option asc.hostid= to allow the adapter target ID to
...
be set.
1997-07-28 17:56:27 +00:00
mark
fc9ce1cfd8
Recognise both Icubed and Acorn versions of the EtherH netslot card as
...
they have different podule ID's.
Always attach the driver even if it appears to fail the tx test as there
appear to be a collection of cards around that will fail this tx test but
will actually work ok - This problem needs further investigation.
1997-07-28 17:54:07 +00:00
mark
d910d89af8
Rebuilt from podules rev 1.6.
1997-07-28 17:48:45 +00:00
mark
be04b11f72
Added various new podule manufacturer ID's and product ID's.
1997-07-28 17:47:53 +00:00
augustss
d58bc6796f
audio: Simplify handling of AUDIO_SETFD and committing of encoding mode.
1997-07-27 23:51:48 +00:00
augustss
9745684ebe
Changes to the sudio system:
...
- It is now possible to handle devices that want "looping" DMA,
e.g. the SoundBlaster correctly. The WSS and SB drivers use this.
To do this several new methods were introduced in audio_hw_if.
- Different silence handling (forced by previous change).
- The audio driver can now be mmap()-ed, but due to problems in
the VM system only for writing for now.
- The OSS (Linux) audio emulation takes advantage of some of the
new features.
1997-07-27 01:16:32 +00:00
mark
c025aad597
Implement __indr_reference macro.
1997-07-22 14:35:22 +00:00
mark
917e4bdd0b
Implement inst_unconditional_flow_transfer as a macro.
1997-07-17 02:28:39 +00:00
jtk
b4777471db
use locator defines in "locators.h" to index cf_loc[]
1997-07-17 01:52:54 +00:00
jtk
47c4af3536
use locator defines in "locators.h" to index cf_loc[]
...
still to be done and/or decided not to be done: replace all *UNK uses in
mainbus code with the native names from locators.h
1997-07-17 01:48:35 +00:00
mark
00b3633e19
Disable the SUBDIRS= lines as we have no subdirs to build.
1997-07-16 02:46:37 +00:00
augustss
8727da130b
In the name of backwards compatibility AUDIO_ENCODING_LINEAR has been
...
renamed AUDIO_ENCODING_SLINEAR and AUDIO_ENCODING_LINEAR reverts to the
NetBSD 1.2 sematics. A kernel with COMPAT_12 defined will accept
AUDIO_ENCODING_LINEAR and treat it as before, without COMPAT_12 it
will be rejected.
1997-07-15 07:46:04 +00:00
mark
ec553ec8c0
New version of the ARM FPE core built. This core does not have all the
...
builtin veneer code. Instead this veneer code has been moved to kernel.
This removes the need for any runtime fixups of the fpe.
1997-07-08 19:41:28 +00:00
thorpej
0404c01c46
#define DB_AOUT_SYMBOLS
1997-06-26 01:26:56 +00:00
thorpej
45097cab83
foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
...
from the disklabel accordingly.
1997-06-24 00:38:46 +00:00
pk
f5bf0d3701
wdsize(): only call wdopen()/wdclose() if not already open, per the
...
current `openmask'.
1997-06-18 20:39:55 +00:00
mrg
552af779d2
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:46:19 +00:00
mrg
dc6a98e92c
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:09:23 +00:00
veego
6ab737a609
Initialize machine from MACHINE and machine_arch from MACHINE_ARCH.
1997-06-08 23:59:57 +00:00
veego
de7e49a954
Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch.
1997-06-06 23:26:01 +00:00
mark
323b20590a
Remove some nasty casts in macros. This fixes problems accessing raw
...
partitions > 4GB in size.
1997-06-03 23:48:36 +00:00
gwr
e2a58b69f7
Add #define __VM_PMAP_HACK as a temporary measure.
1997-05-16 21:35:30 +00:00
augustss
e63a553175
Change the interface between high and lowlevel audio drivers again:
...
Set the encoding parameters slightly differently.
Remove the SW encoding/decodinf functions from this interface
and move them to the audio_parameter struct; this is both more efficient
and flexible.
1997-05-09 22:16:27 +00:00
augustss
c4a52794f1
Convert to new orthogonal audio encoding scheme and implement
...
some of the new encodings. The change to ioctl AUDIO_GETENC is
NOT backwards compatible.
1997-05-07 18:51:31 +00:00
mycroft
84bca5d679
Don't use _SUBDIRUSE outside of bsd.subdir.mk.
1997-05-07 17:28:47 +00:00
augustss
526ef2f618
Change the interface between the high and low level audio drivers
...
so that all audio encoding parameters are set at once. This simplifies
the interface and make error checking easier.
1997-04-29 21:01:33 +00:00
christos
e0443987e7
Add netatalk netisr
1997-04-02 21:48:55 +00:00
thorpej
cb24b0200a
Don't allocate mclrefcnt[]; it's dead and gone.
1997-03-27 21:01:20 +00:00
gwr
37b247edde
Renames: /dumpconf/cpu_dumpconf/, /boot/cpu_reboot/
1997-03-26 22:42:13 +00:00
gwr
71e43d14ab
Move findroot/setroot stuff from configure() to cpu_rootconf().
1997-03-26 22:38:40 +00:00
mark
b28684079f
Fix broken vidcaudio_set_format() prototype.
1997-03-25 05:09:01 +00:00
mycroft
7a55cafeeb
Implement set_format.
1997-03-20 16:51:38 +00:00
mark
82de5bb16d
Add missing ifp variable in eaintr() following new ARP merge.
1997-03-19 02:45:06 +00:00
mark
e8e11b85c0
Fix missing bracket introduced in new ARP system merge.
1997-03-19 02:43:03 +00:00
is
07b064e02e
New ARP system, supports IPv4 over any hardware link.
...
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.
For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
mycroft
ac3b8b13b7
Don't share the silence block between devices. Make silence filling work for
...
more encodings, and make it device-independent. From Lennart Augustsson, in
PR kern/3305.
1997-03-13 02:19:32 +00:00
mark
682f911197
Updated for latest major number allocations.
1997-03-07 03:30:46 +00:00
fvdl
115b6d92fa
Define ALIGNED_POINTER
1997-02-24 23:16:53 +00:00
mark
e5c684f608
Added lots more items.
1997-02-23 04:21:28 +00:00
mark
c812c6e43d
Do profiling if GPROF and PROFILE_ASM are defined.
1997-02-23 04:20:29 +00:00
mark
9675b132fa
Updated to reflect the addition of the icside and rapide drivers.
1997-02-23 04:15:20 +00:00
mark
13f13977eb
Since the setroot changes set_swap_device() is has been a dead function
...
so remove it.
1997-02-23 04:09:53 +00:00
mark
a61dea1a59
Added files for the icside and rapide device drivers.
1997-02-23 04:08:49 +00:00
mark
4fbf5c86aa
Clean and flush the instruction and data caches prior to turning of the
...
MMU in boot0().
This solves the problem of cache hits after the kernel has rebooted the
machine as even with the cache off hits will occur for data/instructions
already in the cache.
1997-02-23 04:05:19 +00:00
mark
045ff1df99
Initial commit of the rapide driver. This driver provides support for the
...
RapIDE32 EIDE interface podules.
This driver currently only support issue 2 podules.
1997-02-23 04:00:31 +00:00
mark
a47555862b
Initial commit of the icside driver. This driver provides support for
...
the ICS IDEA IDE interface podules.
1997-02-23 03:57:45 +00:00
mark
66f1f203e3
Synchronise with podules files.
1997-02-23 03:52:29 +00:00
mark
6c7cc537c9
Add ID for ANT EtherM network slot interfaces.
1997-02-23 03:51:19 +00:00
mrg
175166de6a
comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter.
1997-02-18 21:10:19 +00:00
mark
6e638fd4fb
Call mount() on function entry if both GPROF and PROFILE_ASM are defined.
1997-02-18 03:15:06 +00:00
mark
ad178d5138
Limit valid numeric digits to between 0 and min(base, 9) inclusive so that
...
puntuation characters are not evaluated.
1997-02-18 03:12:15 +00:00
mark
e4316a91d0
Rebuilt from podules file.
1997-02-18 03:08:59 +00:00
mark
c569d5e23f
Added new podule ID's for ICubed etherlan interfaces.
...
Fixed typo in A448 title string.
1997-02-18 03:08:04 +00:00
mark
83697fa8b9
Added a field sc_ixfer to the sfas_softc structure to allow the standard
...
sfas ixfer() routine to be overridden with a card specific one.
1997-02-11 03:33:46 +00:00
mark
faec60a06c
Add a define for the cpu_functions structure member cf_sleep.
1997-02-10 04:01:08 +00:00
mark
700a2e2041
Remove the code force the processor into a sleep mode during idle() and
...
instead call the sleep function defined in the cpufunctions structure.
1997-02-10 03:57:42 +00:00
mark
187f8c7c3d
Remove local definitions of macros to push and pull trapframes and instead
...
include machine/frame.h to get these definitions.
1997-02-10 03:50:53 +00:00
mark
60cab4af5d
Centralise the definition of the ASM macros used to push and pull and
...
trapframe and irqframe structures defined here top and from the stack.
1997-02-10 03:26:28 +00:00
mark
28203348d8
Process the parameters passed in the SYNC_ICACHE sysarch() call and just
...
sync the caches for the specified virtual address range.
1997-02-10 03:19:36 +00:00
mark
5f3ba778ab
Define parameters for the arm32_sync_icache() function.
1997-02-10 03:14:22 +00:00
mark
51495d4bf1
Updated to work with the recent changes to the MI DDB code.
1997-02-04 07:15:46 +00:00
mark
6ec73b6227
Removed all the CPU_SA110 conditional compilation. All the cache
...
cleaning calls will now be indirected throught the cpu_functions
that will have the correct function pointers for the CPU in use.
All register fixup code following aborts has been removed and
instead a call to the cpu_*abt_fixup() routine is called instead
to provide the correct fixed based on the CPU type and abort mode.
1997-02-04 07:12:30 +00:00
mark
06f80904ec
Set the sc_ixfer function pointer to the default sfas_ixfer() function
...
during initialisation if the pointer is NULL.
Use the sc_ixfer function pointer in the sfas softc when doing
immediate polled transfers.
1997-02-04 06:57:47 +00:00
mark
1715a217cf
Removed the SA110 condition compilation and instead test the cputype
...
variable to determine what adjustment is required for the trace back PC.
1997-02-04 06:53:41 +00:00
mark
403608bdbb
Add defines for the cpu_functions structure members cf_cache_purgeID and
...
cf_context_switch.
1997-02-04 06:51:34 +00:00