uebayasi
8572d2c144
Stop using linker scripts on all sh3 ports.
...
The only information to be compensated is text section start address.
The default value is set arch-wise as DEFTEXTADDR. Each kernel config
can override the default value by setting TEXTADDR.
Tested on COMPUTEXEVB (evbsh3).
Reviewed By: uwe
2006-03-17 16:06:51 +00:00
uwe
042caffba8
XXX: #undef SET before including <machine/config_hook.h>, which defines
...
SET as a nickname for CONFIG_HOOK_SET to be used in kernel config files.
Makes ioconf.c compile again.
2006-03-09 23:41:13 +00:00
lukem
a1f606d3fd
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
...
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
uwe
c65ca10378
ANSI: Use 'void' in the definition of function w/out arguments.
...
While here, add 2006 to the copyright.
2006-03-05 02:17:47 +00:00
peter
8926b88509
Fix two typos.
2006-03-04 17:35:31 +00:00
uwe
970e24ee46
s/u_intN_t/uintN_t/
2006-03-04 01:55:03 +00:00
yamt
ec5a93183a
merge yamt-uio_vmspace branch.
...
- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.
2006-03-01 12:38:10 +00:00
uwe
2817b4e30f
Report power status to apm. Reported are AC on/off, batter absent,
...
battery is being charged, and estimated battery percentage (thanks to
Joseph Heenan for battery discharge measurements).
2006-02-26 03:25:44 +00:00
uwe
9c1b217d35
Cosmetic. Consistenly use return without parens as new KNF requires.
...
Move assignment out of conditional expression.
2006-02-25 16:43:36 +00:00
cube
3ca5c26836
Rework hpcapm(4) attachment definition so it is not required to attach at
...
mainbus, and convert its two users, hpcsh and hpcmips, to that.
Many thanks to Valeriy Ushakov and Ben Collver for testing.
2006-02-24 13:06:12 +00:00
uwe
2889a03e1b
Order functions so that there's a logic order.
...
Add comments. Misc cosmetic.
2006-02-23 01:43:47 +00:00
uwe
ea99f7e98d
s/STATIC/static/
...
Propagate "static" to function definitions.
2006-02-23 00:46:31 +00:00
uwe
c1da9d59ec
Fix quoting for (commented out) KGDB_DEVNAME examples.
2006-02-15 01:16:19 +00:00
cube
6ff13154dd
Remove 'count' argument for pseudo-devices that ignore it
...
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
2006-02-05 05:01:48 +00:00
rpaulo
e1c6b6ed0f
bpfilter doesn't accept count anymore.
2006-02-04 02:53:13 +00:00
reinoud
a92fdbbc53
Add commented out UDF file-system entry in all GENERIC configurations.
2006-02-02 21:32:08 +00:00
uwe
8b5ad019f4
ANSI'ify functions without arguments. Use uintN_t.
...
Use for (;;) continue; for unreachable infinite loops, as lint is
somehow more happy about them.
2006-01-24 22:32:19 +00:00
uwe
285c8456c2
Use cpp-safe labels. Provide .size
2006-01-23 00:17:20 +00:00
uwe
66fe637660
LINTSTUBs.
2006-01-23 00:07:43 +00:00
uwe
897e70ab5c
Provide .size
2006-01-22 05:16:58 +00:00
uwe
7bff50c8fd
LINTSTUBs.
2006-01-22 05:14:02 +00:00
uwe
131f43967d
pfckbd_input: make edge and mask unsigned ints to avoid lint warning
...
about obscure semantics change in ANSI C. Saves one extu.w too.
Move edge assignment out of if conditional expression.
2006-01-21 23:16:57 +00:00
uwe
4c693ad431
Use C99 __func__ instead of gcc __FUNCTION__ to make lint happy.
2006-01-21 22:55:34 +00:00
uwe
08c90217fd
Use NULL, not 0 for null pointer.
...
Fix #else/#endif trailing comment.
Use explicit "continue" for the body of the infinite loop.
2006-01-20 04:30:03 +00:00
uwe
9e88e2f24a
Use uint32_t. Declare jump and boot functions noreturn. Move scratch
...
variable to outputs of the asm statement that tweaks sr, so that gcc
doesn't insist on it being initialized. Move boot function template
closer to instantiation. Misc prettification.
2006-01-20 03:55:55 +00:00
uwe
fb7bfe44d7
#include "opt_md.h" as this file uses MEMORY_DISK_* options.
2006-01-13 22:18:59 +00:00
uwe
6922812a19
Spell HP 620LX correctly.
...
A comment about scif(4) should refer SCIFCONSOLE. SCICONSOLE is for sci(4).
Add a comment before hd64461if, so that it's clear it's not for PERSONA only.
Add (commented out) HD64461{PCMCIA,VIDEO}_DEBUG, HD64461VIDEO_HWACCEL.
2006-01-03 01:47:37 +00:00
uwe
68ef13b0ba
HD64461VIDEO options now come from "opt_hd64461video.h".
2006-01-03 01:15:47 +00:00
uwe
63bf4c684b
Properly defflag HD64461VIDEO_HWACCEL to opt_hd64461pcmcia.h (new file).
...
Put HD64461VIDEO_DEBUG there as well to minimize impact on unrelated
sources.
2006-01-03 01:15:04 +00:00
uwe
b2a5d74369
Fix constification fallout under #ifdef HD64461PCMCIA_DEBUG.
2006-01-03 01:07:54 +00:00
uwe
dd228393cb
HD64461PCMCIA options now come from "opt_hd64461pcmcia.h".
2006-01-03 01:06:45 +00:00
uwe
346947ed0e
Put HD64461PCMCIA_REORDER_ATTACH to opt_hd64461pcmcia.h (new file).
...
Put HD64461PCMCIA_DEBUG there as well to minimize impact on unrelated
sources.
2006-01-03 01:05:55 +00:00
uwe
8214ff33f4
Be more consistent about whitespace.
2006-01-03 00:54:56 +00:00
perry
50a256a3a0
__asm__ -> __asm
...
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
uwe
902411e7f8
Use ANSI uintN_t types.
2005-12-18 23:40:03 +00:00
uwe
5e6b9ca4dd
Use ANSI uintN_t types. Propagate "static" to function definitions.
2005-12-18 23:38:01 +00:00
uwe
3029fe439a
Use explicit "continue" for busy loop bodies in a couple of places I
...
missed in the previous commit.
2005-12-18 23:32:39 +00:00
uwe
a6af1cec86
Use ANSI uintN_t types. Use "void" in definitions of functions
...
without arguments. Propagate "static" to function definitions.
Declare local functions static. Hide acceleration code inside ifdef
HD64461VIDEO_HWACCEL (save more than 1K of text).
2005-12-18 23:20:03 +00:00
uwe
bfbda844db
Use ANSI uintN_t types. Use "volatile" without extra __'s.
...
Use "void" in definitions of functions without arguments.
Propagate "static" do function definitions.
2005-12-18 22:19:56 +00:00
uwe
2d4890dc44
Don't include sys/boot_flag.h only to get sys/reboot.h pulled in,
...
include the latter directly instead. Include hd64461*reg.h only under
DEBUG, where they are used. In hd64461_match use fallthrough.
2005-12-18 22:07:56 +00:00
uwe
952389de29
Use ANSI unitN_t types. Use "void" when defining functions with no args.
...
Propagate "static" to function definitions.
2005-12-18 21:52:41 +00:00
uwe
2c9f460b01
Multiple-inclusion protection.
2005-12-18 21:47:10 +00:00
uwe
b4800dcaa7
Use ANSI unitN_t types.
2005-12-18 21:46:15 +00:00
uwe
51952dd360
Multiple-inclusion protection. Use ANSI uintN_t types. Fix few
...
whitespace nits. Add "extern" to function declarations. Drop LOCORE
protection, this file is not included in any asm sources, it has
nothing interesting for asm sources anyway.
2005-12-18 21:44:27 +00:00
uwe
962a056ac8
Drop unnecessary include. Add few blank lines for better readability.
2005-12-18 21:25:55 +00:00
uwe
4ebaf8108c
Use ANSI uintN_t types. Functions w/out arguments should have "void"
...
in their definitions. Declare local function static.
2005-12-18 21:20:48 +00:00
uwe
7351da46fb
Use ANSI unitN_t types. Add 'extern' to extern function declarations.
...
Shuffle declaration order to make it more clear that raise/resume come
from a different file.
2005-12-18 19:48:43 +00:00
uwe
24d1ad311b
Multiple-inclusion protection.
2005-12-18 19:31:30 +00:00
uwe
fb2feef0c6
Simplify j6x0lcd_contrast_raw.
2005-12-18 19:09:26 +00:00
uwe
d5c16305fc
Convert few remaining K&R function definitions to ANSI.
2005-12-18 18:59:48 +00:00