mark
569be6d488
Change definitions of MCOUNT_ENTER and MCOUNT_EXIT to block interrupts
...
via the CPSR rather than via splhigh() due to the overheads involved
in using splhigh()/splx(). (From Chris Demetriou).
1998-04-19 04:16:25 +00:00
mark
fcc1093bee
Define bus_space_map flags BUS_SPACE_MAP_CACHEABLE and BUS_SPACE_MAP_LINEAR.
...
Comment arm32_bus_dma_segment structure members.
Remove the _dm_loadlen field from the arm32_bus_dmamap structure.
1998-04-19 04:13:24 +00:00
mark
47ec8f3afc
Validate the source address in db_read_bytes() to avoid faulting when
...
reading invalid addresses.
1998-04-19 04:05:24 +00:00
mark
9bbde6c952
Overhaulled cpu_reboot(). Junked all the boot action garbage and just use
...
howto to dictate what operations to perform.
Removed support for calling the deprecated kshell stuff.
Cleaned up a few bits of dead code and renamed rpc_sa110_kickstart() to
rpc_sa110_cc_setup().
1998-04-19 03:59:19 +00:00
mark
33b4b52949
Define the prototypes for rtc_read() and rtc_write() here rather than
...
in machine/rtc.h
Update the rtc_read() and rtc_write() functions to take a private pointer
as the first argument (currently unused).
1998-04-19 03:55:44 +00:00
mark
1f5455aaaf
Update the softc to hold the rtc_{write,write}() argument and update
...
the function pointer prototypes.
Pass the rtc_arg field as the first parameter when calling the todclock
rtc_{read,write} function pointers.
1998-04-19 03:54:24 +00:00
mark
c4f9d5c4b0
Add a rtc argument field to the todclock_attach_args structure.
...
Update the ta_rtc_{read,write}() functions in the todclock_attach_args
structure to take an argument attach time defined argument field as the
first argument.
1998-04-19 03:51:44 +00:00
mark
15901d1be3
Remove rtc_read() and rtc_write prototypes.
1998-04-19 03:49:17 +00:00
mark
effb702da4
Don't explicitly call the debugger on a reset exception. Just print
...
trap frame address and panic.
1998-04-19 03:41:14 +00:00
mark
f9042ff05b
Guard the PS/2 mouse attachment and ARM7500 IOC check with the
...
CPU_ARM7500 macro.
1998-04-17 18:44:09 +00:00
tv
b21bfbde11
Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
...
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
cgd
edcb9b60e1
current_spl_level should be initialized to _SPL_HIGH.
1998-04-10 20:29:02 +00:00
mark
af29a19dd0
Fix the interrupt number for the PS/2 mouse port on the ARM7500
...
(from David Forbes).
1998-04-10 06:54:30 +00:00
mark
447623df53
Correct the values of IOMD_MSDATA and IOMD_MSCR as they are 4 times too
...
big. Spotted by David Forbes.
1998-04-10 06:53:08 +00:00
mark
3d26c2dbf1
In cpu_fork() if the vmspace is shared don't fiddle with it. e.g. don't
...
try and replace the zero page pagetable and mapping.
1998-04-03 01:58:40 +00:00
mark
d6fb052cdd
Setup proc0.p_addr much earlier on in the startup.
1998-04-03 01:56:34 +00:00
mark
27af7137f4
Overhaulled cpu_reboot(). Junked all the boot action garbage and just use
...
howto to dictate what operations to perform.
Removed support for calling the deprecated kshell stuff.
1998-04-02 02:01:13 +00:00
mark
ac4c80ec10
Include machine/asm.h and use the ENTRY() macro for all function entry
...
points.
1998-04-01 23:14:21 +00:00
mark
90a05fec98
Tidied up various comments. Use the function entry macros from asm.h for
...
all entry points and don't bother profiling cpu_reset().
Flush the I and D TLB's after turning the MMU and cache off in cpu_reset().
1998-04-01 23:12:32 +00:00
mark
b2286e384a
Include machine/asm.h and use the macros from there for declaring
...
the function entry points.
Removed some redundant .req statements.
1998-04-01 23:09:06 +00:00
mark
a877b68db5
Don't include sys/device.h here.
1998-04-01 23:05:28 +00:00
mark
f0393b3819
Remove a chunk of dead comments as they appears in disassem.c where
...
they make a lot more sense.
1998-04-01 23:04:16 +00:00
mark
4a96466f61
Remove redundant .req assembler statements.
1998-04-01 23:02:32 +00:00
mark
eb81ac0bbc
Remove a load of redundant .req statements.
1998-04-01 23:00:13 +00:00
mark
ae5c857ba4
Remove redundant .req statements.
...
Make various entry points non-profiling.
1998-04-01 22:59:25 +00:00
mark
fd18f1a45b
Remove some redundant .req statements.
1998-04-01 22:55:45 +00:00
mark
077c15ab4d
Remove some redundant .req statements.
...
Make various entry points non-profiling.
1998-04-01 22:55:05 +00:00
mark
268d889d0d
Make the floppy_read_fiq and floppy_write_fiq entry points non-profiling.
1998-04-01 22:53:32 +00:00
mark
7f98e08105
Remove some redundant .req statements.
1998-04-01 22:52:24 +00:00
mark
f4c5b8f91a
Define profiling and non-profiling versions of the ENTRY and ASENTRY
...
macros. No extra profiling code is generated if profiling is turned
on yet, but get the structure ready. (from cgd).
1998-04-01 22:50:22 +00:00
mark
66477b8680
Only call dosoftints() from splx if there is a soft interrupt actually
...
pending. This save us doing a function call and a bunch of instructions
for every splx() call. (Patch from cgd).
1998-03-28 00:14:51 +00:00
mark
b6fa862ee6
Remove un-necessary prototype of set_boot_devs() (from cgd).
1998-03-28 00:06:03 +00:00
mark
fcade25040
Make physlock global rather than a static local to mmrw() (from cgd).
1998-03-28 00:04:46 +00:00
cgd
56eaa22285
kill some unused variables that i missed in my last checkin
1998-03-27 23:39:57 +00:00
cgd
db74b327b9
fix a few bogus pointer checks (was checking pointers which would
...
never be against NULL, instead of checking the correct pointer against
NULL). Pointed out (with diff) to Mark Brinicombe on March 17, no reply.
1998-03-27 19:28:52 +00:00
mark
653457f11b
Remove the variable oldtm from diagnostic printf() statement as this
...
variable no longer exists.
1998-03-26 21:27:12 +00:00
mark
35dc347724
Bring this more up to date.
1998-03-26 20:43:02 +00:00
mark
8003976152
The ehbug option is dead now the etherH driver has been replaced with
...
an NE2000 attachment.
1998-03-26 20:42:34 +00:00
mark
cd0f9898b5
Fix problems with microsecond timestamping in microtime().
...
Remove some old dead code.
1998-03-26 20:07:18 +00:00
mark
26634e5f83
Cleaned up the IOMD access macros.
1998-03-26 20:05:49 +00:00
mark
6fa49296d7
Include machine/asm.h. Removed un-necessary .req directives. Use the
...
ENTRY() macro for declaring function entry points.
1998-03-26 20:05:13 +00:00
mark
c6b5400405
Add a couple of missing brackets in the arm_byte_to_page and
...
arm_page_to_byte macros.
1998-03-26 19:57:13 +00:00
mark
47ec7dab23
This file is no longer included by anything and is out of date. All
...
podule definitions can be found in the podulebus subdirectory.
1998-03-26 19:55:53 +00:00
cgd
4bbda026af
The arm32 'char' is unsigned. Fix CHAR_MIN and CHAR_MAX to reflect that.
...
(they were incorrect, defined to be the values that they should have were
'char' signed.)
1998-03-24 23:13:28 +00:00
mark
d968d727db
Implement bus_space_read_multi_1() fucntion for podulebus.
1998-03-23 17:07:38 +00:00
mark
0c7f9767f4
Replace eh0 and em0 devices with ne* device.
1998-03-22 18:33:28 +00:00
mark
f8fabd927a
Use netslot_ea() function to obtain the machine ethernet address of the
...
netslot interface.
1998-03-22 18:30:04 +00:00
mycroft
0dae91d9af
Eliminate uses of TS_WOPEN in hard-wired devices.
1998-03-21 22:52:59 +00:00
mark
46f5fd743a
Add a call to vm_set_page_size() in pmap_bootstrap().
1998-03-21 21:42:02 +00:00
mark
5fb8156c1c
Replace the em and eh drivers with an attachment to the ne driver.
1998-03-21 21:39:16 +00:00
mark
b8bbd98f2a
This file is no longer needed now etherM driver is just an attachment
...
to the MI NE2000 driver.
1998-03-21 21:38:01 +00:00
mark
6aad6c26fd
This driver has been replaced with a podulebus attachment to the MI
...
NE2000 driver.
1998-03-21 21:36:37 +00:00
mark
5241ea94ce
Initial commit of podulebus attachments to the MI NE2000 driver for
...
etherH and etherM netslot interfaces.
1998-03-21 21:35:20 +00:00
mark
a9dd30a5e0
Prototype netslot_ea() and podule_read().
1998-03-21 21:30:29 +00:00
mark
3fbeab8ca4
Report podules that have been disabled by boottime options.
...
Provide a function netslot_ea() to return the ethernet address of the
RiscPC network slot.
1998-03-21 21:30:07 +00:00
bouyer
9f50fca1fd
Add commented out "options FFS_EI"
1998-03-18 16:34:41 +00:00
mark
27ef26a468
Added csa device and scsibus attachments.
1998-03-14 17:15:52 +00:00
mark
29075565c0
Updated for new csa driver, the change to the oak driver and
...
the removal of the local ncr5380 driver.
1998-03-14 17:10:13 +00:00
mark
d15ce201d7
This local version of the ncr5380 driver is not longer needed now the
...
oak driver has been rewritten to use the MI one is /dev/ic/
1998-03-14 17:08:19 +00:00
mark
d6f6e4ee8e
Complete re-write of the Oak SCSI 1 driver to use the generic ncr5380
...
driver. Currently only supports 8 bit PIO.
1998-03-14 17:06:17 +00:00
mark
a1dd6a915a
Initial commmit of csa driver for the Cumana SCSI 1 adapter.
...
This driver uses the generic ncr5380 driver and currently only supports
8 bit PIO data transfers.
1998-03-14 17:04:30 +00:00
mark
fd250aecdd
Remove the width specifier in the podule manufacturer printf().
1998-03-09 19:14:44 +00:00
mark
eff3470d02
Make this driver build again. Needs overhaulling.
1998-03-09 19:12:59 +00:00
mark
c2efbb1d9a
Implement the bus_space_write_multi_1() function for the podulebus
...
(podulebus_wm_1()).
1998-03-09 19:11:30 +00:00
perry
1ed8ea9966
note second parm of sysarch() is now void *, + trivial KNF, etc.
1998-02-25 21:41:55 +00:00
mark
1876c03a83
Only include armfpe.h if we are building FPE support into the kernel.
...
Missed from the last commit.
1998-02-22 23:45:13 +00:00
mark
c67078a448
Update arm_fpe_[gs]etcontext() functions to take a struct fpreg pointer
...
as the second argument.
1998-02-22 23:39:53 +00:00
mark
5a2727a17e
Fix arm_fpe_[gs]etcontext() prototype declarations to take a
...
struct fpreg pointer as the second argument.
1998-02-22 23:38:18 +00:00
mark
b9ce4e7ddb
Include arm32/fpe-arm/armfpe.h for arm_fpe_[gs]etcontext() prototypes.
...
Remove unnecessary include files and cleanup some dead code.
1998-02-22 23:35:45 +00:00
mark
39ce947f1a
Add missing interrupt enable callbacks lost during the adding of ATAPI
...
support. Spotted while working on MI wdc support for the ICS interface.
1998-02-22 02:36:22 +00:00
mark
05fa7c54a5
Clean up the comments and correctly indent them. Change various RiscBSD
...
references to NetBSD ones.
1998-02-22 00:31:00 +00:00
mark
550b5bff23
Guard spl related variables and pmsputbuffer() with #ifdef MOUSE_IOC_ACK.
...
Declare pmsputbuffer() as static.
1998-02-22 00:25:03 +00:00
mark
a0ce540d73
Guard spl related variables and qmsputbuffer() with #ifdef MOUSE_IOC_ACK
1998-02-22 00:24:12 +00:00
mark
a55279da6a
Updated to use cpu_reset() rather than boot0().
...
Set cpu_reset_address to 0x00000000 for currently supported systems.
Update associated comments.
1998-02-22 00:08:16 +00:00
mark
d011ec2573
Provide a prototype for cpu_reset().
1998-02-22 00:05:56 +00:00
mark
dc37a51773
In the future we may want to branch somewhere other than zero when
...
reseting the CPU. Rename the boot0() function to cpu_reset() and
provide a variable to hold the cpu reset address.
1998-02-22 00:05:00 +00:00
mark
44e22f7606
Fix a couple of unused variable warnings for RC7500 builds.
1998-02-21 23:40:03 +00:00
mark
35c234d2a6
Replace -Wreturn-type with -Wall for CWARNFLAGS.
1998-02-21 23:30:56 +00:00
mark
88aa559e5e
Remove inclusion of machine/katelib.h
...
Remove local prototype of savectx().
Comment all the #endif lines for PMAP_DEBUG
Remove un-necessary variable 'up' from cpu_fork().
Use %p rather than %x for several debug print messages.
1998-02-21 23:27:10 +00:00
mark
018ce60490
Remove functions for disable_interrupts(), enable_interrupts() and
...
restore_interrupts() as these have been replaced by macros in
machine/cpufunc.h.
1998-02-21 23:21:28 +00:00
mark
2553c95bde
Include machine/cpufunc.h for interrupt disable/restore routines.
1998-02-21 23:19:36 +00:00
mark
24aaa5f9dd
Add macros for the CPU functions disable_interrupts(), enable_interrupts()
...
and restore_interrupts().
1998-02-21 23:17:05 +00:00
mark
ccb81fe3d3
Remove prototype declarations of disable_interrupts(), enable_interrupts()
...
and restore_interrupts() as these are CPU related functions.
1998-02-21 23:16:28 +00:00
mark
706589adb9
Update the L1_SEC() macro to take a cache enable mask.
...
Add a macro L1_SEC_SIZE to define the size of a L1 section.
1998-02-21 23:11:28 +00:00
mark
854d928a14
Fix typo in a DMA dummy stub function.
1998-02-21 23:09:37 +00:00
mark
6eccd50f49
Remove local prototype for savectx().
...
Update all map_section() function calls to map I/O sections as
non-cacheable.
1998-02-21 23:08:17 +00:00
mark
c273b285d8
Remove local prototype of savectx().
...
Updated all map_section() function calls to map sections as non-cacheable.
1998-02-21 23:04:54 +00:00
mark
99ae0b08fe
Updated all map_section() function calls to map I/O sections as
...
non-cacheable.
1998-02-21 23:02:34 +00:00
mark
1c782f5da1
Add a cacheable flag field to the map_section() function so that L1 page
...
table section mappings may be made cacheable.
Remove a few nasty hardcoded shifts and use macros from machine/pte.h
instead.
Cleaned up a few comments.
1998-02-21 23:00:57 +00:00
mark
745e11a2b1
Remove local prototype of savectx().
1998-02-21 22:57:44 +00:00
mark
628ae33403
Remove register declarations.
1998-02-21 22:56:58 +00:00
mark
1bd5283fb7
Remove inclusion of katelib.h and include cpu.h and cpufunc.h.
1998-02-21 22:52:50 +00:00
mark
ba8b28d360
Remove local prototypes of strstr().
1998-02-21 22:51:43 +00:00
mark
c81dae4473
Move some prototypes form katelib.h to a more suitable home in cpu.h
1998-02-21 22:49:18 +00:00
mark
ea04275578
Remove local prototype of disassemble() and include disassm.h instead
...
for prototype.
Fix compiler warnings about unused variables with certain config options.
1998-02-21 22:43:29 +00:00
mark
d13b903579
Remove local prototypes for disassemble() and include disassem.h instead
...
for the prototype.
1998-02-21 22:41:34 +00:00
mark
83fcf2d5c8
Define prototypes for disasm() and disassemble().
1998-02-21 22:38:40 +00:00
mark
3fa53fb439
Check the for the TODCLOCK_FLAG_FAKE flag in the attach args to allow
...
a "real" driver to have priority.
Make sure that a todclock service does exist before trying to read and
write the time.
If no RTC read routine exists, just use the suggested time in inittodr().
1998-02-21 03:19:02 +00:00
mark
fb161c5c9c
Set the flags field in the todclock_attach_args to 0.
...
Fix typo in currently commented code.
1998-02-21 03:13:46 +00:00
mark
50f9bf3cb5
Add a flags field to the todclock_attach_args structure.
...
Define a flag bit to indicate that the todclock is faking the RTC
read and write routines.
1998-02-21 03:12:32 +00:00
mark
59be9f9e0e
Don't configure the qms mouse device into A7000 kernels as the A7000
...
only supports a PS2 mouse and not a quad mouse.
1998-02-21 02:46:11 +00:00
mark
5b4cb30e30
Recognise the ARM7500FE IOMD id as supporting a podulebus.
1998-02-21 02:44:42 +00:00
mark
b302819fbe
Nuke db_show_fs_cmd() and the "machine fs" command in the debugger. The
...
command has not been used for years and is really broken now vfs_conf.c
is no more.
1998-02-21 02:42:42 +00:00
thorpej
772da350d4
Disable the message buffer during crash dumps by clearing msgbufenabled,
...
not msgbufmapped.
1998-02-19 04:18:30 +00:00
mycroft
3b9429b248
Minor changes to make all the float.h files match.
1998-02-18 11:01:27 +00:00
cgd
3bbb7f7d45
Move pmap_map() function definition to MD headers, as appropriate. It's
...
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
thorpej
8354e68508
Remove "class" declarations, and add "devclass" declarations where
...
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
thorpej
8abe76d2f0
Add offset and length parameters to bus_dmamap_sync(), used for specifiying
...
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej
99cc8482d1
Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
...
and allow more than one synchronization operation to be specified in
a single call. Dissallow mixing of PRE and POST operations.
1998-02-04 01:57:27 +00:00
thorpej
4e7c05e588
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:31:33 +00:00
mark
b280ec0268
Update copyright.
1998-02-03 19:08:27 +00:00
mycroft
b5c132e4d2
Prototype __flt_rounds() consistently.
1998-02-03 01:26:20 +00:00
cgd
f98d915597
remove gross temporary hacks implemented to pacify com.c. That's
...
been done in a cleaner way by cleaning up the com.c #ifdefs some.
Software tty interrupts should be implemented on NetBSD/arm32,
but these hacks are no longer necessary to work around the lack.
1998-02-02 23:05:50 +00:00
thorpej
2538ed1062
Use offsetof() from libkern.h
1998-01-28 02:23:04 +00:00
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
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