Commit Graph

38466 Commits

Author SHA1 Message Date
tsutsui
499db14bcb sun3 always defines Debugger(), so don't redefine it. 2000-06-06 14:24:05 +00:00
pooka
e1e9261889 fix typo 2000-06-06 14:01:40 +00:00
leo
0118b9d71e _qs -> _sched_qs 2000-06-06 13:44:30 +00:00
augustss
1c94b92bc4 Initialize pointer before doing free of it. 2000-06-06 11:36:21 +00:00
leo
45c84d3f9c Fix prototype definition of findroot(). 2000-06-06 11:09:46 +00:00
pk
8a0d25a707 Oops, type confusion.. 2000-06-06 09:20:31 +00:00
haya
d1421ab5ac Remove unnecessary function arguments. 2000-06-06 08:20:06 +00:00
haya
c93ef01fbf Use entire extent region when PCIBIOS_ADDR_FIXUP is set. PCIBIOS
provides PCI-dedicated memory and io extent.
2000-06-06 08:17:37 +00:00
pk
b5321a5a5c Make the address argument of pcache_flush_page() a `paddr_t'. 2000-06-06 07:56:40 +00:00
kleink
05d7f969b9 Regen. 2000-06-06 07:55:50 +00:00
kleink
aed5858e8b Add the product ID for the ESS Maestro 3 modem function as well. 2000-06-06 07:55:17 +00:00
jhawk
be69eea9ae First cut at an outline of stuff to do. 2000-06-06 05:41:54 +00:00
jhawk
b756e7384d Stop using DDB-specific "%n" kprintf() format specifier. This was
important as db_sym() can be called through printf() rather than
db_printf(), causing a trap as the standard %n usage is invoked.

The DDB-specific %n code should disappear from subr_prf.c soon...
2000-06-06 05:06:25 +00:00
thorpej
c791fe193f Give the sio' and pceb' drivers the `82c693' attribute. 2000-06-06 03:10:55 +00:00
thorpej
f3d9d1ac8a Use the common 82c693 access functions to read/write the ELCR. 2000-06-06 03:10:13 +00:00
thorpej
21d9669e4f Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.
2000-06-06 03:07:39 +00:00
soren
d8e5d1fa7d Add rnd(4) glue for the MIPS3 cycle counter. 2000-06-06 02:24:00 +00:00
sommerfeld
bbca3924cd Replace "timestamp" with "counter" in previous change, to avoid any
possible confusion that it has anything to do with accurate
measurement of time.

New names:
	__HAVE_CPU_COUNTER
	cpu_counter()
	cpu_hascounter()
2000-06-06 01:33:15 +00:00
thorpej
f65502fc36 Report which compatibility IRQ the PCI IDE gets. 2000-06-06 00:50:15 +00:00
nisimura
3ca4913346 One more fix escaped from iointr() change. 2000-06-06 00:47:21 +00:00
nisimura
72f372eca2 Add a missing parenthesis and correct the function return value declaration. 2000-06-06 00:27:58 +00:00
nisimura
8c8d3119f0 Make sure model specific cpu_intr() routines call _splset() as the last
action.
2000-06-06 00:08:24 +00:00
nisimura
2f3e73fe03 Withdraw this configuration. NetBSD/pmax GENERIC is now switched to
MI SCSI.
2000-06-06 00:02:24 +00:00
jhawk
c063b64a2b Do not clear msgbufenabled in dumpsys(). Dump messages will now go to
the message buffer. This can be invaluable in debugging if the dump
fails (assuming a persistant message buffer)
2000-06-05 23:44:55 +00:00
sommerfeld
7497ddcce5 /dev/random code cleanups:
- Add comments about which spls apply to which data structures.
 - Consistently protect the rnd_samples queue (the queue of
unprocessed samples) at splhigh().
 - allow MD code to supply cpu_timestamp() and cpu_havetimestamp() for
an optional higher-resolution clock/roulette wheel source.
 - Collect more statistics on the pool state (keeping track of where
collected bits are going, in addition to where they came from).
 - Add RNDGETPOOLSTAT ioctl to get the additional stats.
 - Flush a few unused rndpool calls.
 - XXX XXX Cryptographic changes:
  - 32-bit rotate is:
	((val << rp->rotate) | (val >> (32 - rp->rotate))),
    not
	(val << rp->rotate) | (val >> rp->rotate)
    or
	((val << rp->rotate) | (val >> (31 - rp->rotate)))
  - Avoid overloading of rp->rotate and double-rotation of data
