mrg
5401d28313
fix atari builds in two ways:
...
- isa_detach_hook() was missing a parameter name (hi dyoung!)
- PCI_CONF_SIZE -> PCI_CONFIG_SIZE; pcivar.h has a PCI_CONF_SIZE now (hi jak!)
2009-08-23 01:27:12 +00:00
tsutsui
8c3b6bd439
wrap long lines, fix indent.
2009-08-22 18:26:42 +00:00
tsutsui
0228fe92d4
Rewrite binpatch(8) utility to add support for ELF binaries,
...
using implementation of old src/usr.sbin/mdsetimage sources
which supports misc executable formats without LGPL'ed libbfd.
No particular comments on port-atari@.
XXX1: amiga also has the similar utility in amiga/stand/binpatch
but it has slightly different options.
XXX2: Is it worth to put this utility into MI src/usr.sbin to patch
rtc_offset etc. in GENERIC kernel binaries in distribution?
2009-08-20 15:14:49 +00:00
he
a52ef0cc60
Another needing <sys/exec_aout.h>.
2009-08-19 23:46:52 +00:00
he
250f9cc973
One more file needing <sys/exec_aout.h>.
2009-08-19 19:39:05 +00:00
dyoung
5619bf1cbb
isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.
2009-08-19 15:14:59 +00:00
dyoung
ab367b5fb7
(Re-)define isa_detach_hook(), and define isa_dmadestroy(). Update
...
some isa_chipset_tag_t->ic_detach_hook() definitions.
2009-08-19 15:09:56 +00:00
thorpej
97a2657a66
Add a real API for testing if a page is a managed page, and adjust callers
...
to stop relying on vm_physseg_find() for this purpose.
2009-08-18 18:06:53 +00:00
dyoung
47b66b70d9
These are stragglers from my last commit ("Let us safely detach
...
the ISA bus and devices attaching to the ISA bus"). Define
isa_detach_hook() in MD ISA implementations. Define isa_dmadestroy().
2009-08-18 17:02:00 +00:00
tsutsui
6e74d97975
Read AD_CFG_SWITCH via volatile pointer so that
...
the default density is detected correctly.
2009-07-31 15:55:10 +00:00
tsutsui
3685aebdb6
Replace one missed bcopy(9) with memcpy(9).
2009-07-19 05:46:15 +00:00
tsutsui
95b880f361
Remove extra whitespace added by a dumb tool which replaced bcopy with memcpy.
2009-07-19 05:43:22 +00:00
tsutsui
0a36a9ab42
Merge local <atari/atari/intr.h> into common <machine/intr.h>.
2009-07-08 12:23:09 +00:00
tsutsui
2d065ae111
KNF, ANSIfy, etc.
2009-07-07 16:16:18 +00:00
tsutsui
d41c06b17d
Explicitly initialize the MFP Timer-B for delay(9) from atari_hwinit()
...
rather than using if(!atari_realconfig) in clockmatch().
(I doubt the latter one has actually been called..)
2009-07-07 15:37:02 +00:00
tsutsui
0745bac2ee
Some KNF and cosmetics.
2009-07-07 15:15:35 +00:00
tsutsui
77d3988d38
Add a workaround for annoying
...
"WARNING: negative runtime; monotonic clock has gone backwards"
message. Partially taken from hp300.
2009-07-07 15:15:08 +00:00
tsutsui
804d5cbf1a
Fix a botch in RELOC_PA() macro introduced in rev 1.80
...
inside #if defind(M68040) || defined(68060)/#endif block.
Noticed by he@.
2009-07-06 12:55:24 +00:00
tsutsui
a97d19521c
Replace traditional MD si_callback() with MI softint(9).
2009-07-03 17:05:54 +00:00
tsutsui
e5de2deeb2
Replace one traditional MD si_callback() with MI softint(9).
2009-07-03 14:00:41 +00:00
tsutsui
e8940e0b5d
Use more uint8_t, and constify.
2009-07-03 13:49:39 +00:00
tsutsui
21d83b6b0f
KNF, use uint8_t, and misc cosmetics.
2009-07-03 13:36:09 +00:00
tsutsui
fc984c2617
Define and use macro to calculate kernel physical addresses
...
after relocation to TT RAM. No binary changes.
2009-07-01 13:44:32 +00:00
cegger
1d89a182fb
change pmap flags argument from int to u_int.
...
discussed with christos@ on source-changes-d@
2009-04-21 21:29:58 +00:00
tsutsui
e90ec2adcc
Remove extra whitespace added by a dumb tool.
2009-03-31 11:48:15 +00:00
tsutsui
d008724eb5
Switch atari standalone bootloaders to using MI libsa and libkern.
...
Tested by David Ross on port-atari@. Thanks!
2009-03-31 11:42:07 +00:00
tsutsui
18014b1a99
Remove bcmp() from MD libsa.
...
XXX: These ports should be rewritten to use MI libsa for maintainability.
2009-03-19 10:19:33 +00:00
cegger
e2cb85904d
bcopy -> memcpy
2009-03-18 17:06:41 +00:00
cegger
c363a9cb62
bzero -> memset
2009-03-18 16:00:08 +00:00
cegger
35fb64746b
bcmp -> memcmp
2009-03-18 15:14:29 +00:00
cegger
df7f595ecd
Ansify function definitions w/o arguments. Generated with sed.
2009-03-18 10:22:21 +00:00
he
62db563030
Re-balance parenthesis in a couple of places.
2009-03-17 10:16:55 +00:00
he
62f5486c1b
Make a couple of functions conform to the prototype, restoring buildability.
2009-03-17 00:18:40 +00:00
dsl
7cc9af7d64
ANSIfy functions with function-pointer arguments
2009-03-16 23:11:09 +00:00
tsutsui
b8675b75eb
Use <bsd.klinks.mk> to create MD include dir symlinks.
2009-03-15 11:45:30 +00:00
dsl
82357f6d42
ANSIfy another 1261 function definitions.
...
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
2009-03-14 21:04:01 +00:00
dsl
454af1c0e8
Change about 4500 of the K&R function definitions to ANSI ones.
...
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
2009-03-14 15:35:58 +00:00
dsl
02cdf4d2c8
Remove all the __P() from sys (excluding sys/dist)
...
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
2009-03-14 14:45:51 +00:00
abs
072d8cc491
Use separate free lists for TT and ST ram, and give TT a lower id
...
so all TT ram will be used before any ST ram. (free_list param to
uvm_page_physload())
Tested on a TT with and without TT ram.
2009-03-13 19:08:20 +00:00
tsutsui
981d751aa3
ANSIfy, some KNF, misc cosmetics.
2009-03-08 05:25:30 +00:00
abs
84c870d611
Regenerate after shrinking kernels to fit on floppies
2009-03-06 23:38:41 +00:00
abs
1c76e24a27
Shuffle some things around and comment out some options to try to ensure
...
we can fit a gzipped SMALL030 on a 720K floppy and FALCON / ATARITT on
1.44MB ones
2009-03-06 23:38:07 +00:00
joerg
f5b0fec0e0
Remove SHMMAXPGS from all kernel configs. Dynamically compute the
...
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
2009-03-06 20:31:46 +00:00
tsutsui
50dbef0dcb
Some KNF.
2009-03-05 13:42:59 +00:00
tsutsui
30b8022325
Remove __P().
2009-03-05 13:21:44 +00:00
tsutsui
4a10dc6ecc
Remove __P().
2009-03-05 13:00:45 +00:00
apb
0cc72e51ac
Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
...
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.
2009-02-13 22:41:00 +00:00
tjam
7ffdc72669
Use 8KB buffer for ZLRB_RING_SIZE to prevent overruns
2009-01-28 19:57:37 +00:00
tjam
99752e43b2
Remove sicallback to use the MI softint(9) APIs directly - from Tsutsui
2009-01-28 19:55:51 +00:00
martin
f055e18205
Centralize fpu exception to siginfo code encoding for all m68k archs,
...
fixes a failure in the lib/libc/ieeefp/except regression test.
2009-01-27 20:30:12 +00:00