mark
95ee0f849a
Initial commit of the SMC91C9X ethernet driver found on RC7500
...
motherboards.
1996-05-12 21:35:07 +00:00
mark
05ae98d7ed
Fixed the order of the machine includes.
1996-05-12 21:33:18 +00:00
mark
0efacab0e1
Removed some lurking experimental code that does not work relating
...
to CDROM devices.
1996-05-12 21:30:15 +00:00
mark
267415c841
Define FLT_ROUNDS properly. Guard #defines with #ifndef / #endif
1996-05-12 21:27:52 +00:00
mark
62b52adc0e
Definitions of various contants and types for arm32 IEEE float point.
1996-05-12 21:26:20 +00:00
mycroft
540f9550c0
Make `make depend' work for libraries.
1996-05-11 16:11:30 +00:00
mark
8eddcbfbd2
Added needs-flag to the podulebus driver.
...
Tidied up the file a bit and added some extra comments.
1996-05-09 14:03:18 +00:00
mark
779d7709c5
Separated mouse initialisation code out into a separate function.
...
Added a watchdog timer to reset to reinitialise the mouse if it dies.
1996-05-07 21:04:08 +00:00
mark
09aabb30f7
Merged in changes from the isa wd driver.
1996-05-07 21:00:09 +00:00
thorpej
748810b06d
Changed struct ifnet to have a pointer to the softc of the underlying
...
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 00:46:37 +00:00
mark
f194862b11
Updated declaration of dk_establish() to match prototype.
1996-05-06 00:57:10 +00:00
mark
928d9a1842
Fixed compiler warnings generated with -Wall.
1996-05-06 00:52:35 +00:00
mark
dbf4689e65
Fixed -Wall compiler warnings.
...
Implemented ESC [g sequence.
1996-05-06 00:47:20 +00:00
mark
2dd637939f
Fixed VIDC register setup for RC7500 boards.
1996-05-06 00:45:09 +00:00
mark
3f91443b0b
Added __noreturn__ attribute to boot0().
1996-05-06 00:41:55 +00:00
mark
5b6948449b
Commented out the vm_map_remove from cpu_exit() as this appears to be
...
done in the exit1() function in kern_exit.c
1996-05-06 00:41:32 +00:00
mark
6417430844
Fixed -Wall compiler warnings.
1996-05-06 00:37:13 +00:00
mark
d0e2e6de12
Don't try and idle a ARM7500 if targeting a RC7500 board as power
...
down is not yet supported.
1996-05-06 00:36:05 +00:00
mark
c41bdbf690
Added a new routine kbdcmd() to send commands to the keyboard.
...
Added a new routine kbdreset() to conduct a full keyboard reset.
Added definitions of all keyboard command codes and responces.
Replaced kbd_set_leds() with new function that used kbdcmd().
The keyboard attach function now detects whether a keyboard is
attached or not.
1996-05-06 00:35:05 +00:00
mark
f5b3a4ddc7
Only call config_rootfound() for the podulebus is NPODULEBUS > 0.
1996-05-06 00:32:19 +00:00
mark
938954d516
Mark interrupt handlers attached to the irq chain as active in
...
irq_claim().
Clear the active flag in the irq handler when it is removed from the irq
chain in irq_release().
Checks for podule IRQ's in irq_claim() are now guarded with
#if NPODULEBUS > 0
fiq_release() now retrieves the FIQ more registers and places them
back in the fiq handler structure.
1996-05-06 00:30:39 +00:00
mark
181c7ad5cd
Added a new function fiq_getregs() to transfer the FIQ mode register
...
into a fiqhandler structure.
Updated fiq_setregs to use symbols in assym.h for offsets into
fiqhandler structures.
1996-05-06 00:25:43 +00:00
mark
60b2501141
Updated FIQ handler registers to match changes to the floppy
...
fiq routines.
1996-05-06 00:23:57 +00:00
mark
08003631cc
Rewritten floppy_read_fiq() and floppy_write_fiq() routines.
...
Register usage changed to free fiq mode r13.
Added loop to keep reading bytes while the floppy FIQ is asserted.
1996-05-06 00:21:05 +00:00
mark
4f7f1b7f73
Create definitions for fiqhandler structure members.
1996-05-06 00:16:25 +00:00
mark
58ff5333d7
Fixed -Wall compiler warnings.
1996-05-06 00:11:16 +00:00
mark
8f285e6977
Added prototype for sfasintr().
1996-05-06 00:09:28 +00:00
mark
81e79a0787
Recognise the 24i16 digitiser podule.
...
Fixed -Wall compiler warnings.
1996-05-06 00:04:06 +00:00
mark
c4f10ac478
Fixed cpu_set_kpc() and pagemove() functions to match prototypes.
1996-04-27 03:00:27 +00:00
mark
10ec66cba0
No longer needed as this file has been replaced with the generic mouse
...
interface described in mouse.h
1996-04-27 02:09:16 +00:00
mark
0b44bb02a0
Removed prototypes for cpu_set_kpc(), cpu_swapin() and cpu_swapout() as
...
these are now defined in other header files.
1996-04-27 02:04:39 +00:00
mark
f09d86fa87
Fixed compiler warnings generated with -Wall.
...
Added dump routines for dumping buffer and vnode information.
1996-04-26 22:49:21 +00:00
mark
0a05345dc3
Added needs-flag for the asc driver.
1996-04-26 22:46:07 +00:00
mark
6e054ed22f
Probe functions rewritten to support new podulebus configuration code.
...
matchpodule() is now used to test podule_attach_args for correct id's.
Moved the probing code that used the softc into the attach function.
Fixed compiler warnings generated with -Wall.
1996-04-26 22:44:00 +00:00
mark
fff1823ed8
Probe functions rewritten to support new podulebus configuration code.
...
matchpodule() is now used to test podule_attach_args for correct id's.
1996-04-26 22:41:24 +00:00
mark
9a12d19953
Probe functions rewritten to support new podulebus configuration code.
...
matchpodule() is now used to test podule_attach_args for correct id's.
Fixed compiler warnings generated with -Wall.
1996-04-26 22:38:11 +00:00
mark
4a3ceede5a
Added function prototype for matchpodule().
1996-04-26 22:34:02 +00:00
mark
c18452b410
podulebus configuration code rewritten. Junked config_scan() from
...
the podulebus attach function.
For each podule found, config_found_sm() is now called. Device drivers
now only need to look at the podule_attach_args information during
the probe.
A new function matchpodule() has been added for use in the
podule device driver probe functions.
1996-04-26 22:32:36 +00:00
mark
027b04a250
Fixed compiler warnings obtained with -Wall.
1996-04-26 22:25:56 +00:00
mark
a6da4ae69c
Fixed compiler warnings generated with -Wall.
1996-04-26 22:01:51 +00:00
mark
504699a05d
Added prototypes for cpu_swapin(), cpu_swapout(), tlbflush()
...
cpu_set_kpc() and need_resched().
1996-04-26 21:12:36 +00:00
mark
38b0e06483
Added prototypes for setsoftnet() setsoftast() and setsoftclock().
1996-04-26 21:10:21 +00:00
mark
b2d569c95e
Fixed compiler warnings generated with -Wall.
1996-04-26 21:02:49 +00:00
mark
6a7f88f956
Included sys/systm.h for function prototypes.
1996-04-26 21:00:31 +00:00
mark
aa46efbc0e
Fixed compiler warnings obtained with -Wall.
1996-04-26 20:59:07 +00:00
mark
8b4332315d
Fixed buffering of console output. While cold or while polling,
...
buffering is disabled.
Tidied up a bit of the code inline with kernel coding style.
1996-04-26 20:56:04 +00:00
mark
189e6aba9f
Fixed a multitude of compiler warnings obtained with -Wall (mainly
...
unused variables).
1996-04-26 20:48:23 +00:00
mark
a88f28f958
Updated functions to match prototypes in sys/systm.h
1996-04-26 20:35:23 +00:00
mark
9e67e6e232
Included ddb/db_output.h for db_printf() prototype.
...
Fixec compiler warnings generated with -Wall.
1996-04-26 20:30:54 +00:00
mark
8cce48f9a3
Included ddb/db_output.h for db_printf() prototype.
...
Fixed compiler warnings generated with -Wall.
1996-04-26 20:28:28 +00:00
mark
3b62994c10
Include ddb/db_output.h for db_printf prototype.
...
Replaced some printf calls with db_printf calls.
Fixed compiler warnings generated with -Wall.
1996-04-26 20:25:55 +00:00
mark
bebcb9b554
Removed unused variable ptr in swapconf().
1996-04-26 20:22:52 +00:00
mark
d4d9deb9d7
Added facility to dump the SCSI information from the asc driver.
1996-04-19 20:15:36 +00:00
mark
e59df39537
Added asc_dump() function to dump the information gathered by the sbic
...
driver.
1996-04-19 20:13:56 +00:00
mark
0d0b8de238
Code fixes to get the sbic debugging code to compile.
1996-04-19 20:09:50 +00:00
mark
0e486086a5
Added information of the iic and rtc devices.
1996-04-19 20:04:29 +00:00
mark
7bbb222f40
Raise the spl level to spltty while manipulating the virtual console
...
linked lists.
A couple of minor code cleanups.
1996-04-19 20:03:37 +00:00
mark
c771d9f6c3
Config files updated for the new iic and rtc devices.
1996-04-19 20:00:41 +00:00
mark
584d8e9b80
Updated to reflect removal of iic and rtc code from arm32/ and the
...
creataion of the iic and rtc devices.
1996-04-19 19:57:49 +00:00
mark
a65bd66705
Header file for IIC structures, prototypes and ioctls.
1996-04-19 19:52:46 +00:00
mark
e51f620a83
Added IIC information for the PCF8583 RTC chip.
...
Added #ifdef guard on rtc prototypes.
1996-04-19 19:51:48 +00:00
mark
0b22968311
Initial commit of iic and rtc devices.
1996-04-19 19:49:03 +00:00
mark
ab4a325e4c
The iic and rtc are now devices and have been rewritten ane moved to the
...
mainbus directory.
1996-04-19 19:43:31 +00:00
mark
11fb5f4ba0
Added configuration information for character devices iic and rtc.
1996-04-19 19:40:29 +00:00
mark
85d47049cc
Don't report time or 'clock has gain ...' message if the base time
...
was 0 in the inittodr() function.
1996-04-19 19:39:17 +00:00
mark
234547bf5e
Add CPU ID's for the DEC StrongARM-110 processor.
...
Update control register bit definitions as the SA-110 has
separate instruction and data caches.
1996-04-02 21:45:25 +00:00
mark
06ae03c8b0
Use the generic mouse ioctl names instead of the quadmouse ones.
1996-03-28 21:56:40 +00:00
mark
e50a0e4440
Support the ARM7500 IOMD as well as the RPC600 IOMD.
1996-03-28 21:55:15 +00:00
mark
910ee34995
Remove definitions of the inb() and outb() macros as they are now
...
defined in a header file.
1996-03-28 21:52:32 +00:00
mark
ba871a93aa
Initial commit of the PS2 mouse driver.
1996-03-28 21:50:19 +00:00
mark
0b89016846
ramdisk is now a psuedo device.
1996-03-28 21:45:40 +00:00
mark
1ff14b3c1f
ramdisk is now a psuedo device.
...
Added pms PS2 mouse device.
1996-03-28 21:44:06 +00:00
mark
e36164c8fa
If the irq number passed to irq_claim()/irq_release is -1 extract
...
the irq number from the irqhandler structure.
1996-03-28 21:43:52 +00:00
mark
c5a198dd29
ramdisk device is now a psuedo device.
...
Added pms device for PS2 style mouse.
1996-03-28 21:42:00 +00:00
mark
8564f152ec
Added character device pms to the device table.
1996-03-28 21:40:22 +00:00
mark
9d048bd529
Define macros for inb() outb() inw() outw() inl() outl().
1996-03-28 21:35:51 +00:00
mark
93602531a6
Added definitions for RC7500 motherboard interrupt numbers.
1996-03-28 21:29:32 +00:00
mark
044c783484
Added definitions for RC7500 motherboard IO addresses.
1996-03-28 21:28:21 +00:00
mark
7d06b49a23
Added definitions of ARM7500 IOMD.
1996-03-28 21:26:05 +00:00
mark
0ff466e21a
Add VIDC20 phase lock loop frequency information for RC7500
...
motherboards.
1996-03-28 21:22:24 +00:00
mark
4b10d39797
Added support for RC7500 motherboards and non VRAM video systems.
...
Use frequency lookup table for RC7500 systems.
1996-03-28 21:18:40 +00:00
mark
fba7f55646
Fix printing during attachment now ramdisk is a psuedo device.
1996-03-28 21:14:13 +00:00
mark
611837babe
RCS Id police.
1996-03-27 22:42:08 +00:00
mark
57dd9b776a
Push r4-r6 on the stack at the beginning of the function to avoid
...
trashing r5 and r6 if copystr() is called with a length of 0.
1996-03-27 22:19:32 +00:00
mark
c8d5b80dea
Define name for the floppy interrupt handler.
...
Fixed declartion of fdopen() now that it does not clash with fdesc open
function.
1996-03-27 22:18:44 +00:00
mark
585c401e02
Define name for the interrupt handler.
...
Include mouse.h instead of qmouse.h now that there is a generic
interface.
1996-03-27 22:14:45 +00:00
mark
9852119eff
Updated to reflect the latest major/minor allocations.
1996-03-27 22:09:30 +00:00
mark
395f0fd59c
Define name for the interrupt handler for use with vmstat -i.
1996-03-27 22:08:25 +00:00
mark
8345378c81
Define name for interrupt handler.
1996-03-27 22:07:26 +00:00
mark
b4aaf66b7a
Remove prototype for Debugger() as this is defined in systm.h.
1996-03-27 22:05:19 +00:00
mark
6245ffb5e5
Define a name for the sbic interrupt handler.
1996-03-27 21:51:22 +00:00
mark
44d3ebb603
Define a name for the network interrupt handlers for use with vmstat
...
-i.
1996-03-27 21:49:26 +00:00
mark
30fe804249
Define a name for the vsync interrupt handler.
1996-03-27 21:47:29 +00:00
mark
79ec25c520
Removed #define/#undef of fdopen as clash with fdesc nolonger exists.
...
Removed local definition of cdev_qm_init. Mouse drivers are now declared
with cdev_mouse_init from sys/conf.h
1996-03-27 21:42:36 +00:00
mark
c1dff5e43e
Removed duplicate stores and loads of the stack pointer during context
...
switches. Removed some dead debugging code from the __FORK_BRAINDAMAGE
days.
1996-03-27 21:24:39 +00:00
mark
02aafe8ddb
Define a name for the hardclock timer interrupts.
1996-03-27 21:21:59 +00:00
mark
cf15dd8123
New description of the generic mouse interface structures and ioctls.
...
This will replace qmouse.h now that we have multiple mouse drivers to
support and want a common interface.
1996-03-27 20:57:18 +00:00
mark
47804c6e17
Table of interrupts names has been padded out to 14 characters so that
...
it can be filled in when interrupt handlers are attached. Table moved
from the text area to the data area.
1996-03-27 20:42:53 +00:00
mark
6119d33eeb
Build the intrnames table from the interrupt name strings for vmstat -i
...
if IRQSTATS is defined.
1996-03-27 20:16:30 +00:00
mark
2f5136afa9
Added ih_name field to the irq handler structure to point to an ascii
...
name for the interrupt. Used to build the intrnames table for vmstat -i
1996-03-27 19:42:03 +00:00
mark
cb3bacff44
Added abort function that just hangs in an infinite loop.
...
GCC/arm addeds calls to abort to the end of functioned declared
as not returning e.g. panic().
1996-03-20 18:57:58 +00:00
mark
9adb4b41cb
Make this work following the attachment changes.
1996-03-20 18:49:56 +00:00
mark
6973956563
Fixed references to match function.
1996-03-20 18:46:58 +00:00
mark
c8d47951ba
Fix references to the match function.
1996-03-20 18:38:00 +00:00
mark
11e435f55e
Declaration of Debugger() now matches the prototype in systm.h
1996-03-18 21:33:05 +00:00
mark
8ac78e8698
RCS Id police.
1996-03-18 21:23:09 +00:00
mark
4973a32e6d
RCS Id police.
1996-03-18 19:54:53 +00:00
mark
3689687703
RCS Id police.
1996-03-18 19:33:04 +00:00
cgd
94907fa254
adjust to deal with expression support for optional file specs
1996-03-17 13:21:09 +00:00
thorpej
5c67e5fad9
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:16:48 +00:00
jtc
2ce5f1478b
Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1.
1996-03-16 01:31:45 +00:00
thorpej
58a3d4e742
RCS id police.
1996-03-16 00:17:52 +00:00
thorpej
0bbcd292a1
RCS id police.
1996-03-16 00:07:07 +00:00
mark
6cb2a43b5e
RCS Id police.
1996-03-14 23:10:59 +00:00
christos
ab0e60a42f
fdopen -> filedescopen
1996-03-14 21:20:59 +00:00
mark
46e6b251f1
Raise the spl level while modifing the keyboard autorepeat and delay
...
rates.
Added missing = to test for alphabetic characters so that caps lock
applies to Z as well as A-Y.
1996-03-13 21:51:32 +00:00
mark
a2ff705689
Added code to handle indents in monitor definition files.
1996-03-13 21:47:15 +00:00
mark
cb6f3bb55c
Removed references to the kstack double mapping from the old debug
...
shell.
1996-03-13 21:45:54 +00:00
mark
32f0b6e092
curpcb is declared in pcb.h so don't declare it here.
...
removed debug printing when faulting in new page tables for the user
process stack.
1996-03-13 21:41:41 +00:00
mark
ba893940d3
savectx() now justs syncs the pcb, it no longer needs to copy the stack.
...
cpuswitch() simplified, now pushes and pulls a switchframe structure
on entry and exit. Added extra comments to indicate the states of
various registers throughout cpuswitch().
Added proc_trampoline function.
1996-03-13 21:39:10 +00:00
mark
5c857a37ef
Use the value returned from initarm() to set the stack pointer before
...
calling main().
1996-03-13 21:34:17 +00:00
mark
bbf2aa16b5
Removed kstack references. Updated code that sets up the pcb for proc0
...
now that double mapping has gone.
initarm() now returns the address to be loaded into the stack pointer
before calling main() to kick things off.
1996-03-13 21:32:39 +00:00
mark
d253d345a2
Since kernel stack double mapping no longer exists there is no
...
point in trying to perform a postmortem on it following an panic.
1996-03-13 21:26:52 +00:00
mark
52f490ccf6
No longer need to allocate hooks for kernel stack double mapping during
...
pmap bootstrapping.
1996-03-13 21:25:04 +00:00
mark
7045f47891
The kstack pte fields no longer exist so remove them.
1996-03-13 21:22:32 +00:00
mark
caf9dd3edc
Removed external declaration of kstack. No longer relevant now kstack
...
double mapping has been removed.
No longer need to fixup the trap frame address to take double mapping
into consideration.
1996-03-13 21:21:00 +00:00
mark
043ef25c23
Remove cpu_set_init_frame macro. This is no longer needed now
...
cpu_set_kpc() has been implemented.
1996-03-13 21:18:06 +00:00
mark
f9f45be67c
Removed all the double mapping code from cpu_fork().
...
Arrange for the child process to return to user land via child_return()
on leaving cpuswitch().
Added function cpu_set_kpc().
1996-03-13 21:16:15 +00:00
mark
8fbba52c87
Removed option __FORK_BRAINDAMAGE at last.
1996-03-13 21:10:43 +00:00
mark
ffa6eab259
Removed the kstack pte fields. These are no longer needed as the kernel
...
stack is no longer double mapped.
1996-03-13 21:08:36 +00:00
mark
f96ae702d7
Added switchframe structure to describe the stack frame pushed on the
...
stack at the beginning of cpuswitch().
1996-03-13 21:06:34 +00:00
mark
c353f32f10
_mcount() can now be declared inline.
1996-03-13 21:04:55 +00:00
mark
fb4eacf0a5
Removed comments describing debugging code that has long since gone.
...
Added new comments for parts of the undefined vector entry point.
1996-03-13 21:00:26 +00:00
mark
1e97524220
SCSI scanner device added to the list of SCSI devices configured.
1996-03-13 20:57:45 +00:00
mark
f6c46bc20c
Added hooks for the SCSI scanner device driver.
1996-03-13 20:55:21 +00:00
mark
d389b21913
Added boot time override for the memory test during probing. This
...
memory test apparently causes hangups on some etherH interfaces.
Until this can be debugged with an offending interface the memory
test can be bypassed.
1996-03-13 20:52:35 +00:00
mark
c117a7f133
Only call the debugger if DDB is defined.
1996-03-13 20:28:50 +00:00
mark
852758c603
Include <sys/device.h> for rd_match_hook().
1996-03-09 17:26:01 +00:00
mark
fe9da42a4a
Removed include of <setjmp.h>
...
db_recover is now declared as label_t * instead of jmpbuf *
1996-03-09 17:22:12 +00:00
mark
a1ceaeba99
Disable interrupts when switching to UND32 mode to get the
...
UND32 mode stack pointer during a context save.
1996-03-09 17:15:46 +00:00
mark
30bb966970
Cleaned up the boot() function. Removed some of the garbage,
...
rewritten parts and made sure it uses cngetc().
Don't try and syn the discs or unmount filesystems if boot() gets
called while still cold.
1996-03-08 21:37:01 +00:00
mark
657b336f18
Restructured management of L1 page tables. Added support for
...
detaching an L1 page table from a process that is swapped out.
1996-03-08 21:21:47 +00:00
mark
713cab03b9
Updated comments, removed a lot of dead code and other old debugging
...
functions.
1996-03-08 21:08:39 +00:00
mark
700050b193
Added support for freeing level 1 page tables when cpu_swapout() is
...
called.
Added support for reallocating level 1 page tables when cpu_swapin() is
called.
1996-03-08 20:58:40 +00:00
mark
a3aaf2a2c0
Removed old (and commented out) diagnostic code from
...
undefinedinstruction() that verified the function was not
called in UND32 mode. We now always expect undefinedinstruction()
to be called in UND32 mode.
1996-03-08 20:54:25 +00:00
mark
7c5f0f1407
Removed declarations of external variables no used in the file.
1996-03-08 20:49:47 +00:00
mark
e03778a035
Updated irq names, replaced reserved irq 1 with irq softclock.
1996-03-08 20:44:13 +00:00
mark
c5e6adffe0
Removed dead wood from swi and undefined vector entry point code.
1996-03-08 20:37:59 +00:00
mark
d2a9bb0b96
Config files updated to specify interrupt numbers for wd, fd, com and
...
lpt drivers.
1996-03-08 20:35:28 +00:00
mark
ea1eb0f702
Added calls to spl_setmasks().
...
Remove the irq_setmasks() routine. This was coded in assembly months ago
and this C version is now out of date.
Added code for delivering IRQ_SOFTCLOCK.
1996-03-08 20:35:08 +00:00