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
abs
a192b2c217
Abstract out setting of '-m680X0' based on -DM68020, -DM68030,
...
-DM68040, and -DM68060 into sys/arch/m68k/Makefile.cmachflags and
include from both atari and amiga. Other m68k ports which build
kernels that support multiple CPU types can also switch across to
this.
2009-01-25 22:25:08 +00:00
mrg
c6a4afa995
add COMPAT_50 to all the configs with COMPAT_40.
2009-01-24 05:06:05 +00:00
tsutsui
1e5c3b25c8
Replace multi-statement macro using GCC extension `({})' with
...
static inline functions to avoid possible side effects or confusion.
Tested on TT030 by David Ross and on Falcon by Tuomo Makinen on port-atari.
2009-01-24 02:02:38 +00:00
tsutsui
6d3b1b1ecd
Use pmap_kenter_pa(9) to map msgbufpa as other m68k ports.
...
Tested on TT030 by David Ross and on Falcon by Tuomo Makinen on port-atari.
2009-01-24 02:01:01 +00:00
abs
548de22a7a
- Rename BOOT to SMALL030 and trim some more fat
...
- Drop BOOTX
- Regenerate everything else - only changes in comments
2009-01-24 00:22:12 +00:00
abs
3a821eebde
- Merge ATARITT.in and FALCON.in into GENERIC.in so we can generate
...
a sane kernel config which defines both of them
- Cleanup all the #if defined(FOO) entries to be consistent and have
a matching /* FOO */ on the #endif line
- No change to generated ATARITT/FALCON/HADES/MILAN-ISAIDE/MILAN-PCIIDE
- Rename BOOT to SMALL030 and trim a little more to save space.
- Drop BOOTX
2009-01-24 00:19:47 +00:00
he
d4b1297c8f
Re-adapt to the changed return types for major() and minor().
2009-01-21 16:24:33 +00:00
tsutsui
00ae5151a8
Move extern decls for Sysseg, Sysptmap, Sysptsize, mem_size, virtual_avail,
...
virtual_end, and protection_codes[] to common <m68k/pmap_motorola.h>,
and also make protection_codes[] unsigned.
XXX: avail_start and avail_end should also be moved, but it causes
XXX: -Wshadow warnings in uvm/uvm_page.c:uvm_page_physload() and
XXX: I don't have a good idea of alternative names for now.
2009-01-17 07:17:35 +00:00
tsutsui
77938e8d54
Use firm_gettime() to retain compatibility with old firm_event. From amiga.
2009-01-17 05:23:28 +00:00
tsutsui
b5ead86432
Use PRIu64 to print 64 bit dev_t (for now).
2009-01-17 05:22:00 +00:00