(which limited pool mixing somewhat; "rotate" never got above 7).
  - Be more paranoid (but probably not paranoid enough) about mixing
output back into the pool.  This is an improvement, but it needs
revisiting soon.

We should follow the spirit of some of the recommendations in
the Schneier PRNG papers:

http://www.counterpane.com/yarrow-notes.html
http://www.counterpane.com/pseudorandom_number.html

including:
 - two (or more) stage operation for better isolation between inputs
and outputs.
 - use of keyed one-way functions (probably better even than
invertible keyed functions like 3DES) at key points in the data flow,
so that breaking the PRNG is clearly as hard as breaking the function.
2000-06-05 23:42:34 +00:00
cgd
489af6e337 fix pasto pointed in the evcnt changes pointed out by Robert Swindells 2000-06-05 23:28:20 +00:00
gmcgarry
fc43b2daa3 Replaced by xi(4). 2000-06-05 23:21:35 +00:00
gmcgarry
d0241b393f Replace references to xe with xi. Clarify description to avoid
confusion with the Xircom tlp-based cards.
2000-06-05 23:18:50 +00:00
gmcgarry
3129070fd6 New driver for Xircom CreditCard PCMCIA Ethernet. Replaces xe driver which
didn't work.  Renamed to avoid clash with next68k network driver.
2000-06-05 23:14:22 +00:00
gmcgarry
63ce2b1954 Clean up usage of XIRCOM/TDK identifiers. 2000-06-05 23:06:31 +00:00
gmcgarry
923b803b77 Regen. 2000-06-05 23:05:30 +00:00
gmcgarry
b1cff781b9 - Clean up XIRCOM entries
- Add entry for Xircom CreditCard Ethernet + Modem 28
- Add entry for Intel EtherExpress PRO/100
- Add entry for Compaq Netelligent 10/100 Ethernet
2000-06-05 23:04:04 +00:00
gmcgarry
c2a8e26e11 - remove conditional compilation on NAUDIO
- use preprocessor for constants
2000-06-05 23:02:04 +00:00
sommerfeld
bcf02ec8ff If rnd is configured into the kernel, do rnd(4) entropy collection
from devices connected to pckbc:
 - Do actual sample collection in pckbc.
 - Add rndsource_element_t to the slot data.
 - Change pckbc_set_inputhandler() to take an additional argument,
the name of the device, which is (eventually) passed into
rnd_attach_source() to identify the source.
 - Change callers of pckbc_set_inputhander() appropriately.
2000-06-05 22:20:54 +00:00
thorpej
b0ce38fd8a Switch to the new `evcnt' mechanism for counting interrupts. Maintain
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.
2000-06-05 21:47:26 +00:00
bouyer
0e7cd755f4 use the correct variable in a debug printf(). 2000-06-05 21:47:25 +00:00
thorpej
2668e3b213 Switch to the new `evcnt' mechanism for counting interrupts. Maintain
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.
2000-06-05 21:47:10 +00:00
is
c7767f7b58 This was committed accidentally. 2000-06-05 21:40:34 +00:00
is
2b2e526525 This is amigappc, not amiga. 2000-06-05 21:37:33 +00:00
sommerfeld
fae21c7be1 Let rnd(4) know how to read the (pentium and higher) cycle counter:
If __HAVE_CPU_TIMESTAMP is defined, <machine/rnd.h> exists and defines
two functions:
  1) 	u_int32_t cpu_timestamp(void);
returns the 32 low order bits of a reasonably high frequency counter.
  2)	int cpu_havetimestamp(void);
returns non-zero if cpu_timestamp() actually works.

The timestamp counter should run at a frequency greater than 1 MHz
(otherwise, microtime would be sufficient); other than that, the exact
frequency and origin of the counter are unspecified.
2000-06-05 21:15:22 +00:00
thorpej
814826fdda Fix typo. kern/10291. 2000-06-05 20:47:47 +00:00
pk
862a955e34 Re-arrange code to flush physically indexed caches:
* replace `flush by line' function with a `flush by page' funtion, which
  also takes an argument to indicate that write-back caches need not
  validate its backing memory.

