mycroft
acf0e569a5
Update all the tags goo, and use bsd.subdir.mk.
1997-10-11 08:42:02 +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
lukem
7d508b124f
define SIZE?=size, and use ${SIZE} instead of size. makes cross
...
compilation easier
1997-10-03 07:17:00 +00:00
christos
7f41ec0345
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:50:53 +00:00
phil
ea2fc3a36c
Add a missing ( in the pmap_enter call for the message buffer.
1997-09-23 13:48:15 +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
phil
5bc246cdb1
Add cd9660 fs and msdos fs.
1997-07-29 18:36:19 +00:00
jtk
d36d6d14ab
use locator defines in "locators.h" to index cf_loc[]
1997-07-17 02:01:26 +00:00
leo
198bd713f2
Generate assym.h dependencies when making 'depend'.
1997-07-12 22:07:36 +00:00
perry
ad1710ce1e
update comment from 1981 on memory and disk prices -- pr-2754 from Curt Sampson
1997-07-12 16:18:36 +00:00
matthias
bb66aaeadc
* Make it possible to disable disconnect/reconnect on a per target base.
...
* Eliminate disable interrupts in ncr_pdma_in. No more fifo overflows at
high baud rates :-) (Thank's to Ian Dall for this).
1997-07-09 19:28:25 +00:00
matthias
c5e3d310a6
When booting from a md device set RB_DFLTROOT in boothowto.
1997-07-09 19:28:20 +00:00
matthias
1c1450c97a
Remove __VM_PMAP_HACK.
1997-07-09 19:27:54 +00:00
matthias
ed60e6a598
This wasn't in use for several years now.
1997-07-09 19:27:33 +00:00
matthias
147aa6816f
Remove __VM_PMAP_HACK.
1997-07-09 19:26:34 +00:00
thorpej
0404c01c46
#define DB_AOUT_SYMBOLS
1997-06-26 01:26:56 +00:00
mrg
1258c8d25b
remove now obsolete "swap on..." lines.
1997-06-12 18:41:58 +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
phil
71fb702409
Update Sys V shared memory options. Still commeted out, but now correct.
1997-06-03 01:38:00 +00:00
phil
079405ea2a
Update SHMMAXPGS to a constant of 1024.
1997-06-01 19:23:08 +00:00
phil
2f418f67bd
Update to what I'm using.
1997-06-01 18:15:12 +00:00
matthias
1574dad87a
* Missed that one during last commit.
1997-05-17 14:06:26 +00:00
matthias
eed1dad537
* Reorganize pc532/stand similar to the alpha and hp300 ports (by stealing
...
Makefiles and scripts from hp300/alpha).
1997-05-17 13:55:34 +00:00
gwr
e2a58b69f7
Add #define __VM_PMAP_HACK as a temporary measure.
1997-05-16 21:35:30 +00:00
matthias
9e785c6d3f
* Define proc0paddr here and not in locore.s.
1997-05-10 09:29:26 +00:00
matthias
5c6f7fca32
* Update asm.h to be more like the other port's asm.h.
...
* Update locore.s to use all the macros defined asm.h
* Update random.s to use the much nicer algorithm from the m68k port.
1997-05-08 13:44:11 +00:00
matthias
9dd24ca41c
* Print device information in md_attach_hook. Since this is a pseudo device,
...
we have to output the device name as well.
1997-04-21 16:20:39 +00:00
matthias
237a4629c4
* Somehow the definition of ieee_handler_disable got lost in my last commit.
1997-04-21 16:17:44 +00:00
matthias
7bc1bddc96
* Do not use Debugger(), use breakpoint().
1997-04-21 16:17:39 +00:00
matthias
16fbb47606
* Do only check against sd* if we did boot from a scsi disk.
1997-04-21 16:17:36 +00:00
matthias
34bffb6338
* Omit Debugger() if DDB is not defined.
1997-04-21 16:17:32 +00:00
matthias
7fe4f42d0a
* Add a comment describing movs[bdw]nu.
...
* Add breakboint().
1997-04-21 16:16:31 +00:00
matthias
5a23a56e6b
* Apply a fix from Ian Dall to reduce system load and fifo/silo overflows
...
when running at high speeds. This works by using hardware RTS again and
using the receive fifo threshold as well as the transmit fifo provided
by the sc26c92.
1997-04-21 16:16:16 +00:00
matthias
61d420149f
* Use higher timeouts for PLIP.
...
* Do some cosmetic reformatting.
* If the interface is considered dead, re-enable receive interrupts from
time to time.
1997-04-21 16:16:10 +00:00
matthias
12994a40ab
* Configure ncr*, not ncr0. That allows the user to specify flags for ncr0
...
in his config file.
1997-04-21 16:15:59 +00:00
mycroft
f50c40bad5
Eliminate redundant calls to vm_map_pageable() and vm_fault(), as suggested by
...
Chuck Cranor.
1997-04-09 23:35:07 +00:00
matthias
9fea258541
* if queues have to be protected by splimp. Back out last change. Thank's
...
to Charles for watching out and notifying me about my mistake.
1997-04-04 09:51:26 +00:00
christos
6c015f3a49
Add netatalk netisr
1997-04-03 15:59:54 +00:00
matthias
b7624c248a
* Add missing & in plipioctl.
...
* Remove some dead code in plipioctl.
* Use splnet, not splimp to protect IF_PREPEND/IF_DEQUEUE.
1997-04-02 16:36:25 +00:00
matthias
e034d53f13
* Add new sysctl "machdep.ieee_disable". This can be used to disable the
...
in kernel ieee trap handler. Then a usermode version of the code can be
used for debugging. Thank's to Ian Dall for this suggestion.
1997-04-01 16:37:43 +00:00
matthias
af88eb9d75
* Fixes from Ian Dall. Make the ieee handler compile with the new gcc warning
...
options, make it compile into a user mode library again and update the
README.
1997-04-01 16:35:08 +00:00
matthias
d0c4177d0c
* Add new sysctl "machdep.ieee_disable". This can be used to disable the
...
in kernel ieee trap handler. Then a usermode version of the code can be
used for debugging. Thank's to Ian Dall for this suggestion.
1997-04-01 16:33:04 +00:00
matthias
d89b0839dc
* Use movsdnu to copy pages.
...
* Just invalidate the tlbs for the affected mappings in pmap_zero_page
and pmap_copy_page.
1997-04-01 16:32:58 +00:00
matthias
43064ade71
* Apply optimizations suggested by gwr & mycroft.
1997-04-01 16:32:52 +00:00
matthias
6231519c48
* Initialize the icu with a table driven method again.
1997-04-01 16:32:47 +00:00
matthias
88128328a9
* Only cosmetic changes.
1997-04-01 16:32:31 +00:00
matthias
9e6c9efed8
* Initialize the icu with a table driven method again.
1997-04-01 16:32:25 +00:00
matthias
9046ff4c6f
* Initialize the icu with a table driven method again.
...
* Fix a bug in microtime that caused the generation of invalid timevals.
Thank's to Ian Dall for finding and fixing this.
1997-04-01 16:32:16 +00:00
matthias
821b15ab3b
* Add some missing casts to make this compile with -Werror when KGDB is
...
defined.
1997-04-01 16:31:53 +00:00
matthias
e2a1653bf0
* Only cosmetic changes.
1997-04-01 16:31:45 +00:00
matthias
b14adada8f
* Include <sys/systm.h> to get printf prototype.
1997-04-01 16:31:37 +00:00
matthias
8a56a74823
* Add versions of movs{d,w,b} that do not update the source and destination
...
pointers.
* Add tlbflush_entry to flush a single tlb entry.
1997-04-01 16:31:19 +00:00
matthias
b78841616b
* Add prototype for icu_init.
...
* Add new sysctl "machdep.ieee_disable". This can be used to disable the
in kernel ieee trap handler. Then a usermode version of the code can be
used for debugging. Thank's to Ian Dall for this suggestion.
1997-04-01 16:31:14 +00:00
matthias
b3d60fed7c
* Add -Werror again.
1997-04-01 16:30:48 +00:00
matthias
6228d0c501
* Add Cabletron EA412/EA419 driver.
1997-04-01 16:30:35 +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
matthias
bf4354241e
* Use machine/conf.h instead of sys/conf.h to get the
...
lpt{open,close,write,ioctl} prototypes.
* Remove the cdev_decl(lpt). We get it from machine/conf.h.
* Add and use LPTSOFTC.
* Use level triggered interrupts (seems to work with less spurious interrupts).
* Do not use NLPT. Use lpt_cd.cd_ndevs to get the number of lpt devices.
* ether_ifattach now needs the ethernet address of the device. Supply a
dummy address.
1997-03-22 08:29:52 +00:00
matthias
80f02e3d99
DEV_RTC is gone.
1997-03-22 08:29:48 +00:00
matthias
b75d400dd2
DEV_RTC is gone.
...
Remove uk driver, add se driver.
1997-03-22 08:29:45 +00:00
matthias
e436eab8ea
DEV_RTC is gone.
1997-03-22 08:29:41 +00:00
matthias
62e4baf13e
Add softnet prototype.
1997-03-22 08:29:19 +00:00
matthias
86855546de
Do intr_init and intr_establish for softclock and softnet in mbattach.
1997-03-22 08:29:01 +00:00
matthias
c532db2665
* Include if_inarp.h and not if_ether.h.
...
* Include arp.h instead of ether.h.
* Remove softnet prototype. It is in cpu.h now.
* Remove calls to intr_init and intr_establish for softclock and softnet.
This is done in the mainbus attach routine now.
* Remove impintr. This seems to be dead.
* Add natmintr :-)
1997-03-22 08:28:59 +00:00
matthias
282907668f
Don't hardcode the name of the clock device. Use dv_xname.
1997-03-22 08:28:56 +00:00
matthias
92f94ebec2
That shouldn't get deleted. I wanted to delete icuinit.c, not intr.c.
1997-03-21 08:34:57 +00:00
matthias
4c63b60bae
intr.c
1997-03-21 08:31:59 +00:00
matthias
0f3c811db6
* Remove the unused variable fsr in ieee_invop.
1997-03-20 12:04:08 +00:00
matthias
a366400675
* clock and rtc are real devices now.
1997-03-20 12:03:27 +00:00
matthias
5efc40089c
* Add new file arch/pc532/pc532/mainbus.c.
...
* Remove arch/pc532/pc532/icuinit.c.
* clock and rtc are real devices now.
* Change all uses of needs-count to needs-flag.
1997-03-20 12:03:24 +00:00
matthias
c44822f0e3
* Add "-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-format"
...
to CWARNFLAGS.
1997-03-20 12:03:23 +00:00
matthias
ed42b2c9d3
* Remove uk driver, add se driver.
1997-03-20 12:03:20 +00:00
matthias
b49a214439
* Don't reference NSCN.
...
* Use machine/conf.h not sys/conf.h to get the prototypes for the
scn cdev functions.
* Include <sys/kgdb.h> to get prototypes for kgdb_connect and kgdb_attach.
* Add missing prototypes for some functions.
* Make ddb work before the console was opend. Thank's to Ian Dall
for this change. His comment:
Also, ddb doesn't work if a break is set before the console
is opened. That is because DTR and RTS are not asserted. It
would probably work if the console is wired to ingnore DTR
or RTS. The change below is probably not very correct.
Proabably the state of DTR and RTS should be saved and DTR
and RTS asserted on the start of a polled serial input and
the saved values restored on exiting polled input
* Remove unused function scn_ei.
1997-03-20 12:03:03 +00:00
matthias
80502accfe
* Remove unused ncr_minphys prototype.
...
* Add prototype for ncr_ready.
* Add ncr_wait_not_req function from Ian Dall:
The ncr_wait_not_req business is to avoid a potential race.
When the pseudo DMA finishes, the target may not have
lowered REQ yet. If we just charge ahead, we eventually test
for phase when REQ is high. However, if REQ has not yet gone
low for the last byte transferred, this will be the wrong
phase. This is taken from the dp8490 application notes. The
last ACK is not deasserted until the dma is completed.
Deasserting the last ACK should be delayed until the last
REQ is deasserted. I am not sure if there are ever devices
this slow, but I believe the code is "more correct".
1997-03-20 12:03:01 +00:00
matthias
dd38be40dc
* Add prototypes for pmap_pte, pmap_testbit and pmap_changebit.
...
* Remove PTDpaddr. This is no longer in use.
1997-03-20 12:02:42 +00:00
matthias
5bb951d4d4
* Remove IEDGE and IPLOARITY. These constants are no longer in use.
1997-03-20 12:02:40 +00:00
matthias
1e27bb59c8
* Add prototypes for kdb_trap and db_dasm_ns32k.
1997-03-20 12:02:37 +00:00
matthias
8462078c2a
* Add prototypes for ieee_handle_exception, ram_size, restore_fpu_context
...
and save_fpu_context.
* Remove prototypes for cpu_reset (it is local to machdep.c) and
startrtclock (it does no longer exist).
1997-03-20 12:02:36 +00:00
matthias
98eb9b47ea
* New file. This contains the definitions used to fill the cdev and
...
bdev switches for devices unique to the pc532.
1997-03-20 12:02:34 +00:00
matthias
bcdbce6d4f
* Initialize the interrupt controller part of the ICU in intr_init.
...
* Move softnet and the establishing of the softclock and softnet
interrupts to machdep.c.
* Fix some printf format strings.
1997-03-20 12:02:00 +00:00
matthias
8a6b052853
* New file that contains the match/attach/print function for the mainbus
...
device.
* Some generic ICU initialization is now done in mbattach.
1997-03-20 12:01:23 +00:00
matthias
715cb6f3df
* Include sys/ptrace.h to get prototypes for process_read_regs and
...
process_read_fpregs.
* Remove extern definitions for proc_trampoline and pmap_pte. We
get prototypes for these from some headerfiles.
1997-03-20 12:01:03 +00:00
matthias
6a7e85766c
* Include sys/kgdb.h to get prototypes for kgdb_trap.
...
* Fix some printf format strings.
1997-03-20 12:00:59 +00:00
matthias
0f39516c71
* Remove unused local variable in sys_sysarch.
1997-03-20 12:00:58 +00:00
matthias
a9e83c741a
* Include sys/proc.h, sys/fcntl.h and machine/conf.h to get some missing
...
prototypes.
* Get rid of RTC_DEV. All rtc support now lives in clock.c.
1997-03-20 12:00:56 +00:00
matthias
2608cc4aff
* Remove stale rcsid string.
...
* Add missing prototypes.
* Move over softnet() from intr.c.
* Establish softnet and softclock interrupts in init532.
* Misc cleanup to get it compiled with the new CWARNFLAGS.
1997-03-20 12:00:54 +00:00
matthias
62d993de87
* Remove trailing newline.
1997-03-20 12:00:51 +00:00
matthias
5e6e424a62
* Initialize the interrupt controller part of the ICU in intr_init.
...
* Move softnet and the establishing of the softclock and softnet
interrupts to machdep.c.
* Fix some printf format strings.
1997-03-20 12:00:50 +00:00
matthias
5e1cac29c9
* Include sys/systm.h and netinet/in.h to get missing prototypes.
1997-03-20 12:00:47 +00:00
matthias
855084814b
* Include <sys/disk.h> to get prototypes for dk_establish.
...
* Fix definition of strat arg for {read,write}disklabel.
1997-03-20 12:00:46 +00:00
matthias
bd1c07266e
* add missing prototypes.
...
* Fix some printf format strings.
* Remove unused Debugger() definition.
1997-03-20 12:00:43 +00:00
matthias
79e491a855
* Add missing prototypes and casts.
...
* Fix a printf format string.
1997-03-20 12:00:42 +00:00
matthias
0b6fa5346b
* Add missing prototypes.
1997-03-20 12:00:40 +00:00
matthias
966187a7e0
* Add missing prototypes.
...
* Reconstruct a piece of text that got lost in the past.
* Make the output for undefined instructions more consistent.
1997-03-20 12:00:37 +00:00