jmc
6d536163de
Change defaults for kernel compiles. Default all to USETOOLS?=no and have
...
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.
Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
2001-10-26 06:45:33 +00:00
leo
56252d5449
Small changes to the boot system:
...
- Install boot.atari in both / and /usr/mdec. It looks good to have a
spare copy soemwhere...
- Add '/boot.ata' as a last resort bootname.
All per discussion with Simon Burge, Matthew Green and Soren S. Jorvang.
2001-10-24 20:12:57 +00:00
thorpej
ba217c4196
Set MACHINE_ARCH explicitly in Makefiles for which it is constant.
...
Also, since config(8) now explcitly sets MACHINE, there is no need
to do it here in the Makefile.
2001-10-23 19:26:41 +00:00
leo
44c167f10d
cread.o now comes from libtos.a
2001-10-14 19:47:58 +00:00
leo
09bc53b541
TOS/MiNT needs unistd.h.
2001-10-14 19:47:12 +00:00
leo
0c42421cbe
Just use '_bootversion', don't use C_LABEL macros. From RTSL, I found out
...
that kvm_nlist adds an underscore when the binary format is ELF.
2001-10-14 19:45:53 +00:00
leo
d3694f31a7
Change the name of the tertiary boot to /boot.atari. This was a suggestion
...
from Matthew Green. It would still allow multi-platform boots.
Thus, the second level loader first tries /boot.atari and uses /boot as a
fallback.
2001-10-14 19:43:44 +00:00
leo
37253bbe6b
Add bootxxx
2001-10-13 20:40:43 +00:00
leo
38a9a4d6ff
Grr, this file shouldn't have been deleted. I thought I corrected it, in
...
fact the comments from the commit did not mention it to be deleted, just
'changed'...
2001-10-13 20:26:48 +00:00
leo
75b42ecb12
Bootxx is no longer the last booting stage. It now handles only the
...
command line options. If NetBSD should be loaded, bootxx tries to load
the raw binary file '/boot' that resides on the same filesystem as the
kernel to be booted. This 3rd level boot is supposed to actually load the
kernel.
2001-10-13 20:22:56 +00:00
leo
a9d59a63c5
We need a configurable heap now (that implies we need panic.c too....).
2001-10-13 20:10:02 +00:00
leo
530cee7ec2
3rd level boot
2001-10-13 20:06:57 +00:00
leo
dc6d9bae0d
Add an address for the 3rd level boot.
2001-10-13 19:55:07 +00:00
leo
95d16475fc
Arrange include files section in such a way that we can use this code in
...
the MiNT and NetBSD/libsa environment.
2001-10-13 19:50:36 +00:00
leo
13a1055e2f
Second pass of the bootloader reworking. Everything works from the
...
TOS/MiNT side now.
2001-10-11 07:07:41 +00:00
leo
d6d66d6664
Check-point my work on the bootcode.
2001-10-10 14:19:49 +00:00
chs
7491bc8eea
add ashldi3.c, needed by ufs.c due to added cast in lblktosize().
2001-10-02 06:30:03 +00:00
chs
15982c7311
fix typo in pmap_kremove() which was invalidating the wrong TLB entry.
...
from Hiroki Tanikawa in PR 14099.
2001-09-29 22:00:29 +00:00
chs
984d30ac45
don't depend on other headers to include sys/proc.h for us.
2001-09-28 12:36:48 +00:00
leo
984d919c49
Add ELF stuff to loader. This is a combined effort from Thomas Gerner and
...
myself.
2001-09-27 14:29:22 +00:00
jdc
b6426dff1e
Fix typo in !COMPAT_13 case.
2001-09-24 13:19:54 +00:00
leo
1c35b74032
Enable ELF symbols in ddb.
2001-09-24 09:21:24 +00:00
leo
c0233c6e50
Add missing argument to pmap_update().
2001-09-24 09:17:19 +00:00
tv
ab11c169b5
objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
...
now in bsd.own.mk).
2001-09-22 03:34:17 +00:00
wiz
456dff6cb8
Spell 'occurred' with two 'r's.
2001-09-16 16:34:23 +00:00
chris
0e7661f023
Update pmap_update to now take the updated pmap as an argument.
...
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.
Currently this is a no-op on most platforms, so they should see no difference.
Reviewed by Jason.
2001-09-10 21:19:08 +00:00
thomas
35ad82f0df
Make the bootloader ELF aware.
...
It can load either a.out or ELF, depending on compile options.
2001-09-08 16:57:09 +00:00
thomas
b2990af499
ELF adaption.
2001-09-08 11:21:02 +00:00
thomas
f433d91346
Now the default ecexutable is ELF.
...
Add COMPAT_AOUT_M68K to GENERIC options.
2001-09-08 11:19:06 +00:00
thomas
d059704139
ELF adaption, clockframe must be packed.
2001-09-08 11:16:43 +00:00
thomas
e97e2309f0
ELF abaption.
2001-09-08 11:15:35 +00:00
thomas
eb5341b79a
Some ELF adaption.
2001-09-08 11:14:33 +00:00
thomas
f34c1c216e
Return a useful exit status.
2001-09-07 23:09:36 +00:00
leo
558c39f10c
Changes for Chuck Silvers:
...
implement pmap_k{enter_pa,remove}() correctly.
remove various checks for impossible conditions.
other misc cleanup.
2001-09-06 06:27:54 +00:00
leo
975c7a2466
Make this finally compile again. It hasn't worked since the C_LABEL() got in.
2001-09-06 06:24:17 +00:00
thomas
42f770df19
Make the bootblocks build with ELF assembler.
2001-09-05 19:48:12 +00:00
atatat
5f25c01eff
Comment out bridge pseudo devices from ports that don't
...
__HAVE_GENERIC_SOFT_INTERRUPTS. bridge(4) doesn't compile there.
2001-09-01 23:08:40 +00:00
atatat
97c67a9bae
Add bridge pseudo devices to GENERIC configs
2001-09-01 21:52:23 +00:00
simonb
023bdd2bf2
Use comments around the token after a #endif.
2001-08-31 04:44:54 +00:00
tsutsui
62c3bdeea4
sysctl(2) -> sysctl(3) (in comments)
2001-08-26 16:22:20 +00:00
chs
ba2c8088f4
use pmap_k* for buffer cache pages.
2001-08-24 04:34:25 +00:00
chs
c489e9bff4
add missing pmap_update().
2001-08-19 18:09:20 +00:00
chs
6bc422a7ee
use pmap_k* in pagemove() (ie. for buffer cache pages)
...
and in vmapbuf() and vunmapbuf() (since there's no VAC on this platform).
2001-08-04 07:44:52 +00:00
wiz
79b57114c9
auxilary -> auxiliary
2001-07-26 23:07:57 +00:00
wiz
e11d04474c
issueing -> issuing
2001-07-26 22:55:12 +00:00
wiz
035b63a542
auxilliary -> auxiliary
2001-07-26 22:53:13 +00:00
wiz
30b2bf87ed
Various typos in comments (neccessary, sceme, choise, ...).
2001-07-26 15:05:07 +00:00
wiz
a9356936b4
seperate -> separate
2001-07-22 13:33:58 +00:00
thorpej
babefc5331
Add BUS_DMA_READ and BUS_DMA_WRITE flags, that hint the back-end
...
at dmamap load time that the mapping will be used for a unidirectional
transfer of the specified direction.
2001-07-19 15:32:10 +00:00
leo
932578f354
Remove __BROKEN_CONFIG_UNIT_USAGE.
2001-07-10 20:23:36 +00:00