Commit Graph

5974 Commits

Author SHA1 Message Date
fvdl
d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr
887069bda8 Revert out an accidental commit. 2003-06-28 15:34:41 +00:00
darrenr
960df3c8d1 Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
fvdl
1c961078b9 Mark a CPU as no longer running when it gets a HALT IPI. Avoids other
CPUs getting stuck waiting for it because they sent a TLB shootdown
during shutdown.
2003-06-28 11:33:19 +00:00
drochner
9c0e4279cc remove unneeded cpu_feature declaration 2003-06-26 16:48:18 +00:00
drochner
491828ab43 cpu_feature is not set (nor used) by locore since SMP, so move the
definition to C code
2003-06-26 16:47:15 +00:00
drochner
1fa5ee8d10 make cpu_feature unsigned, just like ci_feature_flags 2003-06-26 16:45:19 +00:00
drochner
31f515916f -make cpu_feature unsigned, just like ci_feature_flags
-clean up duplicate declaration of cpu_info_primary
2003-06-26 16:41:32 +00:00
drochner
470de734bd remove redundant "extern" declarations 2003-06-26 16:37:20 +00:00
thorpej
7401047528 Add a way to force (at compile time) use of int13 extensions. 2003-06-25 04:21:51 +00:00
tron
64e5c9eb7c Remove "lib" directory in "cleandir" target. 2003-06-24 09:38:35 +00:00
martin
cd7023a3eb Backout previous, this file is not affected by kernel options. 2003-06-23 14:48:37 +00:00
martin
4858ba3d93 Protect kernel opt_*.h include by #ifdef _KERNEL_OPT 2003-06-23 12:56:07 +00:00
martin
d505b18964 Make sure to include opt_foo.h if a defflag option FOO is used. 2003-06-23 11:00:59 +00:00
kanaoka
d25a3f14d9 - Remove the unused polling code.
- Clean up the code a bit.
2003-06-19 10:13:14 +00:00
fvdl
7dd7f8baa2 Handle 64bit DMA addresses on PCI for platforms that can (currently only
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
abs
a16551d502 Correctly escape newlines in a string - now can be compiled under gcc3 2003-06-13 10:56:41 +00:00
drochner
0256604827 nuke unnecessary #include <sys/dkstat.h> 2003-06-12 14:44:36 +00:00
dsl
63336846ea Increase sizes of space for ramdisks 2003-06-05 14:33:51 +00:00
gmcgarry
9dcb47fcad Add devices hanging off GPIB. 2003-06-02 04:03:04 +00:00
gmcgarry
0a3dc90fb5 Pull-in GPIB. 2003-06-02 04:02:20 +00:00
kleink
9adea725c5 {u,}intptr_t are ints again. 2003-05-30 11:07:38 +00:00
fvdl
afff857edc Add the options MPBIOS_SCANPCI and MPACPI_SCANPCI to configure PCI roots
with the MPBIOS/ACPI bus information, by walking through the buses, and
descending down every bus that hasn't been marked configured yet.
2003-05-29 20:22:28 +00:00
christos
0328813526 Back to unsigned int and int for {u,}intptr_t, otherwise java has no chance... 2003-05-29 18:06:55 +00:00
thorpej
84b00019df Comment out DEBUG_MEMSIZE. 2003-05-24 03:38:58 +00:00
lukem
f94e08c4e2 tweak previous; use '%#x' instead of '0x%x' (and the lx equivalents) 2003-05-21 23:47:55 +00:00
kristerw
9dc4f5f533 Add some db_sym_t casts to make this compile with -D__AUDIT__. 2003-05-21 23:12:18 +00:00
simonb
830dc8ea61 Prefix a hex error number with "0x". 2003-05-21 16:48:34 +00:00
kristerw
5c192de38a Use __asm instead of asm, to make lint happy. 2003-05-20 22:53:35 +00:00
kristerw
812c1d95e8 Add LINTSTUB: include <sys/types.h> 2003-05-20 20:24:18 +00:00
kanaoka
fd8774e6d5 Fix a typo in a comment. 2003-05-20 12:50:27 +00:00
wiz
223c68ba9c Fix typo in debug message. 2003-05-20 12:14:17 +00:00
kanaoka
450fc069f6 - Use AcpiOsQueueForExecution instead of calling vald_acpi_event() directly
in Notify handler.
2003-05-20 12:09:56 +00:00
dsl
7452c78152 Fix botched nathanw_sa_merge change
fixes port-i386/21603
2003-05-17 10:34:39 +00:00
wiz
8381108e2a Don't install machine/mouse.h on i386 and prep; there are no users for
the old busmouse interface any longer, we use wsmouse now.
2003-05-15 18:51:18 +00:00
wiz
ee6d7b94d4 Remove last traces of obsolete olms and omms drivers.
Ok'd by drochner and fvdl.
2003-05-15 13:13:21 +00:00
dsl
341c4563e3 Incorrect sector number passed to boot1 in floppy (no mbr) case 2003-05-15 08:50:53 +00:00
drochner
1927ae6a7e -remove opms attachment stuff which is pointless after
opms itself was removed
-do the bus_space reservation in any case
-extend a compile-time check: pccons and ega can't coexist either
2003-05-14 12:10:04 +00:00
drochner
b370f1bff8 remove opms attachment stuff which is pointless after
opms itself was removed
2003-05-14 12:04:56 +00:00
drochner
00b4e62a0a fix "unintialized variable" warning 2003-05-14 11:27:39 +00:00
thorpej
af1933bfc8 Add icp at chr 102. 2003-05-13 15:43:42 +00:00
fvdl
d840dd2438 While the previous change actually made the code do what it intended,
it was still wrong. cpu_switch() must return 1 when it switched to
a different LWP, 0 if it didn't. It was doing exactly the reverse.
2003-05-13 09:35:16 +00:00
fvdl
297e776d44 Make cpu_switch return the correct value. From Stephan Uphoff, PR 21558 2003-05-13 08:26:32 +00:00
dsl
f8607e15d6 KNF and indentation police 2003-05-12 14:59:51 +00:00
dsl
f9bb4eea5d Build my new i386 bootcode 2003-05-12 14:48:56 +00:00
dsl
18e1c04d74 Don't override PROG from subdir Makefile
Install into /usr/mdec
2003-05-12 14:35:54 +00:00
dsl
5ba5335a38 Install into /usr/mdec 2003-05-12 14:34:55 +00:00
dsl
0e9fdbb612 Remove some unused defines 2003-05-12 14:33:49 +00:00
yamt
38312b0116 fix "Frame really belongs to next callpc" case. 2003-05-12 13:38:49 +00:00
yamt
dc45c698c2 use 'pr' supplied by the caller instead of printf. 2003-05-12 13:16:11 +00:00