mycroft
d1c236b1e4
Tweak to improve performance slightly on very small packets and headers.
...
Suggested by Jonathan Stone.
1997-04-24 05:46:20 +00:00
thorpej
6a2fc99857
STRIP -> STRIPFLAG
1997-04-17 07:27:46 +00:00
jtk
76ea50410b
handle bios requests differently: mark them in progress while waiting
...
for user input, or until the driver is ready to handle them itself.
Also, try to turn on power management if the BIOS says it's disabled at
connect time.
1997-04-15 01:45:11 +00:00
jtk
4ed6c3b834
add support for ACC Micro host bridges
1997-04-13 22:48:27 +00:00
perry
a0e583f33e
Fix problem I just introduced in booting on timeout.
1997-04-13 19:10:00 +00:00
perry
7f3e4fcb29
bump to 2.0Beta2; we'll keep incrementing until we release the real 2.0
1997-04-13 18:49:31 +00:00
perry
00b5e61754
Provides "reboot" call, which just calles INT 19h to ask the bios to
...
reboot the machine.
This may be insufficient, but its enough for now.
1997-04-13 18:45:37 +00:00
perry
20b87fc0c9
1) Make carriage return start boot immediately.
...
2) Make "quit" reboot machine. This works by adding a reboot assembler
hook that calls INT 19h
1997-04-13 18:44:39 +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
augustss
56f33727b5
Include OSS audio emulation.
1997-04-04 15:35:06 +00:00
perry
e32bb7d002
fix bad size calculation for kernel memory mappings, as in when
...
allocating 1 byte from a page alligned address.
reported (with fix) in pr-3441 from Matthias Drochner
1997-04-02 23:44:44 +00:00
christos
206e950042
Add netatalk netisr
1997-04-02 21:59:02 +00:00
mycroft
3018d16337
Enable wdc1 at IRQ 15.
1997-04-01 13:12:13 +00:00
christos
68b10e62c4
PR/3407: Koji Imada: Modern BIOS's can boot from higher than second hard disk
1997-03-29 21:40:19 +00:00
christos
519527d9cf
PR/3401 incorrect MANDIR after rule changes
1997-03-28 20:22:55 +00:00
thorpej
cb24b0200a
Don't allocate mclrefcnt[]; it's dead and gone.
1997-03-27 21:01:20 +00:00
mycroft
b9a022ebe6
Add EXEC_ELF32.
1997-03-27 06:18:31 +00:00
cgd
bf22891897
update for current system configuration
1997-03-27 06:04:39 +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
perry
51157fe131
Comment out the wt driver -- its rather dangerous to ed users, as it
...
turns out. Also, add a comment explaining this.
1997-03-26 01:16:23 +00:00
mycroft
46f55019b7
Optimize the case of writing to /dev/zero, and clean up the
...
surrounding code a bit. Partly suggested by gwr.
1997-03-24 21:16:59 +00:00
mycroft
136c4013aa
Expand the comment on the previous.
1997-03-24 01:36:43 +00:00
mycroft
bfcfadcf86
Reenable the keyboard controller reset hack.
1997-03-24 01:32:38 +00:00
mycroft
7d3520e146
Redo the way exceptions are set up, and add a handler for
...
exception 15, which the P6 local APIC may erroneously send us.
1997-03-22 16:56:00 +00:00
thorpej
edad9d2e05
Purely cosmetic whitespace/indentation changes (mmm, indent(1))
1997-03-22 09:13:48 +00:00
thorpej
e321bba79a
Purely cosmetic whitespace/indentation changes (mmm, indent(1))
1997-03-22 09:03:29 +00:00
thorpej
83edf0b6cd
- oops, fix a missing space in a printf
...
- allow whitespace before a command, and if there is only whitespace,
don't print the help message (seeing a help message after just
tapping return can be a shade annoying).
1997-03-22 09:00:41 +00:00
thorpej
ecfdbcaa40
Mimmick the old boot block's hdN -> Xd0 (where X is specified by the
...
disklabel type) unit conversion behavior.
1997-03-22 04:15:51 +00:00
thorpej
f07be03679
Purely cosmetic whitespace and indentation changes (mmm, indent(1))
1997-03-22 01:48:27 +00:00
thorpej
5e82fddd43
Purely cosmetic whitespace/indentation changes (mmm, indent(1))
1997-03-22 01:41:34 +00:00
thorpej
ddf4bc9113
Don't abort if we don't find an MBR or NetBSD MBR partition; simply assume
...
that the NetBSD portion of the disk begins at sector 0.
1997-03-22 01:33:10 +00:00
thorpej
5bd8a86d23
Link installboot statically so that it can be used on install floppies
...
and in emergency situations.
1997-03-22 00:16:56 +00:00
mycroft
1963665c7e
Add IPL_AUDIO.
1997-03-21 04:34:18 +00:00
is
6c55a345c6
Make this compile with NetBSD-1.2D (if_ether.h location changed).
1997-03-20 16:15:15 +00:00
is
5df51f68f4
Make this compile with 1.2D (if_ether.h location changed)
1997-03-20 16:14:22 +00:00
mycroft
4cba0b41af
cpu_reset(): Improve the triple-fault code, and use it by default for now.
1997-03-19 22:39:25 +00:00
mycroft
da53c636bc
ether.h -> arp.h
...
NETHER -> NARP
1997-03-19 20:32:11 +00:00
sommerfe
62852f4d92
If we're "degraded", say just *how* degraded we are..
1997-03-19 18:18:02 +00:00
sommerfe
9fefd40478
In 16-bit mode, mov %ax,%bx is interpreted as mov %eax,%ebx; this
...
breaks zero-extension of the 16-bit memory size return from the BIOS.
on at least one system, the trash left in the upper half of %eax
causes the kernel to crash during VM system initialization when it
thinks it has on the order of 2**31 bytes of memory to play with.
We now *say* mov %eax,%ebx, but *mean* mov %ax,%bx..
1997-03-19 18:12:10 +00:00
mycroft
ff6b9e27ce
Do not permit the user to set the nested task flag.
1997-03-19 03:52:02 +00:00
mycroft
139d254f6a
Handle user TSS faults.
1997-03-19 03:19:01 +00:00
perry
520b71bb34
From Matthias Drochner:
...
give global constants more meaningful names
1997-03-15 22:20:55 +00:00
perry
5347892165
From Matthias Drochner:
...
give global constants more meaningful names
eliminate code duplication
1997-03-15 22:20:02 +00:00
perry
aa5f5f8441
From Matthias Drochner:
...
use constants from etherdrv.h
1997-03-15 22:18:55 +00:00
perry
6a00e9acc8
From Matthias Drochner:
...
use constants from etherdrv.h
make selection table driven
1997-03-15 22:18:21 +00:00
perry
3824935377
From Matthias Drochner:
...
add constants for media selection
1997-03-15 22:17:35 +00:00
perry
e097564463
From Matthias Drochner:
...
add definition prototype for PCI ROMs
add optional definition for serial console support
1997-03-15 22:16:35 +00:00
perry
817522ff26
From Matthias Drochner:
...
fix prototypes
use CONSDEV_* constants for consistency
1997-03-15 22:15:49 +00:00
perry
86ab882a41
From Matthias Drochner:
...
support for ROMs ala PCI specification
1997-03-15 22:15:02 +00:00
perry
492449d27a
From Matthias Drochner:
...
calculate 16-bit checksum
support for ROMs ala PCI specification
1997-03-15 22:14:02 +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
thorpej
92796a6d43
Add a mountroothook that prompts the operator to insert a file system
...
floppy, a'la the SPARC port.
1997-03-15 01:34:10 +00:00
mycroft
d0c586a17f
Put the genassym.sh output in a temp file, and mv -f it, in case
...
it fails spectacularly and doesn't clean up. Also, remove dependencies for
genassym.o (since it no longer exists).
1997-03-14 23:16:08 +00:00
thorpej
76c1d7a5b5
We don't even need to clear the BSS here; it's been done by the boot
...
program for a Long Time, and doing it (correctly :-) here means that
we wipe out, among other things, boothowto. (oops!)
1997-03-14 19:50:06 +00:00
thorpej
a276c4ee15
- Some cosmetic changes to whitespace
...
- make the command parser table-driven
1997-03-14 06:56:27 +00:00
thorpej
6ed34bacd9
Purely cosmetic whitespace changes.
1997-03-14 06:55:07 +00:00
mycroft
e96f48563b
Add netboot.bin to CLEANFILES.
1997-03-14 05:07:27 +00:00
thorpej
63a75dcdcf
Make this work with obj* dirs.
1997-03-14 04:59:34 +00:00
perry
627952867a
Ressurect (not quite, since this is in fact the new boot code Makefile
...
now).
1997-03-14 02:54:14 +00:00
perry
816bb96145
Initial import of new boot code, created by Matthias Drochner with a
...
little hacking by me. This isn't strictly identical to his 920312
release -- I've hacked it a bit -- but since we are taking over change
control it doesn't matter much.
1997-03-14 02:40:32 +00:00
perry
2eb5a59f71
Initial import of new boot code, created by Matthias Drochner with a
...
little hacking by me. This isn't strictly identical to his 920312
release -- I've hacked it a bit -- but since we are taking over change
control it doesn't matter much.
1997-03-14 02:40:29 +00:00
cgd
a15ede807a
add entries for isp, as isp* at pci? dev ? function ?, for Qlogic ISP 10x0
...
PCI SCSI controllers. Also, add the attached SCSI busses.
1997-03-13 04:15:24 +00:00
fvdl
7fb73fe0b2
Fix error in computation of BSS size when clearing it.
1997-03-12 19:49:11 +00:00
sommerfe
9460da5eb9
Implement trace/t ("thread" trace) allowing traceback by process-id
...
rather than by frame pointer (which it a bit harder to find).
1997-03-11 16:38:23 +00:00
fvdl
b754b514dc
Bring limits up to 'modern' standards.
1997-03-05 23:51:47 +00:00
mycroft
8c6fca26ee
Oops! Fix this to block all interrupts during configuration, after previous
...
interrupt priority changes.
1997-03-03 02:33:41 +00:00
mycroft
b2038a332d
Import interrupt priority changes from com patches:
...
* Make it a strict hierarchy. (It was close anyway).
* Add `serial' and rename `softtty' to `softserial'.
* Make soft interrupts a bit less special-case.
1997-02-28 16:24:03 +00:00
mycroft
2563167e16
There's no reason to use splhigh() here.
1997-02-28 04:44:08 +00:00
mycroft
2929dff5bd
Use genassym.sh, to support cross-compilation.
1997-02-26 23:50:04 +00:00
jonathan
a2ff9d9662
Protect MCLSHIFT definition so users can customize MCLBYTES.
1997-02-26 01:21:18 +00:00
fvdl
115b6d92fa
Define ALIGNED_POINTER
1997-02-24 23:16:53 +00:00
christos
7fb32152cc
Fix PR/3253: Don't try to probe the isapnp port in ioports already claimed
...
by other devices.
1997-02-24 22:13:55 +00:00
mrg
b10b2c5426
comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter.
1997-02-18 21:07:36 +00:00
perry
0c7dacfcec
All these files are ancient and haven't been used in years -- the
...
current boot blocks are in boot/; we need the thing cleaned out so we
can put the new libsa based boot stuff in its place.
1997-02-15 23:54:52 +00:00
is
85aab927f0
Fix obvious typo.
1997-02-14 13:06:28 +00:00
jonathan
a7b2815a55
Import Dennis Ferguson's i386 clock change request from PR 2785:
...
* Add table-driven assembly-coded microtime().
* add boot-time computation of the interpolation table,
allowing the hand-coded microtime() to work with locally-tuned
nonstandard values of HZ or TIMER_FREQ.
* delete old C version of microtime().
1997-02-13 00:59:12 +00:00
mikel
6131acb9c8
fix typos; from Erik Bertelsen in PR port-i386/2272.
1997-02-07 06:12:46 +00:00
gwr
ea3925f508
FIXUP_PC_AFTER_BREAK now takes an arg of type db_regs_t *
1997-02-06 21:16:28 +00:00
fvdl
0a4a706e84
Cast initialization of 2nd field in db_variable struct to (long *). Should
...
probably be register_t *
1997-02-04 19:52:55 +00:00
perry
19d153fc48
Nuke some options GENERIC residue.
1997-02-04 04:57:10 +00:00
perry
0b3a46d6b3
Nuke some GENERIC residue.
1997-02-04 04:31:55 +00:00
mycroft
df3b4bae5c
db_expr_t became a long.
1997-02-04 00:02:34 +00:00
mycroft
12da023cd4
db_expr_t became a long.
1997-02-03 23:36:09 +00:00
thorpej
d8096d0e4e
Oops! NFSCLIENT -> NFS
1997-01-31 05:57:05 +00:00
thorpej
739f23a219
This file is obsolete; this information is now generated by config(8).
1997-01-31 05:12:49 +00:00
thorpej
5f46d3130a
Use new machine-independent setroot().
1997-01-31 01:51:17 +00:00
thorpej
8eae9eaaec
Adopt for new file system and root spec grammar.
1997-01-31 01:50:46 +00:00
mycroft
c4062005b4
Oops! Forgot to pop an argument to npxintr().
1997-01-29 01:07:38 +00:00
mikel
2ef9229953
remove superflous DESTDIR ref; PR 3143
1997-01-28 04:01:41 +00:00
cgd
8afda473db
update for new kernel library Makefile.inc expectations
1997-01-23 23:07:56 +00:00
mycroft
2cac90cc74
ep* at isapnp?
1997-01-22 23:46:59 +00:00
thorpej
7b40f5228e
"md" is declared in sys/conf/files, now.
1997-01-21 09:39:20 +00:00
perry
090b876b86
added options I686_CPU (commented or uncommented) per thorpej
1997-01-16 23:30:28 +00:00
christos
4d08f671d5
Add Plug and Play devices
1997-01-16 23:25:03 +00:00
perry
c5d453076d
print 'with MMX' for MMX CPUs (from Martin Husemann) -- fixes pr-3110
1997-01-16 23:21:14 +00:00
christos
c3be709b8c
- add the Plug and Play glue
...
- make the joystick driver use it.
1997-01-16 23:19:56 +00:00
perry
5ee4204742
fix CPUID table for 486SX (from Scott Telford) -- fixes pr-3107
1997-01-16 23:18:04 +00:00
christos
be20628b9e
- conversion to bus_space_* macros
...
- split the isa and pnp attachments
1997-01-16 23:17:45 +00:00
christos
0df79f25ad
i386 plug and play glue
1997-01-16 23:12:22 +00:00
perry
b89a3425b7
Eliminate obsolete TIMEZONE and DST options.
...
Eliminate obsolete global kernel variable "struct timezone tz"
Add RTC_OFFSET option
Add global kernel variable rtc_offset, which is initialized by
RTC_OFFSET at kernel compile time.
on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many
minutes west (east) of GMT the hardware RTC runs. Defaults to 0.
Places where tz variable was used to indicate this in the past have
been replaced with rtc_offset.
Add sysctl interface to rtc_offset.
Kill obsolete DST_* macros in sys/time.h
gettimeofday now always returns zeroed timezone if zone is requested.
settimeofday now ignores and logs attempts to set non-existant kernel
timezone.
1997-01-15 01:28:28 +00:00
perry
8b5d8866c9
fix kvm_mkdb problem -- as per pr 3092
1997-01-10 05:28:14 +00:00
mycroft
5369bfe88a
s/soft error/soft error (corrected)/, to avoid confusion.
1997-01-09 04:30:08 +00:00
mrg
c71a371532
use pseudo-device ipfilter, not ipl.
1997-01-07 11:35:01 +00:00
veego
863a668514
Add the pseudo-device for ipl and PFIL_HOOKS which is required for ipl.
1997-01-07 08:01:32 +00:00
veego
6141167d37
Add cdevsw entry ( #44 ) for ipl (IP filter).
1997-01-07 07:57:31 +00:00
jtk
d721f54830
Be more careful with posting events for user standbys and user
...
suspends--let the user-level daemon handle it if present.
(pr#3005)
1997-01-04 03:04:25 +00:00
jonathan
2d9783cc79
Remove {GENERIC,INST}{ADP,OTHER}: split Adaptec {ADP} and other-scsi {OTHER}
...
{GENERIC,INSTALL} config files, respectively.
The BusLogic SCSI driver no longer accepts Adaptec 154x devices,
making the split kernels unecessary.
1996-12-29 07:28:53 +00:00
pk
c4a0dfb011
omission in last commit: ramdisk.h => md.h
1996-12-28 23:50:44 +00:00
pk
f750d179be
rename: ramdisk => md
1996-12-28 23:42:33 +00:00
pk
114271a083
rename: ramdisk => md
1996-12-28 23:10:44 +00:00
fvdl
468d71d6f9
Add kernel_text symbol (from Jonathan Stone)
1996-12-22 23:05:31 +00:00
jtk
6afa1586ff
repair fdopen() to allow multiple opens at same density (was broken with fdformat)
1996-12-20 12:21:48 +00:00
jonathan
a2715c2ce6
Clone INSTOTHER to INSTALL, with both Adaptec and other SCSI controllers.
1996-12-20 06:45:15 +00:00
thorpej
01daecba3a
Implement pci_decompose_tag().
1996-12-17 01:55:56 +00:00
tls
6083cacd31
fix very misleading comment
1996-12-10 05:28:15 +00:00
fvdl
b3418365a1
Make sure KVM used by buffer cache doesn't exceed VM_MAX_KERNEL_BUF.
...
XXX stopgap measure.
1996-12-09 22:51:55 +00:00
fvdl
3dc301ff58
Include VM_MAX_KERNEL_BUF constant to put a cap on buffer cache KVM usage.
...
Override via config file possible.
XXX this is a stopgap measure.
1996-12-09 22:49:42 +00:00
fvdl
9e2e734159
Remove _MCOUNT_DECL prototype once more.
1996-12-07 12:59:45 +00:00
thorpej
8b4cab0ac8
s/EXTMEM_SIZE/BIOSEXTMEM/
1996-12-07 00:25:58 +00:00
fvdl
3e4fb99a14
Fix missing instruction in NexGen test code; make it a 386-class CPU too.
...
(Valtteri Vuorikoski / Jason).
1996-12-06 22:27:37 +00:00
fvdl
671b24f374
Add _MCOUNT_DECL prototype.
1996-12-05 10:21:09 +00:00
cgd
96acdadef7
First step inn removing config_scan() and the hacks that gave devices
...
on indirect-config busses a (permanent) softc that they could share
between 'match' and 'attach' routines:
Define __BROKEN_INDIRECT_CONFIG so that old autoconfiguration
interfaces are used, until drivers are converted to use the new
interfaces (actually, converted back to use the _older_ interfaces)
which prohibit indirect configuration devices from receiving a softc
in their match routine that they can share with their attach routine.
1996-12-05 00:13:47 +00:00
fvdl
380174248f
Change asm.h to make it usable for kernel profiling as well.
...
Make mcount() a prototype in profile.h
1996-12-04 00:03:41 +00:00
fvdl
1f758a1a78
Change CPU recognition code to know more types, and make it changeable
...
easier when new types arrive.
Locore: make profiling work for some functions; use <machine/asm.h>
(from Jonathan Stone)
1996-12-03 23:59:25 +00:00
fvdl
2775763610
Added types/definitions for changed CPU recognition code.
1996-12-03 23:54:54 +00:00
thorpej
3883cff7fb
Oops, bus_space_set_{multi,region}_N() is supposed to have an `offset'
...
argument. Add one to the `prototype' in the comment which preceeds
`not implemented' :-)
1996-12-02 05:35:13 +00:00
jonathan
4c1d96de78
* Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
...
Lets users over-ride with makeoptions COPTS="..." in kernel config files.
Leave `mandatory' flags (like -msoft-float which on m68k enforces no
FP in kernel) in CFLAGS.
1996-12-01 06:12:25 +00:00
jonathan
51194cb458
Fix #ifdef DEBUG prinf() lint: bp->b_bcount is long, not int.
1996-12-01 00:43:45 +00:00
jtc
9da5f60715
PROF -> GPROF
1996-11-30 02:48:57 +00:00
jtk
6f602476b2
tabstop corrections, thanks to Paul Kranenburg
1996-11-30 01:45:39 +00:00
jtk
88449561be
Add floppy formatting facility.
...
i386 floppy controller code came from FreeBSD, as worked on by:
jc@irbs.UUCP (John Capo)
vak@zebub.msk.su (Serge Vakulenko)
ache@astral.msk.su (Andrew A. Chernov)
joerg_wunsch@uriah.sax.de (Joerg Wunsch)
dufault@hda.com (Peter Dufault)
formatting ioctl interface is generalized to an MI interface. see fdc(4)
and fdformat(1)
1996-11-29 16:28:38 +00:00
thorpej
23587e9e17
Update for pchb and pcib drivers.
1996-11-28 03:15:13 +00:00
thorpej
35a40fda4b
Implement a simple generic PCI-ISA bridge driver. This driver exists
...
primarily to nicely print version information about your PCI chipset
(try with "options PCIVERBOSE"). Eventually, it may be used to
enable/disable features/bugs of a given PCI chipset. In addition, this
driver uses the PCI-ISA bridge callback mechanism to logically attach the
ISA bus to the PCI-ISA bridge.
1996-11-28 02:53:45 +00:00
thorpej
30612943e3
Implement a simple generic PCI-Host bridge driver. At the moment, this
...
driver is a place-holder, which will nicely print version information
about your PCI chipset (try with "options PCIVERBOSE"). Eventually,
this can be used to enable/disable features/bugs of individual PCI
chipsets.
1996-11-28 02:49:01 +00:00
thorpej
9a6796b559
In isa_attach_hook(), set a variable to indicate that an ISA bus has
...
been attached to the system. If, by the time mainbus wants to attach
an ISA an ISA has not yet been attached to the system, attempt to attach
an ISA to mainbus.
1996-11-28 02:43:53 +00:00
thorpej
446317125e
In fdcresult(), the loop that pulls status off the controller is treated
...
as a "timeout", yet there's no specific delay in each iteration. Add
a small delay (10 usec... pretty arbitrary) in each iteration. This
fixes the "fdcresult: timeout" problems I've been having on my 200MHz P6.
1996-11-27 19:53:51 +00:00
jtk
73b960a308
add pre-probe step so that autoconfiguration does not print 'apm0 at
...
mainbus0 not configured' message if configured but not present in the
BIOS
1996-11-22 00:19:07 +00:00
mycroft
135b1cea1f
Remove incomplete and unused `fast' vector code.
1996-11-20 14:09:07 +00:00
jonathan
a935a72af3
Fix cut-and-paste errors.
1996-11-20 11:37:52 +00:00
jonathan
584f698f2c
* Add old-style vmstat -i interrupt counters for normal and stray interrupts.
...
Interrupts for irqs with handlers are counted as normal, even if none of
the handlers claim the interrupt.
Should all be redone with hierarchical event counters. that count
hardware events and invocations of each handler separately.
* Increment cnt.v_intr for normal interrupts (bugfix).
1996-11-20 10:47:14 +00:00
fvdl
c15f6d921f
Changes for NKPDE calculation from cgd.
...
- New variables: biosextmem, biosbasemem, nkpde
- Above can be set by using the options BIOSEXTMEM, BIOSBASEMEM,
and NKPDE respectively (EXTMEM_SIZE is now called BIOSEXTMEM).
When preset this way, they won't be filled in / calculated.
- Readable by sysctl using machdep.nkpde, machdep.biosbasemem
and machdep.biosextmem.
- nkpde is calculated as:
min(NKPDE_MAX, NKPDE_BASE + (biosextmem >> 10) * NKPDE_SCALE)
Where NKPDE_MAX is 31, NKPDE_BASE is 4, NKPDE_SCALE = 1.
1996-11-18 01:06:09 +00:00
fvdl
9974e36372
Move VNODEPAGER and DEVPAGER to std.i386 as well.
1996-11-16 01:16:38 +00:00
jtc
16b48272c4
Define _BSD_CLOCKID_T_ and _BSD_TIMER_T_
1996-11-15 22:38:45 +00:00
fvdl
ac0bb07268
Add MACHINE_NONCONTIG as a define.
1996-11-15 09:21:41 +00:00
fvdl
5d9d9e5cda
Move non-optional options to std.i386, and use that file.
1996-11-15 09:19:31 +00:00
jtk
acf32b66b8
fix bitmask_sprintf typo
1996-11-14 12:39:55 +00:00
mikel
5d1041a8ee
remove extra $(DESTDIR). Fixes port-i386/2878.
1996-11-14 08:05:58 +00:00
thorpej
1a2f892e07
Deal with unused variable warning introduced in last change, pointed
...
out by David Carrel <carrel@cisco.com>.
1996-11-13 17:42:45 +00:00
thorpej
a0dffcafc2
Use bitmask_snprintf().
1996-11-13 07:00:30 +00:00
thorpej
490126b07a
Use bitmask_snprintf().
1996-11-13 06:48:24 +00:00
mikel
d9763055f7
Enable eisa0 and pci0 for network cards
1996-11-13 00:09:57 +00:00
jtc
46ab334aef
Changed condition used to determine whether to do the overlap-safe
...
copy to succeed only when regions actually overlap. This improves
the performance of the average case. Pulled from userland bcopy.S.
1996-11-12 01:49:29 +00:00
thorpej
e463f9241e
Two things pointed out by Chris Demetriou <cgd@cs.cmu.edu>:
...
- The boundary argument to bus_space_alloc() should be a bus_size_t, not
a bus_addr_t.
- The buffer arguments in the "multiple write" methods should have
const qualifiers.
And one from me:
- Make bus_space_barrier() eat up the arguments passed to it so that
the compiler doesn't needlessly whine.
1996-11-10 03:19:25 +00:00
thorpej
17909dbe5d
The boundary argument to bus_space_alloc() should be a bus_size_t, not
...
a bus_addr_t. Pointed out by Chris Demetriou <cgd@cs.cmu.edu>.
1996-11-10 03:16:17 +00:00
mikel
752f0f5c9c
Fix typo; PR port-i386/2666.
1996-11-07 07:30:19 +00:00
cgd
8a3333b2a9
Fix an inconsistency that came in with Lite: setrq() was renamed to
...
setrunqueue(), but remrq() was never renamed. Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
cgd
1413ef1d07
Add an APM_NO_STANDBY option, which can be enabled by people whose BIOSes do
...
the wrong thing with standby mode (as some older ThinkPAD 701c BIOSes do, for
example.) Rename APM_NOIDLE to APM_NO_IDLE for consistency and "niceness,"
and error out (with a useful error message) if APM_NOIDLE is defined.
1996-11-06 18:09:43 +00:00
mikel
2241acdd09
vga_move_charset() shouldn't need XSERVER. Fixes port-i386/2904.
1996-11-06 05:28:49 +00:00
mikel
acaccdd747
make X support code dependent on XSERVER; PR port-i386/2528.
1996-11-05 06:21:25 +00:00
jtc
4620e80691
The copyright for this file has been assigned to the NetBSD Foundation
1996-11-04 23:04:43 +00:00
explorer
236a28d49e
Make this compile without COMPAT_10 or _11
1996-10-31 01:16:57 +00:00
sommerfe
d26717de0e
Workaround for building linux-emulation LKM.
1996-10-29 02:19:25 +00:00
fvdl
753949629e
Make this compile again if PCI_CONF_MODE is defined (unused label).
1996-10-24 12:32:29 +00:00
fvdl
016d7b35dc
Make this compile without COMPAT_10 (unused variable).
1996-10-24 12:22:43 +00:00
perry
8ca5cce5c7
sync (mostly) with Alpha version. Among other things, this fixes the
...
boot-time printf better.
1996-10-22 16:38:34 +00:00
perry
ac4e0ab44e
add a missing \n in the printf in rd_attach_hook. added an XXX
...
comment to note that this printf still isn't quite right (possibly
because this is now a pseudodevice), and the autoconf printout when
mounting root on a ramdisk isn't right, either. This should both be
fixed.
1996-10-22 10:19:10 +00:00
thorpej
b84a8f42d9
Implement eisa_mem_{alloc,free}(), a method for allocating/freeing
...
EISA bus physical address space.
This i386 implementation allocates system physical address space
after the end of RAM.
1996-10-21 23:12:56 +00:00
thorpej
16c4c5af26
New bus.h implementation/interface:
...
- No more distinction between i/o-mapped and memory-mapped
devices. It's all "bus space" now, and space tags
differentiate the space with finer grain than the
bus chipset tag.
- Add memory barrier methods.
- Implement space alloc/free methods.
- Implement region read/write methods (like memcpy to/from
bus space).
This interface provides a better abstraction for dealing with
machine-independent chipset drivers.
1996-10-21 22:24:37 +00:00
perry
7117cf93ec
Add #include <sys/systm.h>, so that cc -W* doesn't bitch and error out
...
when printf() gets used in this file.
1996-10-21 01:49:22 +00:00
hpeyerl
7aa41bf1a7
#ifdef out a couple of variables dependant on USER_LDT.
1996-10-20 22:39:03 +00:00
fvdl
d1400746a5
Fix some printf formatting strings within DEBUG and DIAGNOSTIC defines.
...
From Mike Long, PR 2859
1996-10-18 09:03:42 +00:00
thorpej
150c33e60b
Use ${INSTALL}.
1996-10-18 05:55:26 +00:00
fvdl
6177bfa965
Remove compiler warning when USER_LDT not specified. PR 2852
1996-10-17 19:41:00 +00:00
fvdl
3e338cbad4
Fix compiler warning (PR 2852)
1996-10-17 19:38:45 +00:00
fvdl
f9a53c581f
Cast ioport_ex_storage to caddr_t, needed becauseit is now long[]
...
and creates warnings.
1996-10-17 19:31:09 +00:00
thorpej
78bce16293
Couple of changes:
...
- Rename EX_NOBLOB to EX_NOCOALESCE; it's much more descriptive of
what's going on.
- Ensure that fixed extent storage is longword aligned.
1996-10-17 08:31:28 +00:00
jonathan
772aec9bf4
Remove #ifdef DEBUG lint:
...
change "%x" -> "%p" for printfs() with pointer args in i386_{set,get}_ldt()
1996-10-17 05:26:25 +00:00
jonathan
6dab138cc0
Remove lint inside #ifdef DEBUG:
...
* fix pmap debugging format strings: "%x" -> "%lx" for vm_offset_t
"%x" -> "%p" for pointers.
* add prottypes for pmap dumping functions
* add missing return types on pmap dumping functions
* move initialization of pamp_enter_pv():pv before #ifdef DEBUG code
which uses pv.
1996-10-17 05:11:47 +00:00
jtk
37449bd6a8
fix compile warnings with -DDEBUG or -DAPMDEBUG
1996-10-16 22:30:34 +00:00
jtk
aa8449a9ef
fix compile errors & warnings
1996-10-16 01:12:18 +00:00
christos
05d14bf764
catch up with Jason's changes
1996-10-13 18:28:49 +00:00
christos
ad67e04154
backout previous kprintf change
1996-10-13 16:50:51 +00:00
christos
bd73314ed9
backout previous kprintf changes
1996-10-13 03:19:38 +00:00
thorpej
4879f62ed8
Need <sys/exec.h> for the PS_STRINGS definition.
1996-10-12 02:20:37 +00:00
christos
06555645c2
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:24:36 +00:00
christos
c47b25b2e5
add -Wall -Wstrict-prototypes -Wmissing-prototypes.
...
We are compiling cleanly now!
1996-10-11 00:04:22 +00:00
christos
1f54d4ded6
add in_addr_t and in_port_t and use them.
1996-10-11 00:02:47 +00:00
christos
e6302ff46c
- add missing prototypes
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:56:50 +00:00
christos
4335eeb4ed
- fix uninitialized sticks
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:51:19 +00:00
explorer
e331708d2f
turn off floppy motor (and light) even if the drive isn't found. This fixes
...
some laptop indicator lights which would be stuck on after the probe
1996-10-09 16:10:14 +00:00
cgd
472889f8e4
moved to aout_machdep.h (via repository copy)
1996-10-08 12:57:37 +00:00
mycroft
d675cc33af
Add examples of NTP, MROUTING, and serial console.
1996-10-02 23:56:43 +00:00
mycroft
99e5b1260c
Add EXEC_ options.
1996-10-02 23:15:58 +00:00
mycroft
3d3546293e
Update to match reality.
1996-10-02 23:14:04 +00:00
mycroft
eb5fab46d8
No longer used.
1996-10-02 22:24:44 +00:00
mycroft
652ec49cc8
Update to current reality.
1996-10-02 22:20:51 +00:00
mycroft
284b1db215
No longer used.
1996-10-02 22:07:59 +00:00
christos
0b99fde177
Fix PR/2782: Remove definition of dos_partitions[].
1996-10-01 00:06:05 +00:00
christos
13b8943557
fix PR/1085: fix read and write label routines so that they can be called
...
with a null cpu_disklabel
1996-09-30 21:24:49 +00:00
cgd
0e097578a2
add and use a machine-dependent header, which currently defines some
...
macros to use to remove #ifdefs from the machine ID case check.
Eventually, these headers will contain other information, e.g.
machine-dependent relocation information, etc.
1996-09-26 21:50:55 +00:00
cgd
aff6c1c4c7
kill DDB
1996-09-26 21:45:05 +00:00
christos
6dde563e8f
Fix the entries for the cyclades multiport serial cards, but leave commented
...
out, like the other multiport cards
1996-09-24 19:10:41 +00:00
cgd
a5aa202ea9
kill unused options. no point in wading through lots of lines of commented
...
out garbage that will never be useful on this machine.
1996-09-22 03:00:32 +00:00
jtk
fc79deac52
when halting, attempt to turn off power using APM
1996-09-16 04:44:28 +00:00
jtk
1541178d9b
update the data segment mapping clamps to handle more screwy BIOS requests
1996-09-13 22:58:27 +00:00
jtk
bfd321ca95
don't shift size fields; they're not descriptors
1996-09-13 03:10:56 +00:00
jtk
662c47ecd3
use ls, not ${LS}; remove now-unneeded Makefile.inc
1996-09-13 02:24:30 +00:00
jtk
04f1e23fe1
BIOS trampoline is a static beast; generate it in the sources like
...
syscalls.h & friends, and include it when needed from the source directory.
1996-09-13 00:02:36 +00:00
explorer
5d76f7cbac
remove unneeded placeholder
1996-09-11 05:24:25 +00:00
jtk
2b5e1cd158
clean up missing prototype, extra variable
1996-09-10 11:22:33 +00:00
mycroft
b3ffba62a6
Move strip(1) flags into a separate variable, so that $STRIP can
...
be passed to subordinate make(1)s. Remove $TOUCH. Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
mycroft
dbacbd3636
Use machine/asm.h. Garbage collect.
1996-09-09 18:42:51 +00:00
mycroft
379839a0df
Make the build process more sane.
1996-09-09 18:07:40 +00:00
mycroft
825aca4d5d
Oops; include paths are relative to $S.
1996-09-09 17:18:47 +00:00
mycroft
3fbde733bc
Sync with version in ../boot.
1996-09-09 16:55:11 +00:00
mycroft
842eae0878
Add a file for local additions to GENERIC.
1996-09-09 16:37:08 +00:00
mycroft
a693d5fcb0
Sync with GENERIC.
1996-09-09 16:33:20 +00:00
mycroft
02b3e8d73e
Add ss, uk. Minor touchups.
1996-09-09 16:30:47 +00:00
mycroft
97c4dc0c80
Remove old comment about rd, and add to chrtoblk[].
1996-09-09 15:51:34 +00:00
jtk
4b9b2da0f5
I meant to depend on apm.h, not Makefile
1996-09-09 11:34:01 +00:00
jtk
ec11419661
fix compilation problems when APM not configured
1996-09-09 11:31:40 +00:00
mycroft
a32047fa0c
Add cdev_decl(rd), for previous.
1996-09-08 15:59:56 +00:00
jtk
3b509ead1a
whoops, forgot to include flags details in bioscall() comments
1996-09-08 15:51:39 +00:00
jtk
1a1feb3827
change APM to use new almost-generalized BIOS trampoline:
...
/*
* void bioscall(int function, struct apmregs *regs):
* call the BIOS interrupt "function" from real mode with
* registers as specified in "regs"
* (for the flags, though, only these flags are passed to the BIOS;
* the remainder come from the flags register at the time of the call:
* (PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
*
* Fills in *regs with registers as returned by BIOS.
*/
Thanks to Charles Hannum for complaining and inspiring me to hack this
together.
1996-09-08 15:43:37 +00:00
jtk
fda7345c98
re-implement BIOS trampoline as a more general-purpose, reusable trampoline.
...
calling interface (via a grapple in locore.s) is:
/*
* void bioscall(int function, struct apmregs *regs):
* call the BIOS interrupt "function" from real mode with
* registers as specified in "regs"
* (for the flags, though, only these flags are passed to the BIOS;
* the remainder come from the flags register at the time of the call:
* (PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
*
* Fills in *regs with registers as returned by BIOS.
*/
still some generalization to do (moving this to a better named location,
cleaning up #if tests from NAPM > 0 to something else to allow easy
sharing by other drivers)
Thanks to Charles Hannum for complaining about the previous BIOS grapple
and inspiring me to hack this one together.
1996-09-08 15:36:51 +00:00
mycroft
1dce8ddb7f
Add char device for `rd'.
1996-09-08 03:31:39 +00:00
mycroft
9110bcca3a
Add uk device.
1996-09-08 00:46:57 +00:00
mycroft
e6dd44f034
Use SIGBUS iff we get a legitimate bus fault. Use SIGSEGV for page protection
...
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).
1996-09-07 22:26:41 +00:00
mycroft
f14cece0ae
Turn off DEBUG by default now.
1996-09-07 20:26:09 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
mycroft
fc3def4096
Remove duplicate declarations of LKM functions and macros.
1996-09-05 15:46:22 +00:00
thorpej
d1384a9b2a
Don't include the FDDI drivers in the install kernels. It's highly
...
unlikely that these will be needed in an install situation, and
we need the space.
1996-09-04 07:35:07 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
mycroft
30a617c634
Wrap the default definition of `S' in `.ifndef'.
1996-08-31 21:40:47 +00:00
mycroft
42c80a3779
Oops. Add patterns for PCI BusLogic cards.
1996-08-31 20:43:53 +00:00
mycroft
06349d0f45
Update for BusLogic and UltraStor changes.
1996-08-31 20:39:14 +00:00
mycroft
0947abc4ec
Oops; fix typo.
1996-08-31 05:10:03 +00:00
mycroft
fbfd18b011
Make sure b_resid is always set before biodone().
1996-08-30 19:59:07 +00:00
mycroft
ecde95b64d
clock >= tty | net | bio
1996-08-30 15:39:31 +00:00
jtk
f6fa8f12a6
change to use consistent APM_ constant names
1996-08-30 02:37:04 +00:00
jtk
f613796771
make all constants use APM_ prefix, and some other minor cleanup so that
...
this can be the sole APM include file
1996-08-30 02:36:00 +00:00
jtk
dbeeead15d
clean up includes and uses of constants so that we use one include file,
...
<i386/include/apmvar.h>
remove some files we don't need anymore
1996-08-30 02:32:13 +00:00
thorpej
9fd32a826d
Fix name conflict with boot() prototype in <sys/reboot.h>
1996-08-30 01:34:01 +00:00
thorpej
c4366945e5
Quiet the ahc driver down a bit by only enabling some of less useful
...
messages #if defined(DEBUG) in the NetBSD case.
1996-08-28 23:39:40 +00:00
thorpej
33dec3a69a
Correct a comment.
1996-08-28 23:02:22 +00:00
thorpej
1a5971cc12
Renate this file; I guess I should have taken a vote :-)
1996-08-28 23:00:46 +00:00
thorpej
4deb6e56b8
Kernel configuration for "NetBSD1", NetBSD.ORG's new mail server.
...
(This would be a good reference kernel for others setting up network
server systems...)
1996-08-28 07:17:58 +00:00
cgd
2a73ef60b7
change cfprint_t type definition to take a const char *, rather than
...
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
mrg
b8e9f36083
add COMPAT_12.
1996-08-26 23:39:36 +00:00