Commit Graph

35880 Commits

Author SHA1 Message Date
simonb
ad51219ae3 Make this work without a populated destdir:
machine and x86 symlinks.
 Include from right places.
 Don't depend on LIBCRT0,etc.

Also for the bootxx programs, keep the ELF object during the build
process.
2003-07-01 13:36:59 +00:00
uwe
66a03d56d3 Correct the macro name for SCP0DT bit.
Addresses port-sh3/22025 by FURUKAWA Masashi.
2003-07-01 11:49:37 +00:00
thorpej
221d313d7c Allow SOURCES to be overridden. 2003-06-30 17:54:06 +00:00
thorpej
22c08fe417 PCI-X requires that that devices updated their PCIXSR on every
config write with the device number specified in AD[15:11].  If
we don't set this field when issuing a Type 0 cycle, each device
could end of thinking it is at device 0, which can cause a number
of problems.  Doing this unconditionally should be OK when only
PCI devices are present.
2003-06-30 15:27:12 +00:00
thorpej
b4031f0a49 Go to splhigh() before doing autoconfiguration. 2003-06-30 15:17:11 +00:00
simonb
1534c8822e ANSIfy, KNF. 2003-06-30 13:39:36 +00:00
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
aymeric
baf9a7e65c Do not use RELOC() after the MMU is enabled.
Move the two assignments that were made after the MMU is on, before.

From Gunther Nikl on port-amiga@. Thanks!
2003-06-29 18:41:47 +00:00
martin
f73e5a517d #ifdef _KERNEL_OPT police 2003-06-29 18:11:14 +00:00
thorpej
f4fff81d3a Adapt to ktrace/lwp changes. 2003-06-29 15:49:49 +00:00
thorpej
e3165e7ebd Adapt to ktrace/lwp changes. 2003-06-29 15:27:59 +00:00
simonb
b8aadd3696 Only one function is this file wasn't ANSIfied, convert it. 2003-06-29 15:17:40 +00:00
simonb
2bda3187f5 Fix 'struct lwp *' lossage. 2003-06-29 15:14:11 +00:00
chris
6721e83cfc Fixes to get cats build going following proc to lwp changes. 2003-06-29 14:51:04 +00:00
martin
69cd0c4a54 struct proc * -> struct lwp * 2003-06-29 13:33:51 +00:00
simonb
9e8290fbee Use the com softc enabled/disable hooks instead of directly frobbing
Au1x00 registers in com_attach_subr().  Suggested by Jason Thorpe and
tested on both console and extra serial ports.
2003-06-29 13:18:24 +00:00
simonb
261417ff31 Fix 'struct lwp *' lossage. 2003-06-29 12:34:55 +00:00
simonb
33187ba9d0 Show current PC in an panic message. 2003-06-29 12:21:32 +00:00
simonb
6939feda9f KNF nit (parentheses around return value). 2003-06-29 12:20:19 +00:00
simonb
a810cb3990 Don't use "extern" with functions. 2003-06-29 11:32:11 +00:00
ichiro
904951f445 struct proc * -> struct lwp * 2003-06-29 11:10:35 +00:00
darrenr
257443876f 'struct proc *' -> 'struct lwp *' as required to get GENERIC for macppc built 2003-06-29 11:02:21 +00:00
ichiro
4eee2aed2e struct proc * -> struct lwp *
ixp425_com:
add some status flags
2003-06-29 10:51:29 +00:00
martin
2edcbf6bb2 struct proc * -> struct lwp * 2003-06-29 10:37:45 +00:00
martin
c101c976d0 Passing struct lwp * instead of struct proc * to device functions. 2003-06-29 10:29:33 +00:00
martin
84a6dd7e55 Passing struct lwp * instead of struct proc * to device functions,
replace a homegrown check with proper suser() call.
2003-06-29 10:29:17 +00:00
simonb
964da8bfb6 Fix 'struct lwp *' lossage. 2003-06-29 09:56:28 +00:00
simonb
7d92ae9627 Fix 'struct lwp *' lossage. 2003-06-29 09:56:27 +00:00
darrenr
9dc96360bb More changes for providing lwpid for ktrace (sparc GENERIC built) 2003-06-29 09:56:27 +00:00
simonb
33d036f82c Fix 'struct lwp *' lossage. 2003-06-29 09:56:26 +00:00
darrenr
6147cc4ab2 More changes for providing lwpid for ktrace (sparc GENERIC built) 2003-06-29 09:56:24 +00:00
simonb
fe57fb71a2 Fix more needless 'struct proc *' to 'struct lwp *' fallout. 2003-06-29 09:23:14 +00:00
darrenr
887069bda8 Revert out an accidental commit. 2003-06-28 15:34:41 +00:00
simonb
ccbfec4208 Sprinkle some KNF. 2003-06-28 14:32:02 +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
he
da6b84e290 Defflag M060SP and PANICBUTTON, since the corresponding include files are
now referenced from atari_init.c and machdep.c.
The PANICBUTTON implementation appears to be incomplete, compared to
the other ports which have this option implemented.
2003-06-28 14:18:30 +00:00
he
eff4d773fd Make sure to "mkdir -p" the destination directories under /usr/mdec. 2003-06-28 14:14:48 +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
pk
f22f3adf41 me_alloc()/region_alloc(): return the MMU cookie directly. 2003-06-28 10:17:47 +00:00
pk
338fb7c628 Simplify pmap_extract4_4c(), as suggested by Chuck Silvers in private
communication.
2003-06-28 10:02:13 +00:00
pk
75fe06e6e3 me_free(): it makes no sense to try and update the ref/mod PTE bits here. 2003-06-28 09:51:04 +00:00
he
501a19cbfa Use ${.CURDIR} when referring to source tree include directories. 2003-06-28 09:30:26 +00:00
he
450e795668 Somehow all these tiny Makefiles had their contents replicated.
Pare back down to just one copy.
2003-06-28 09:09:51 +00:00
he
4d99002423 #ifdef _KERNEL_OPT police. 2003-06-28 08:42:41 +00:00
he
a81160e601 Defflag M060SP and PANICBUTTON, now that machdep.c includes
the corresponding files.
2003-06-28 08:39:24 +00:00
he
36f3de8bfd Defflag PANICBUTTON now that machdep.c includes opt_panicbutton.h. 2003-06-28 08:26:45 +00:00
he
870b85989a Defflag PANICBUTTON, now that machdep.h includes opt_panicbutton.h. 2003-06-28 08:22:02 +00:00
uwe
ea10b56931 Trust srt0.S if it has set cputyp to CPU_SUN4M.
It can infer OFW -> sun4m, as only JavaStations have OFW, and it can
detect OFW by the different calling convention.
2003-06-28 01:03:57 +00:00
uwe
5fe7a8a85c Only JavaStations have OFW, so set cpu type to CPU_SUN4M in is_openfirm. 2003-06-28 00:59:09 +00:00
he
0bd3ded5ff Defflag PANICBUTTON, now that machdep.c includes opt_panicbutton.h. 2003-06-27 21:43:03 +00:00