yamt
2d02304deb
use malloc rather than mem_alloc (which is implemented using calloc)
...
for receive/send buffers to avoid unnecessarily anonymous memory bloat.
2005-06-09 22:13:17 +00:00
rjs
a51d4c4377
Add const.
2005-06-09 22:01:06 +00:00
rjs
f34c276ab5
Pass NULL as second argument to config_rootfound.
2005-06-09 22:00:40 +00:00
rjs
00fe72facb
Add const.
2005-06-09 21:59:24 +00:00
martin
d931a71e12
First cut at 2.0 -> 3.0 port specific changes
2005-06-09 21:51:37 +00:00
jmc
a31f50b210
Fix call to config_rootfound to pass -Wcast-qual
2005-06-09 21:49:22 +00:00
he
2f5d3f6059
Adapt to compiling with -Wcast-qual by adding consts where appropriate.
2005-06-09 21:43:13 +00:00
he
253884a9c4
Rename local variable cpu_intr' to
cpu_int' to avoid shadowing.
2005-06-09 21:42:33 +00:00
he
2c12fd1a47
Change the second argument of config_rootfound() from a string to NULL,
...
so that we compile with -Wcast-qual.
2005-06-09 21:41:52 +00:00
jmc
51ed2fd82d
Fixes for -Wcast-qual. Add some needed const around char *'s,
...
__UNVOLATILE in READ/WRITE_REG and convert the rtc functions to properaly
take a volatile timeval
2005-06-09 17:46:19 +00:00
lukem
cc5aca9af5
copyright maintenance
2005-06-09 16:38:29 +00:00
he
9eabff5290
Appease -Wcast-qual by adding consts in appropriate places.
2005-06-09 16:02:19 +00:00
tsutsui
446f2d2cfa
Regen from GENERIC.in rev 1.36:
...
> - Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
> (still commented out)
> - Add (also commented out) options BUFQ_PRIOCSCAN.
>
> Suggested by perry and soda on tech-kern.
> Please refer options(4) for details for these options.
2005-06-09 14:50:11 +00:00
tsutsui
4e54a2cc7c
- Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
...
(still commented out)
- Add (also commented out) options BUFQ_PRIOCSCAN.
Suggested by perry and soda on tech-kern.
Please refer options(4) for details for these options.
2005-06-09 14:43:29 +00:00
he
d05c61ee69
Add consts to make this build with -Wcast-qual.
2005-06-09 13:49:15 +00:00
he
116fd4948d
Use NULL and not a string constant as the second argument to
...
config_rootfound().
2005-06-09 13:48:12 +00:00
he
d049b36b69
Add const to the prom_getenv() vector argument.
...
More function pointer prototypes can probably have const added, but
this gets us building for now.
2005-06-09 13:47:28 +00:00
he
78734c90bf
Prefix variables in a macro with an underscore to avoid shadowing problems.
2005-06-09 13:45:31 +00:00
tron
abba7e56c8
Enable RAIDframe support in the NetBSD-macppc installation media.
...
Based on patches submitted by Ian Spray in PR port-macppc/30465.
2005-06-09 13:29:57 +00:00
he
e06cf89e96
Rename local variable tick' to
ticks' to make this build with -Wshadow.
2005-06-09 12:25:32 +00:00
he
3ee7e97fcc
Now that OF_read and OF_write have different signatures, we need to
...
cast one of them before assigning to a common function pointer.
Yes, this breaks strict type checking, but is needed to compile with
-Wcast-qual turned on.
2005-06-09 12:23:23 +00:00
tron
bd52bf6180
Change marker from "pmppc" to "powerpc" because a NetBSD-macppc build
...
is also affected.
2005-06-09 12:20:12 +00:00
he
7eaf447237
Adapt to compiling with -Wcast-qual by adding consts.
2005-06-09 11:24:04 +00:00
he
500225c986
Adapt to compiling with -Wcast-qual by passing NULL instead of a string
...
to config_rootfound().
2005-06-09 11:23:36 +00:00
he
1ce7c753b3
Add an initialization to placate -Wuninitialized.
...
Marked with XXXGCC for pmppc (found while compiling for it).
2005-06-09 09:36:19 +00:00
he
cc17b14ba8
Adapt to compiling with -Wcast-qual and -Wshadow.
2005-06-09 09:24:45 +00:00
he
bdc36c4d9b
Adapt to compiling with -Wcast-qual by constifying vt220_putstring()'s
...
first argument. Also gets rid of unneccessary casts to (u_char*).
2005-06-09 09:23:39 +00:00
he
f1f4a50e8b
Adapt to compiling with -Wcast-qual by constifying a char* field.
2005-06-09 09:15:28 +00:00
he
54960c1bb7
Adapt to compiling with -Wcast-qual and -Wshadow by adding const in
...
appropriate places and renaming a few local variables.
2005-06-09 08:05:31 +00:00
skrll
00b45e0cff
When the PDC_TLB_INFO call fails default to an HPT size of PAGE_SIZE.
...
My 715/50 can now boot.
Clean patch from Chuck Silvers.
2005-06-09 07:18:17 +00:00
he
f9c7d41f97
Adapt to compiling with -Wcast-qual by adding a const.
2005-06-09 06:48:44 +00:00
he
0b11d7187e
Adapt to compiling with -Wcast-qual by setting the last argument to
...
config_rootfound() to NULL.
2005-06-09 06:48:16 +00:00
he
10d9cac89f
Adapt to compiling with -Wcast-qual by adding const to a function
...
parameter of db_mach_cpu().
2005-06-09 06:27:18 +00:00
atatat
420d91208b
Properly fix the constipated lossage wrt -Wcast-qual and the sysctl
...
code. I know it's not the prettiest code, but it seems to work rather
well in spite of itself.
2005-06-09 02:19:59 +00:00
he
ac898acfa7
Rename an inner variable shadowing the 'v' parameter to appease -Wshadow.
2005-06-08 22:38:16 +00:00
he
beb03e4d32
Add __UNVOLATILE() to a cast when calling memset() to appease -Wcast-qual.
2005-06-08 22:33:56 +00:00
rjs
e222d37a70
Add message definitions for SWIM and for ADB autopoll.
2005-06-08 22:16:44 +00:00
dbj
36c3355e33
add code to handle inodes with extended attribute blocks
...
this is currently turned off with "#ifdef notyet" since the
kernel will not correctly clean up extended attribute blocks on truncation
Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2005-06-08 20:34:06 +00:00
perseant
4b8db8388e
Use the correct method to create a new inode, when we allocate lost+found.
...
Correct uninitialized variable issues in pass6.c and dir.c (PR#30411 and
PR#30394, respectively).
2005-06-08 19:09:55 +00:00
fair
3f11934dfb
Change the name of a shadowed variable in FW_DEBUG code to make this
...
compile again.
2005-06-08 18:33:15 +00:00
soren
444a2a0572
Revert previous change; the microphone input DMA channel is still not visible
...
to userland.
2005-06-08 17:55:06 +00:00
he
5f0e107e63
Adapt to compiling with -Wcast-qual by adding const to some pointer casts.
2005-06-08 13:54:38 +00:00
he
6e91e3b4f3
Adapt to changed signature of the arm get_bootconf_option() (adds a const).
2005-06-08 11:55:29 +00:00
yamt
656adb750b
pf_reassemble: clear stale csum_flags.
2005-06-08 11:50:46 +00:00
martin
f2fa04e658
Use KBD_IDLE instead of magic constants
2005-06-08 10:06:23 +00:00
martin
b8aea19a7a
Add a key symbol for the "Power" key.
2005-06-08 09:11:09 +00:00
he
3ffd57432b
Add an __UNCONST() to appease -Wcast-qual.
...
XXX The way this is done is really wrong, as this function ends up
modifying read-only data marked with 'const'.
The reason we can get away with this is that apparently all the
ports using this code maps text and read-only data read-write.
Reviewed by christos, who suggested "a big XXX comment".
2005-06-08 07:49:45 +00:00
scw
50d7457a5f
Thou shalt not allocate PAGE_SIZE automatic variables on the kernel stack.
2005-06-08 07:25:12 +00:00
pooka
3ff1c89a7f
add bits for arcom viper
2005-06-08 05:33:46 +00:00
oster
77708271bf
- initialize numRUsTotal before we indicate that we are doing a reconstruct.
...
- make numRUsComplete and numRUsTotal 64-bit quantities like
everything else that records this information.
2005-06-08 02:00:53 +00:00