* use this function when allocating page table memory to flush the cache
  before mapping it into kernel virtual space.

* also use it in pmap_{zero,copy}_page(), so we can safely use non-cacheable
  access in there.
2000-06-05 20:38:24 +00:00
thorpej
a804b492ac Use CMSG_*() properly. 2000-06-05 17:21:38 +00:00
thorpej
0a3a6e34f8 Oops, missed a couple of places where CMSG_*() should be used. No
functional change in this case, but the code is now correct.
2000-06-05 16:29:45 +00:00
chs
d4ffcd0cec change ifdef __sun3__ to sun3, since the former isn't defined on sun3.
(not that it matters, since the sun3 currently has its own copy of
these files anyway, but it's nice to be consistent.)
2000-06-05 15:58:43 +00:00
tsutsui
5138b1b1bb Well, this is esp_pcmcia, not esp_pci. 2000-06-05 15:36:45 +00:00
tsutsui
a12331c461 Oops, struct scsipi_adapter was changed recently. 2000-06-05 15:19:42 +00:00
tsutsui
8c4d1bf1f9 Adapt MI ncr53c9x changes. 2000-06-05 15:08:00 +00:00
joda
9e1f399ada fix `#scsibus at siop?' line 2000-06-05 13:34:13 +00:00
kleink
ca3d9c7fa7 Regen. 2000-06-05 11:34:07 +00:00
kleink
428a7ca4e3 Add the ESS Maestro 3 product ID as well. 2000-06-05 11:33:35 +00:00
kleink
9b40e3731a Regen. 2000-06-05 11:31:15 +00:00
kleink
be40495bb0 ESSTECH:
* add what's allegedly the Maestro 1's product ID.
* align product names with data sheets.
2000-06-05 11:29:28 +00:00
itojun
af6b403d46 backout change to in6_pcbnotify(). the change seems premature
(may cause trouble with advanced API in certain situation).
2000-06-05 08:09:48 +00:00
nisimura
4371d91433 Have MI ncr53c9x_attach() the 2nd and 3rd arguments for scsipi_adater
and scsipi_device respectively, with size reduction of ncr53c9x_softc.
Specifying NULL instructs the driver to use default adapter and default
device codes. Every target port has ncr53c9x_attach(sc, NULL, NULL) anyway.
2000-06-05 07:59:50 +00:00
pk
36a1354bc6 Change previous to use `vm_map_min(dstmap)' instead of hard-coding
VM_MIN_KERNEL_ADDRESS.
2000-06-05 07:28:56 +00:00
itojun
8987054176 pass struct proc * down to udp6_output and in6_pcbbind. 2000-06-05 06:38:22 +00:00
thorpej
724a90318e - Fix file descriptor passing AGAIN. This has apparently been broken
on LP64 systems (and probably the SPARC) since the __cmsg_alignbytes()
  changes went in.
- Change file descriptor passing to use CMSG_DATA(), not (cm + 1).  This
  pretty much has to be done in order to make it work properly on LP64,
  and considering that it's been broken this long...
- Use CMSG_SPACE() to determine the mbuf length needed for a given
  control message, and CMSG_LEN() to stash in the cmsg_len member.
2000-06-05 06:06:07 +00:00
matt
661884208a add support for counting soft interrupts 2000-06-05 03:45:23 +00:00
matt
6204fa3c99 Update to new evcnt stuff 2000-06-05 02:28:19 +00:00
matt
2f85fe7adb Adjust to new evcnt stuff. 2000-06-05 00:09:17 +00:00
gmcgarry
11382b8021 Add APM_ALLOW_BOGUS_SEGMENTS - allow the use of data segments which
are in unexpected locations.
2000-06-04 22:36:27 +00:00
gmcgarry
745e3fef63 pciiide -> pciide 2000-06-04 22:22:12 +00:00
gmcgarry
a5156a5c97 Cleanup #if 0 cruft. 2000-06-04 22:21:09 +00:00
mycroft
43a543fa88 Implement CLKF_INTR(), to count interrupt time separately. 2000-06-04 21:27:38 +00:00
matt
ac621687a3 Add coff_machdep.h (now need due to the recent exec_coff changes). 2000-06-04 21:06:18 +00:00
ragge
1320a4106c Adopt to latest mba/hp changes. 2000-06-04 20:04:21 +00:00
ragge
79e7f9966d Adapt to mba changes. Fix assembler buf (EDIV uses 64-bit arg, not 32). 2000-06-04 19:58:17 +00:00
matt
a8a863d4ea more cleanup. use __builtin_frame_address(0) instead of our funky
FRAMEOFFSET macro.  define an interrupt call frame and use that directly
instead of some magic offsets.  Make boot autoconf.o use the current
reality.
2000-06-04 19:30:14 +00:00
cgd
0d6c1f9870 This is the dawning of the age of Aquarius ... o/~ (evcnt bumps us to 1.4ZA) 2000-06-04 19:17:27 +00:00
cgd
cffb580806 Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
matt
e2293f4ad0 Add a comment 2000-06-04 19:03:27 +00:00
ragge
c46119030a Forward declaration of `struct proc'. 2000-06-04 18:27:39 +00:00
matt
f08ff1ad2d use PR_IPL instead of 0x12.
align entries of various symbols.
2000-06-04 18:13:06 +00:00
thorpej
1c8cd252f9 ANSI'ify. 2000-06-04 18:09:36 +00:00
ragge
db7db1456e Remove home-grown interrupt vector handler.
Bus_space'ify; needed to get RH11 working. Still much more to do, though.
2000-06-04 18:04:38 +00:00
ragge
d7a5a63645 Changes to sbi_attach_args. (and some cleanup) 2000-06-04 18:02:35 +00:00
ragge
1838716f7b Remove some unneeded code. (and cleanup). 2000-06-04 18:00:48 +00:00
ragge
82e0b5f7db Changes of sbi_attach_args. (and cleanup) 2000-06-04 17:59:50 +00:00
ragge
1e19df4bfd Clean up the sbi_attach_args struct and put in tag/handle.
Move a nice macro to scb.h.
2000-06-04 17:58:19 +00:00
thorpej
6addd3ac42 Nuke a couple of unnecessary IMBs. In these cases, the mappings weren't
hanging, only perhaps the permissions being lowered, in which case the
I-stream does not need to be sync'd.
2000-06-04 17:39:12 +00:00
thorpej
a39439b400 ANSI'ify. 2000-06-04 16:55:57 +00:00
mycroft
a7c27cd3af Nothing yet. 2000-06-04 16:29:25 +00:00
mycroft
9dcdff8f25 Add stubs for PE/COFF. 2000-06-04 16:26:11 +00:00
mycroft
e9deffe0bf Move a bunch of the COFF definitions into exec_coff.h, so they can be used by
other code.   XXX Not tested on SH3 yet.
2000-06-04 16:23:59 +00:00
thorpej
581e676913 Protect kernel function prototypes with _KERNEL. 2000-06-04 15:18:08 +00:00
tsubai
0552fd6de2 Dump fp regs into core file. 2000-06-04 12:12:13 +00:00
tsubai
5257d23759 Add fpreg area in struct md_coredump. 2000-06-04 11:57:17 +00:00
itojun
93b2b4e693 remove include files in nonstandard path
(has been #error for couple of months).
2000-06-04 11:52:06 +00:00
fvdl
c8c1e5854f Fix wrong test for (software) queue blocked condition. 2000-06-04 11:42:55 +00:00
tsubai
86ac32df3d Add PT_GETFPREGS and PT_SETFPREGS support. 2000-06-04 09:30:43 +00:00
itojun
0376690bbf move socklen_t decl to sys/ansi.h.
sys/socket.h pulls in sys/ansi.h and declare socklen_t as necessary.
the change is to allow declaration of socklen_t with less inclusion ordering
constraints.  (netdb.h needs this change)
2000-06-04 08:50:28 +00:00
matt
0bd304e528 More event counter stuff. Plus a little cruft cleanup while doing it. 2000-06-04 06:16:53 +00:00
thorpej
e8d65fec30 ANSI'ify function declarations. 2000-06-04 05:27:45 +00:00
thorpej
70dc4d8718 Un-__P'ify kernel prototypes. 2000-06-04 05:23:18 +00:00
matt
713121e8c4 Nuke it. It's in dev/qbus now... 2000-06-04 04:48:34 +00:00
takemura
1a710b9899 Bugfix and a little improvement for trouble shooting.
- BUGFIX: pbsdboot1 ignores Yes for 'Are you sure ?' dialog box.
  - display status which indicate how much loading sequence progress.
  - add debugging log function.
2000-06-04 04:30:48 +00:00
matt
078c7563c2 newer version exists in dev/qbus. nuke this one. 2000-06-04 04:19:57 +00:00
matt
061896a992 now in dev/qbus so nuke this version. 2000-06-04 04:16:58 +00:00
thorpej
df4a5a7f43 Increment an interrupt depth counter in non-clock interrupt cases
so that we can get time spent in interrupt statistics.
2000-06-04 03:40:03 +00:00
matt
7c24069048 Add extra argument to scb_vecalloc (a struct evcnt *)
Move ivec_dsp from trap.h to scb.h
Add interrupt counting to asc, le, ze, ncr, dz interrupts.
add common support for counting interrupts to cnm_idisp so
it can be done very efficiently.
2000-06-04 02:19:24 +00:00
oster
6dcc553fae Remove outdated comment. 2000-06-04 02:16:05 +00:00
matt
11ab56a399 Start counting interrupts. 2000-06-04 02:14:42 +00:00
matt
576faa0c31 Start couting interrupts. 2000-06-04 02:14:12 +00:00
oster
0b63accce0 Merge rf_update_component_labels() and rf_final_update_component_labels(). 2000-06-04 02:05:13 +00:00
oster
1dcc041500 Minor prototype cleanup. 2000-06-04 01:39:49 +00:00
fair
e3a9f21a5f Change the debug level from 1 to 3 for "skipping target" diagnostic
which spews unreasonably for a Qlogic SCSI-2 narrow controller, which
does not have ID's above 7.
2000-06-03 22:44:43 +00:00
thorpej
cd423732b8 - Clean up clock interrupt code a bit, and provide a CPU_IS_PRIMARY()
macro in the MULTIPROCESSOR case (hardclock() wants it).
- Implement __GENERIC_SOFT_INTERRUPTS, and redefine the legacy
  software interrupts in terms of it.  Garbage-collect setsoftserial().
2000-06-03 20:47:36 +00:00
thorpej
0e2f894851 Provide a CPU_IS_PRIMARY() macro in the MULTIPROCESSOR case. 2000-06-03 20:43:28 +00:00
thorpej
5b281c5932 Move schedticks and cp_time into schedstate_percpu. Also, allow
non-primary CPUs to call hardclock(), but make them bail about
before updating global timekeeping state (that's the job of the
primary CPU).
2000-06-03 20:42:42 +00:00
matt
dd335d2595 add M_SOFTINTR 2000-06-03 18:22:38 +00:00
fvdl
d1d025652d Revert previous change until the problem it has has been analyzed. 2000-06-03 17:33:25 +00:00
matt
547f87cded fix arguments to get_device. 2000-06-03 16:48:59 +00:00
oster
2c127bf249 Allow getting a component label from a spare disk. 2000-06-03 16:44:43 +00:00
itojun
d7e34999be sync with recent kame.
avoid use of macros to manipulate sockaddrs (hides error case too much).
correct IPv4 packet handling when ip option is present.
preparations for ipsec policy engine upgrades.
2000-06-03 16:14:02 +00:00
itojun
9d853e8a4f sync with kame.
- use latest source address selection code - in6_src.c.
- correct frag header insertion.
- deep copy ip6 header portion in ip6_mloopback to avoid overwrite.
- do not bark when we forward packet to loopback.
- some cosmetics.
2000-06-03 14:36:32 +00:00
thorpej
be636036f8 Err, actually, print "21264A", not "EV67". 2000-06-03 14:13:42 +00:00
thorpej
d42ef058b5 Recognize PCA57 and EV67. 2000-06-03 14:12:54 +00:00
thorpej
392948ced8 Add EV57 and EV67 processor variants.
cvs: ----------------------------------------------------------------------
2000-06-03 14:12:28 +00:00
shin
4a71a2a50f delete unnecessary 'extern ...' line. 2000-06-03 13:16:02 +00:00
pk
630ec72e5d Make sure to have the cache info before allocating the global cpu_info
virtual addresses.
2000-06-03 09:56:35 +00:00
takemura
f0e427d05a Add platid, VADEM CLIO C-1000 and C1050.
Note: CLIO C-1000 is identical with SHARP Tripad PV6000.
2000-06-03 08:00:42 +00:00
nisimura
de01642cac Use bus_dma(9) to instruct IOASIC DMA to load transferring addresses,
eliminating MIPS cache machinary exposure here.
2000-06-03 07:55:17 +00:00
simonb
01ba921ad2 p_xstat and p_acflag should be u_int16_t, not int16_t. 2000-06-03 04:15:43 +00:00
matt
2c336f1de3 Add VAX display types along with the SPARCbook P9100. 2000-06-02 23:45:13 +00:00
eeh
03228642f7 Use all 64 address bits in ld*a()/st*a() macros so physical device addresses
work.  (Also add some bus_space_*() debug hooks).
2000-06-02 22:56:32 +00:00
matt
baaa1154d5 no need to raise ipl since the definition of softintr_schedule is that
it's from at or above softipl.
2000-06-02 22:14:10 +00:00
cgd
0b270a9dfb booted_partition, not booted_parition... 2000-06-02 22:09:02 +00:00
matt
34a96c661b replace spl4 with splconsmedia 2000-06-02 21:51:46 +00:00
matt
d278b1da45 Add IPL_* codes.
Add other codes for struct references.
Add softintr framework for IPL_SOFTNET and IPL_SOFTSERIAL.
General cleanup of .s files replacing hardcoded structure offsets with
symbolic ones.
2000-06-02 21:51:15 +00:00
matt
83a385c230 use splsoftddb() instead of hardcoding the ipl. 2000-06-02 21:49:06 +00:00
matt
b8cccfafd8 Move spl macros from <machine/param.h> to <machine/intr.h>
Fix botch on my part and make the IPL_* match reality on VAX.
Redefine spl macro using the symbolic IPL_ instead of being hardcoded.
Move schedsoftnet, schedsoftclock from <machine/cpu.h> to <machine/intr.h>
Add a _setsirr macro for schedsoft*.
Add softintr function and framework.
2000-06-02 21:47:02 +00:00
matt
fb6a3dfb64 Include offsets in vs_cpu register in comments. 2000-06-02 21:39:54 +00:00
mhitch
0e88f603fa Allow sii driver to be compiled with MI SCSI support. Now DS3100 users
can use MI SCSI!
2000-06-02 20:24:20 +00:00
mhitch
51ebf74f71 Add commented out entry for SII driver using MI SCSI.
Remove DS500-only comment for MI SCSI configuration include.
2000-06-02 20:23:13 +00:00
mhitch
ccb1131a2d SII driver goes MI SCSI: add a scsibus at xsii. 2000-06-02 20:22:00 +00:00
mhitch
ee0ecb0855 Coerce the SII driver into working with MI SCSI; convert scsipi_xfer info
into a ScsiCmd structure.
2000-06-02 20:20:29 +00:00
mhitch
44d42ae28b Add some glue so let the SII driver work with MI SCSI. 2000-06-02 20:16:51 +00:00
mhitch
61ec2107d7 Clear lun field in ScsiCmd (SII driver change to work with MI SCSI). 2000-06-02 20:15:40 +00:00
mhitch
8e72d1b6c4 Adjust to allow SII driver to work with MI SCSI. 2000-06-02 20:12:57 +00:00
tsutsui
f44619d89d KNF some lines. 2000-06-02 18:34:05 +00:00
thorpej
42e4f5279b Rearrange the code that loads pages into the VM system somewhat, and
use the ACPI memory map if provided by the boot program.
2000-06-02 18:33:16 +00:00
thorpej
90ef824c6d Actually define the ACPI memory map entry (bi_memmap_entry). 2000-06-02 18:27:47 +00:00
thorpej
7f1c64b910 Enable the code that passes the ACPI memory map to the kernel. 2000-06-02 18:26:10 +00:00
cgd
8d519faff4 fix type of sysctl_ntptime 'where' arg in defined(NTP) case 2000-06-02 18:22:44 +00:00
itojun
e0b65589f1 sync with more recent kame. cope with malloc failure more gracefully
some cosmetics.
2000-06-02 18:20:15 +00:00
thorpej
7a5ce477cb When allocating new PT pages during early bootstrap (i.e. before
pmap_init() has finished), make sure to zero them.
2000-06-02 17:46:37 +00:00
simonb
7e6435a651 White space nit in previous. 2000-06-02 16:05:49 +00:00
simonb
38cc1b3975 Add new sysctl node "KERN_SYSVIPC_INFO" with "KERN_SYSVIPC_MSG_INFO",
"KERN_SYSVIPC_SEM_INFO" and "KERN_SYSVIPC_SHM_INFO" to return the
info and data structures for the relevent SysV IPC types.  The return
structures use fixed-size types and should be compat32 safe.  All
user-visible changes are protected with
	#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)

Make all variable declarations extern in msg.h, sem.h and shm.h and
add relevent variable declarations to sysv_*.c and remove unneeded
header files from those .c files.

Make compat14 SysV IPC conversion functions and sysctl_file() static.

Change the data pointer to "void *" in sysctl_clockrate(),
sysctl_ntptime(), sysctl_file() and sysctl_doeproc().
2000-06-02 15:53:03 +00:00
eeh
f2ab1eb70c db_stack_trace_cmd -> db_stack_trace_print 2000-06-02 15:38:32 +00:00
eeh
94084a33f8 New softintr interface. 2000-06-02 15:36:53 +00:00
shin
5d883bf68e make it compile with 'options SOFTFLOAT'. 2000-06-02 12:57:22 +00:00
pk
51ff5f7cd1 Let uvm_map_extract() set the lower bound on the kernel address range
itself, in stead of having its callers do that.
2000-06-02 12:02:43 +00:00
pk
bf3a6b350b Shouldn't pass garbage to uvm_map_extract(). 2000-06-02 11:47:53 +00:00
pk
aae0ef4cc1 In pmap_cpu_alloc(), allocate memory for the PTE tables in one sweep. 2000-06-02 10:43:59 +00:00
haya
7bb941e63d KNFied. 2000-06-02 08:41:13 +00:00
pk
65e4bcd9df Re-initialize proc0.p_cpu' after allocating the global cpu_info'
address for the boot cpu (XXX)
2000-06-02 08:12:29 +00:00
nisimura
b52ffbdbe9 Make clarified SCSI transfer direction flag. sc_ispullup == pullup
data from SCSI device == DMA into main memory == datain.
2000-06-02 04:35:06 +00:00
cgd
00b28e7a52 another mod of opportunity: const poison. (cfprint_t should take
const char * as second arg, too, but that's Hard.)  also, convert use
of "(char *)0" to NULL.
2000-06-02 01:48:50 +00:00
cgd
a556975be3 __P and K&R declarations -> ANSI protos + declarations. tweak NetBSD IDs,
and __KERNEL_RCSID to subr_autoconf.c.
2000-06-02 01:31:52 +00:00
oster
66e6338ac9 Use 'componentN' rather than leaving blanks for non-existant disks
in the 'raidctl -s' output.
2000-06-02 01:17:14 +00:00
gmcgarry
9ee45aaf3a Remove wbflush(). These are not necessary with the new IOASIC bus_space
framework.  From Tohru Nishimura.
2000-06-01 21:46:17 +00:00
thorpej
9851571246 Add support for the Alpha Processor, Inc. UP1000 EV6 system. 2000-06-01 20:30:28 +00:00
matt
dca520b4a6 Add fixcoff so an obj dir can be created 2000-06-01 18:33:43 +00:00
pk
e1859436f1 Fix lossage when transferring a pointer value into an off_t var. 2000-06-01 18:30:03 +00:00
matt
33763f10cf Fix a missing cases of devpp -> booted_device, partp -> booted_parition 2000-06-01 17:42:59 +00:00
matt
251afc5218 fix compile problem. 2000-06-01 17:35:42 +00:00
thorpej
79744e1563 Add a global patchable variable to enable debugging printfs in the
code that finds the boot device.
2000-06-01 17:12:38 +00:00
augustss
c6ddc6009b Make it compile with USB_DEBUG. 2000-06-01 15:51:26 +00:00
augustss
fff66007d9 Reorder a little. 2000-06-01 15:43:32 +00:00
matt
9169d99f2a Don't pass booted_* to findroot/getdevice, access them via the globals.
Also, make findroot static.  This eliminates unneeded clearing of them
and make their use consistent among the ports.
2000-06-01 15:38:20 +00:00
soren
83887f5ad9 Add stand SUBDIR. 2000-06-01 15:20:12 +00:00
augustss
5218e2a490 Improve some portability items. 2000-06-01 14:37:51 +00:00
soren
2e62480619 Up the compression factor slightly. 2000-06-01 14:33:43 +00:00
soren
0c99ca516f Further cripple the GENERIC configuration. It seems that the firmware
limits are 1000000/2500000 bytes compressed/uncompressed. Sigh.
A boot loader would be nice.
2000-06-01 14:31:26 +00:00
augustss
ed9486e158 Bring the coding style into the 80s, i.e., get rid of __P and use
ANSI prototypes and declarations.
2000-06-01 14:28:57 +00:00
soren
4796114fef Add ext2fs. 2000-06-01 14:21:44 +00:00
sommerfeld
f732048856 Add missing newline 2000-06-01 13:50:48 +00:00
simonb
ab92666f6b Fix a possible kernel memory leak - if the cmdline of a process was
requested after it had started to exit but before it became a zombie
a page of kernel memory wouldn't be free'd.
2000-06-01 13:43:08 +00:00
simonb
dbbe2b1dd7 Plug a slow kernel memory leak - a page was lost for each system or
zombie process queried with the KERN_PROC_ARGS sysctl.  Fixed by moving
a malloc call after all possible early return conditions.
2000-06-01 13:36:51 +00:00
augustss
87a5ae384c Update URLs. 2000-06-01 09:58:19 +00:00
thorpej
e75d8e3878 Forgot __KERNEL_RCSID(). 2000-06-01 05:49:36 +00:00
david
156fa3d59c Remove entry for non-existant driver that entered GENERIC in 1.289
and propagated to others when sync'd.
2000-06-01 04:24:00 +00:00
matt
7067d99bb7 Since booted_device/paration are globals, no need to init them to 0. 2000-06-01 04:16:37 +00:00
thorpej
5114577ab0 ISA DMA bounce buffer code, needed for a couple of SGMAP-less
systems, support for which will be hitting the tree soon.
2000-06-01 03:55:45 +00:00
thorpej
1cf70c169f Rearrange things a little so we can deal with systypes that aren't
densely packed.
2000-06-01 03:41:23 +00:00
thorpej
850f9b030b Typo. 2000-06-01 03:16:51 +00:00
thorpej
c7f9211c18 Add placeholders for the support files for the Alpha Processor, Inc.
UP1000 EV6 system.
2000-06-01 03:16:19 +00:00
matt
e488ca043b change void f() to void f(void) 2000-06-01 02:28:11 +00:00
matt
c9aff328d9 Make booted_device global (and booted_parition for consitency).
Eliminate it from header files and other extern definitions.
2000-06-01 00:49:49 +00:00
cgd
e4c35df1c9 kill __P in these files. (I had to look at them anyway with an eye for
adding some protos... and adding them with __P seems wrong, but mixing
__P and not __P in the same file seems wrong too, so...)
2000-06-01 00:22:52 +00:00
cgd
47449a63d2 kill __P in these files. (I had to look at them anyway with an eye for
adding some protos... and adding them with __P seems wrong, but mixing
__P and not __P in the same file seems wrong too, so...)
2000-06-01 00:04:50 +00:00
matt
9ed466ce4b Add extern struct device *booted_device (make MI instead of MD since nearly
every port uses it).
2000-06-01 00:03:10 +00:00
matt
22635242c9 Eliminate booted_from. extern'ed booted_device (for raidframe). nothing
outside autoconf.c in sys/arch/vax needs to deal with booted_device).
2000-05-31 23:55:51 +00:00
matt
7a66d70655 add placeholders for the MicroVAX 3400 (ka640). 2000-05-31 23:53:27 +00:00
phil
d09ecbdf2a Add an entry for the HP ScanJet 6300C. 2000-05-31 23:10:39 +00:00
thorpej
370a47ecac Add a few systypes. 2000-05-31 18:29:17 +00:00
matt
168343c32d Make the ramdisk space the same as the ramdisk size being built in distrib 2000-05-31 17:35:59 +00:00
uch
53c8f0ac37 if defined PCIBIOS_ADDR_FIXUP, use more safety extent. 2000-05-31 16:39:56 +00:00
uch
a99c8407ab don't destroy PCI bus space extent for rbus_machdep.c 2000-05-31 16:38:55 +00:00