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