Commit Graph

5550 Commits

Author SHA1 Message Date
itohy 94b2e6e61d Dump DDB_* and SYMTAB_SPACE options to opt_ddbparam.h rather than opt_ddb.h.
These options are used in limited files but #include "opt_ddb.h" are
everywhere, and changing them caused almost full recompilation.
2002-11-04 06:24:38 +00:00
perry c8815bffa1 1) egg, meet face. face, meet egg.
2) re-UL KERNBASE, but this time, protect it with #ifndef _LOCORE so we
   don't get a big kaboom in .S files.
2002-11-02 17:30:15 +00:00
kristerw 7f2e5abcf1 Revert previous. The assembler bombs on UL integer suffix. 2002-11-02 11:55:24 +00:00
perry d360d70909 We don't need our on KERNLINTFLAGS any longer. 2002-11-02 07:59:26 +00:00
yamt 310b5f8041 correct asssertion in cpu_switch: spl higher than IPL_SCHED is also ok. 2002-11-02 07:41:30 +00:00
perry 1547f39c5a /*CONTCOND*/ a while (0) macro 2002-11-02 07:15:07 +00:00
perry 7c42625da4 define KERNBASE with a UL -- eliminates 830 or so lines of lint. 2002-11-02 07:09:23 +00:00
perry fa3fedc290 /*ARGSUSED*/ one function -- eliminates 414 lint complaints 2002-11-02 07:07:09 +00:00
perry a0839650fe asm -> __asm 2002-11-02 01:58:51 +00:00
perry 58d2be532d asm volatile -> __asm __volatile 2002-11-02 01:57:31 +00:00
perry 73a1e34586 asm -> __asm 2002-11-02 01:56:14 +00:00
enami d1c7d5dcae Cope with intr.h of rev. 1.29 to prevent panic when DEBUG is defined;
since splsched() now raises system priority level just to IPL_SCHED,
we can't assert that current priority level is IPL_HIGH on cpu_switch.
2002-11-01 06:06:17 +00:00
enami 68c7a9fc3f Pass an argument to panic() correctly. 2002-11-01 05:49:01 +00:00
fvdl 5fca9b943c Make splsched == splclock, and splserial > splsched. Unfortunately,
we have to retain the 'pick unlocked interrupt handler' hack for
the MP case for now.
2002-11-01 01:12:43 +00:00
jdolecek f7d9e82965 constify trap_type[] 2002-10-31 22:32:40 +00:00
jdolecek b56a7c4e6b update trap_type[] according to include/trap.h contents 2002-10-31 22:24:42 +00:00
christos a22639c38a make this link again [mp branch merge lossage] 2002-10-30 15:03:42 +00:00
manu 9b4f3b0464 Introduce an array of supported CPU types by a given arch for Mach-O 2002-10-29 22:22:30 +00:00
blymn 29b7b4241f Added support for fingerprinted executables aka verified exec 2002-10-29 12:31:20 +00:00
tsutsui d0e55f3720 Add fmv* at isapnp? for FMV-183. 2002-10-27 10:28:39 +00:00
jdolecek c82ab2eb79 now that mem_no is emitted by config(8), there is no reason to keep
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
2002-10-26 13:50:17 +00:00
leo e70f340199 Fritz!PCI v2.0 ISDN driver from FreeBSD. 2002-10-25 21:03:47 +00:00
fvdl fe9d9a8b25 Fix MTRR code which had been broken since the MP merge (but silently
failed due to a missing include of opt_mtrr.h in cpu.c)
2002-10-25 12:01:56 +00:00
fvdl 526dd035ea Add macros for cpuid family/step, etc shifting. Moved here from
machdep.c.
2002-10-25 12:00:11 +00:00
junyoung 83f535c080 Add commented-out machfb attachment. 2002-10-24 18:22:53 +00:00
fvdl ab08e70bd1 Make this actually compile. 2002-10-24 07:43:21 +00:00
mycroft 4b51da752c Enable Transmeta CPUs without the LongRun registers to get through
transmeta_cpu_{info,setup}().
2002-10-23 21:41:34 +00:00
jdolecek e0cc03a09b merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00
junyoung 06ad574db3 Minor optimization: movl and andl are slightly faster than movb and andb,
respectively.
2002-10-23 03:28:34 +00:00
christos 438cf3ed4d we need more/different lintstub includes. 2002-10-23 00:58:28 +00:00
christos 24cbd7bcbd add more lintstub includes. 2002-10-23 00:52:56 +00:00
perry afc2a6e72c fix LINTSTUB for in6_cksum 2002-10-23 00:13:14 +00:00
perry 20c8324fac add Empty LINTSTUB 2002-10-23 00:12:27 +00:00
thorpej b61c7338b7 Give the ramdisk another 12k of space. 2002-10-22 23:35:16 +00:00
christos 2e8712edaf avoid using gcc ({}) statements that contain goto's. Change into do while
loops.
2002-10-22 23:18:51 +00:00
christos 2730dd7756 void functions do not return values. 2002-10-22 21:02:09 +00:00
christos 633f1790bf parenthesize properly. 2002-10-22 20:51:43 +00:00
kanaoka 848304f890 Fix bugs in the BIOS memory probe.
- If the BIOS reports the same memory cluster multiple times,
  only allocate the extent once.

- If we fail to allocate an extent,
  don't add it to mem_clusters and don't increment mem_cluster_cnt.

- When loading the physical extents,
  make sure we don't try to add an extent with zero length (seg_start == tmp).

port-i386/13399: from maximum entropy <entropy@tappedin.com>.
2002-10-20 10:35:41 +00:00
soren c542464dd9 CARDBUS was rotting. Make it truly GENERIC+Cardbus by including GENERIC. 2002-10-19 20:32:48 +00:00
junyoung e4b7588c28 Add NEW_BUFQ_STRATEGY (disabled by default). 2002-10-18 15:11:08 +00:00
yamt dcde342d09 add an entry for 0x83 to intel_cpuid_cache_info. 2002-10-18 00:51:22 +00:00
thorpej b000f2251b * Add "struct device" to the softc.
* Add missing notice.

Problems pointed out by Jonathan Stone.
2002-10-17 22:03:40 +00:00
jdolecek e7bc7ac4bd tsc_microtime(): use splclock() for !MULTIPROCESSOR (cosmetic, this is used
for MULTIPROCESSOR only currently)
2002-10-16 21:01:22 +00:00
mycroft 64f9a5eccd Fix a sign extension bug that caused pmap_growkernel() to fail with >2GB KVA.
Symptom observed and verified fixed by tls.
2002-10-16 18:48:05 +00:00
lukem 2da742de79 tweak the comments describing the memory disk size 2002-10-16 02:46:03 +00:00
lukem 29ba686238 crank the memory disk from 1440k to 1600k; things have Grown a bit. 2002-10-16 02:44:27 +00:00
junyoung fb173f7efd Add (commented out) VGA_RASTERCONSOLE. 2002-10-15 18:20:58 +00:00
takemura 900b200c92 Moved MI APM definitions into dev/apm. 2002-10-14 02:08:37 +00:00
tshiozak cb23a3a13b fix wrong uses of ACPI CA API in the last commit, and a bit cosmetic change. 2002-10-12 15:43:00 +00:00
yamt 3458b8fb93 re-do my previous commit correctly 2002-10-12 14:30:08 +00:00