tsubai
07e2c44982
Make compilable without aed.
1998-10-18 09:52:16 +00:00
tsubai
541bc2d3d7
Add wsmouse support.
1998-10-18 09:31:40 +00:00
itohy
2a9addf6dc
Remove unwanted reference to "_trap1" if !defined(COMPAT_13).
1998-10-18 04:42:17 +00:00
jtk
c4ffdb9200
dumpsize == 0 also indicates failure to figure out where to dump
...
(e.g. dump partition too small), so complain in that case when trying to
dump
1998-10-17 00:07:11 +00:00
pk
0bf09a4ae7
Drop cpuinfo's `L1_ptps'; instead keep a per CPU segment (level 2) page
...
table descriptor that is used to patch up a region (level 1) page table
associated with a user pmap at context switch time.
1998-10-16 22:39:17 +00:00
tv
000978aaca
Check for gcc the Right way when quashing -Wuninitialized goop.
1998-10-16 19:34:57 +00:00
ws
d65dc0de3b
Make ourseg visible to the outside similar to bootsect/start_bootsect.S
...
(Thanks to hannken@eis.cs.tu-bs.de for pointing this out).
1998-10-16 18:07:35 +00:00
bouyer
bf32feec28
More >2Gb fixes, from Constantine Sapuntzakis.
1998-10-16 14:29:40 +00:00
mycroft
79a031f9d3
Configuration for new CVS server.
1998-10-16 00:30:53 +00:00
ross
3707ad314c
History. INSTALL is now used on the floppy set and combo CD/HD/tape image.
1998-10-16 00:15:15 +00:00
drochner
5bdff43727
Initialize default disklabel properly: Whole disk is RAW_PART, not 'a'.
1998-10-15 19:08:33 +00:00
drochner
337bfd46a5
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
1998-10-15 18:46:37 +00:00
drochner
2468738337
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
bad
34f348a9e4
Work around gcc warning.
1998-10-15 18:01:49 +00:00
ws
f82918b49b
Add int13 extension support
1998-10-15 15:28:22 +00:00
bad
50aa1b9d51
Add the IDT WinChip C6 to the cpu type table.
1998-10-15 15:26:01 +00:00
tsubai
3b892dd579
/chaos/control support. (tested 640x480 mode only)
1998-10-15 14:48:47 +00:00
tsubai
810fcde7eb
Set PCI bus number correctly.
1998-10-15 14:39:53 +00:00
bad
28b3386649
Add CPUVENDOR_IDT and CPU_C6.
1998-10-15 13:40:33 +00:00
bouyer
999d5323c0
Make CPURESET_DELAY a patcheable variable, as sugested by Chris G. Demetriou.
1998-10-15 11:41:28 +00:00
bouyer
96a0812fd8
Kill an extra printf("\n").
1998-10-15 11:38:04 +00:00
thorpej
d153ad6324
Some const poisioning.
1998-10-15 07:06:47 +00:00
matt
a9a911bdba
Add .type pseudo-ops needed for shared libraries.
1998-10-15 06:01:11 +00:00
thorpej
859b5d88a6
Protect kernel prototypes w/ #ifdef _KERNEL.
1998-10-15 05:11:52 +00:00
thorpej
2ebdceb3f7
Forward decl of struct proc.
1998-10-15 05:10:20 +00:00
mycroft
ee042cb008
Disable the I/O address, DRQ and IRQ validation; assume that the config file
...
is sane.
1998-10-15 04:05:53 +00:00
mycroft
d2d873481a
pcic_wait_ready(): If we didn't get READY, print out the current status.
1998-10-15 04:04:43 +00:00
ross
0450169fae
1. Avoid snarfing label areas unless necessary; read with monotonically
...
increasing block numbers and don't reread cylinder 0.
2. Recognize the USTAR.... meta-info file...kind of like a super-block,
it makes the volume size and label info programmable.
1998-10-15 01:11:46 +00:00
ross
3e35915bc3
Don't use big 16K blocks for the -b contiguous secondary boot installation.
...
It leads to confusion about where the end of the image is on tape boots.
1998-10-15 01:05:20 +00:00
ross
16bf3552bb
Save a0 during bss clear.
1998-10-15 01:02:55 +00:00
ross
9f7ca48f3b
Delete prom_open() wrapper routine. Other clients of prom_open
...
can use the prom.h dispatch macros instead, especially since they
all presently expect the raw return bits.
1998-10-15 01:02:15 +00:00
ross
c84b7f501e
Delete bogus prom_open() prototype.
1998-10-15 01:00:56 +00:00
ross
412f6ae85b
Grab booted_dev_fd parameter from bootxx. It won't be there for netboot
...
but there should be no harm done.
1998-10-15 01:00:07 +00:00
ross
6336abe01a
const'ify
1998-10-15 00:56:56 +00:00
ross
df51a43618
Rototill the primary boot for...
...
1. much faster speed
2. support of more media types
1998-10-15 00:55:48 +00:00
ross
c33589db84
Consult osrelease.sh and pass down NETBSD_VERS
1998-10-15 00:52:38 +00:00
ross
74f36b2497
Try the ustarfs open first...it's the only one that can't necessarily
...
seek. We might be reading a tape and the extra superblock reads will
eat up tape records.
1998-10-15 00:51:22 +00:00
ross
9c29657a67
Extern def for raw prom disk file descriptor.
1998-10-15 00:49:34 +00:00
ross
b0367fb980
Don't actually do the raw prom open here.
1998-10-15 00:48:55 +00:00
ross
8447dd624c
1. STANDALONE -> _STANDALONE
...
2. Key raw prom interfaces defes on ENABLEPROM
3. Define the prom "ioctl" magtape functions.
1998-10-15 00:47:28 +00:00
ross
d4e2b18bb1
Define ENABLEPROM, which turns on the raw prom interface defs.
1998-10-15 00:45:52 +00:00
is
8caffffa3e
Activate cleandir (and distclean), as suggested in PR 6244 by
...
Frederick Bruckman.
1998-10-14 20:45:43 +00:00
perry
6413810bf3
Stop spurious lpt messages from being printed -- approved by fvdl.
1998-10-14 20:09:06 +00:00
matt
495a4bdb2c
Sync with new IDE support (e.g. pciide changes)
1998-10-14 18:31:34 +00:00
thorpej
8f460d30f6
Nuke spurious ;
1998-10-14 18:05:45 +00:00
matt
f8e4127109
Remove pciide definitions in files.alpha since they are now in files.pci
1998-10-14 18:00:11 +00:00
pk
fd966585a1
Turn on the counter at each CPU (we fear nothing..)
1998-10-14 14:53:36 +00:00
pk
afcfa7d7fa
Let all CPUs spin at spl0.
1998-10-14 14:47:20 +00:00
pk
631a48776f
Don't allocate two stacks per CPU.
...
Minor attach-time message change.
1998-10-14 14:22:18 +00:00
tsubai
4f4676e9c0
Sync to ``POWERMAC'' config.
1998-10-14 13:54:09 +00:00
dante
773dc968ad
Remove some debugging printf
1998-10-14 13:28:47 +00:00
tsubai
635d4ae57a
Fix typo.
1998-10-14 13:21:10 +00:00
tsubai
c539169765
wskbd support.
1998-10-14 12:56:19 +00:00
tsubai
f6f8f9b3f5
Oops, remove ite/grf.
1998-10-14 12:31:34 +00:00
tsubai
461a9c9361
Add wsdisplay/wskbd.
1998-10-14 12:28:54 +00:00
tsubai
ced4fd09b4
Add wsdisplay.
1998-10-14 12:27:03 +00:00
tsubai
20e56a7571
Add wsdisplay (, wskbd, and wsmouse).
1998-10-14 12:21:21 +00:00
tsubai
9fdd9b72df
Implement PCI tag to OpenFirmware device convert function (pcidev_to_ofdev).
1998-10-14 12:18:20 +00:00
tsubai
b6e7cc68c6
akbd: wskbd support.
...
ofb: OpenFirmware generic framebuffer.
1998-10-14 12:15:10 +00:00
ws
03de6ac37b
Physical addresses are paddr_t, not vaddr_t
1998-10-14 11:45:16 +00:00
augustss
797eea8ae5
Add a sequencer pseuso device since we have a MIDI device.
1998-10-14 11:13:14 +00:00
pk
c65c55af6f
Disable the daft PAUSE() macro, which manages to skip all the relevant
...
code in lockmgr() most of the time. This a no doubt a case of Bad Coding Style.
1998-10-14 09:41:21 +00:00
dante
de1d4ba9b0
Change the way uCode is loaded into board LRAM, to let it work on macppc.
1998-10-13 22:57:26 +00:00
pk
e6c0a03f90
`ncpu != 0' doesn't make much sense when deciding what CP info to print.
1998-10-13 21:08:48 +00:00
pk
bf7ace9074
CLKF_INTR() needs to have a MULTIPROCESSOR version.
1998-10-13 20:53:02 +00:00
bouyer
e8322de657
Add a new drive flag, DRIVE_MODE, set when the drive properly reported its
...
PIO/DMA modes. Don't try a SET_FEATURE if it didn't report its mode.
1998-10-13 15:18:46 +00:00
perry
3a86ff1e67
Fix a stupid bug -- an if that was supposed to be nested but wasn't.
1998-10-13 15:14:13 +00:00
bouyer
7545a59b8c
In debug message, always print controller:channel:drive
1998-10-13 15:02:41 +00:00
pk
802248ee1c
We use MULTIPROCESSOR explicitly here, so pull in "opt_multiprocessor.h".
1998-10-13 13:37:14 +00:00
pk
14a3acbd47
srmmu_cache_flush(): handle small (< NBPG) ranges more efficiently.
1998-10-13 13:34:06 +00:00
tsubai
7d9356dcca
Fix cut-and-paste miss...
1998-10-13 13:15:29 +00:00
pk
1e0064d5d6
EINTSTACK => EINTSTACKP
1998-10-13 12:05:44 +00:00
bouyer
10788ef1be
Add a CPURESET_DELAY options which specifies the delay (in milliseconds)
...
between the "rebooting" message and the hardware reset. If set to 0, the call
to delay() is disabled. Default is 2s.
1998-10-13 11:43:50 +00:00
kleink
cee25f5a9c
Since libc is not ready for enabling weak symbol support yet, disable the
...
WEAK_ALIAS() macro for now (like cdefs.h).
1998-10-13 11:39:26 +00:00
pk
d5e94d4fb2
Add missing `return'.
1998-10-13 11:33:36 +00:00
tsubai
ffb3220169
Don't panic when pmap_remove_pv even if pa is not managed.
...
(i.e. I/O device. framebuffer etc.)
1998-10-13 11:30:47 +00:00
tsubai
b373c846b4
ADB change.
1998-10-13 11:25:26 +00:00
tsubai
7756c05cc4
Split ADB driver to aed (ADB event device), akbd (ADB keyboard),
...
and ams (ADB mouse). adb is a bus now. (from Colin Wood)
1998-10-13 11:21:20 +00:00
bouyer
ff0134b99f
Properly separate DEBUF_XFERS and DEBUG_FUNCS: DEBUF_XFERS is for data
...
transfers (may be called often), where DEBUG_FUNCS is for setup functions
(not used for normal contitions).
1998-10-13 09:33:59 +00:00
bouyer
da5d0a6f17
pciide.c: don't define WDCDEBUG, so it compiles on alpha. Correct a bogon
...
in the printing of DMA mode (piix3/4 only)
others: set the debug_mask to 0, so that debug messages are turned off by
default but can be easily turned on.
Reset drive_flags to 0 for unconfigured devices, so that they are ignored
later. For configured devices, reset state to 0 after probe/attach.
1998-10-13 08:59:45 +00:00
msaitoh
39c8c94fa5
make it compile with GWETHER again.
1998-10-13 08:33:05 +00:00
thorpej
dc7cfafe4c
Default to "no debugging messages" (still patchable).
1998-10-13 05:39:01 +00:00
enami
470c2f6696
Remove space at the end of line.
1998-10-13 03:57:27 +00:00
kim
e34aa44c14
Put back ETHERTALK_AT (but I did convert *all* code to ETHERTYPE_ATALK),
...
so if vendors (or something) used it, it is still found. Also added short
comments for each alias to explain why they are there.
1998-10-13 02:55:18 +00:00
kim
cd7e3136ad
Use ETHERTYPE_ATALK instead of ETHERTYPE_AT. The former seems more common.
...
Our other constants also use "ATALK".
Added many new ETHERTYPE constants to sys/net/ethertypes.h, including the
ones from libpcap and tcpdump "ethertype.h" files.
1998-10-13 02:34:31 +00:00
enami
13b8051475
Make this file compile again with -DATAPI_DEBUG_PROBE.
1998-10-13 02:09:47 +00:00
pk
8511a94f26
Oops, USPACE does not in 13 bits.. repair and save one instruction
...
in a non-SMP kernel.
1998-10-12 22:05:17 +00:00
is
4e322893fa
Make the data pointer of the write_multi, write_region and write_stream
...
methods const *.
1998-10-12 22:02:43 +00:00
pk
c27a8760b7
In switchexit(), switch to the current CPU's idle u.area.
1998-10-12 21:51:54 +00:00
pk
dff4866141
Add offset of `cpuinfo.idle_u'.
1998-10-12 21:50:22 +00:00
pk
5d124ce774
Move around a few PTE-manipulating macros.
1998-10-12 21:17:28 +00:00
is
842fbdf4d2
- add bus_space_{copy,set}_region_{1,2} support and implementation for
...
_1 and for _2 in the contiguous and interleaved case.
- while we're here, reorganize bus.h into sections, and use the defined
convenience functions everywhere.
1998-10-12 21:15:54 +00:00
pk
83b671e23d
Make `cpcb' (current u.area) a per-CPU variable.
...
Brace some MP-only code with `#ifdef MULTIPROCESSOR'.
1998-10-12 20:56:48 +00:00
bouyer
46aa11acac
Adjust include list.
1998-10-12 19:50:09 +00:00
perry
d6748769a5
Cut down slightly by reducing md size and commenting out ext2fs
...
support.
(From Havard.Eidnes@runit.sintef.no )
1998-10-12 16:37:44 +00:00
perry
6b858b9573
kernels for 4Mbyte main memory machines (from Havard.Eidnes@runit.sintef.no)
1998-10-12 16:36:18 +00:00
bouyer
aaa8f8b183
Patch from Mark Brinicombe for arm32 config with the new ide system.
1998-10-12 16:13:03 +00:00
bouyer
19fddaeeb5
Merge bouyer-ide
1998-10-12 16:09:10 +00:00
perry
37cb095897
1) Change "dectohexdec" and "hexdectodec" to "bintobcd" and
...
"bcdtobin". The old names were bogus.
2) Make the code grok the NVRAM's century field. This code is, to say
the least, poorly tested. It should make NetBSD play nicer with other
OSes that care about the century field, however.
1998-10-12 15:41:11 +00:00
pk
6791d7f713
Make `_cpcb' (pointer to current user area) a per-CPU variable.
...
This cpuinfo field is initialized here in locore before calling bootstrap(),
since it must be valid before entering the window overflow/underflow handlers.
Fix miscalculation in the MULTIPROCESSOR version of INTR_SETUP().
1998-10-12 14:39:10 +00:00