kent
ad8ef76d8d
support for recording
2005-06-21 14:51:37 +00:00
junyoung
38e1b7dac2
Remove trailing spaces.
2005-06-21 14:48:47 +00:00
junyoung
0b6edcdedb
- It is worthless to endlessly try to boot unbootable images. If all predefined
...
boot images are failed to boot, fall into the prompt.
- Fix a garbage in previous commit.
2005-06-21 14:20:35 +00:00
junyoung
8ea8555169
More cosmetic changes.
2005-06-21 14:16:27 +00:00
junyoung
6b49899231
- KNF & cosmetic changes
...
- Remove #if 0'ed netbsd.el{,.gz} from bootfile list. I have no idea what
those files are (emacs lisp source??? :-).
2005-06-21 14:13:40 +00:00
ws
9d78e0cf36
PR-30566: Poll must not return <sys/errno.h> values.
...
Start with those places I can easily test.
2005-06-21 14:01:11 +00:00
sekiya
b72e560799
Likewise, ACPI_PCI_FIXUP has been replaced by PCI_INTR_FIXUP, and we should
...
notify when an old kernel config is used. Recommended by wiz@
2005-06-21 11:49:10 +00:00
sekiya
087e54e558
Error out if obsolete fixup config directives are used.
...
Pointed out by wiz@
2005-06-21 11:46:25 +00:00
sekiya
0919f4d283
Rework the configuration scheme for PCI fixups:
...
* bus enumeration fixups are not PCIBIOS-specific, interrupt fixups are done
by both PCIBIOS and ACPI. The redundancy is very redundant. Therefore,
rename PCIBIOS_*_FIXUP to PCI_*_FIXUP, use PCI_INTR_FIXUP in place of
ACPI_PCI_FIXUP, and change code refences to match.
* move the fixup defines from opt_pcibios.h to opt_pcifixup.h to reflect
the above.
* fix up the PCI bus numbering in mainbus_attach(), right after we detect the
configuration mode. This probably renders the fixup in pcibios.c
redundant -- but it should be harmless.
These changes make cardbus work in ACPI-only machines, when PCI_BUS_FIXUP
and PCI_INTR_FIXUP are defined.
2005-06-21 08:19:25 +00:00
sekiya
b7d7ac9d1a
Fix uninitialized pointer problem in rbus code ... just because the kernel is
...
compiled with PCIBIOS_ADDR_FIXUP doesn't necessarily mean that
pcibios_addr_fixup() succeeded ...
2005-06-21 06:51:29 +00:00
kent
05ff5da3a7
add "azalia at pci"
2005-06-21 02:23:13 +00:00
thorpej
26d517435c
Fix mis-placed newline.
2005-06-21 01:12:17 +00:00
darcy
77a3cb4427
Fix another portability issue. Part of PR kern/30456.
2005-06-20 20:40:21 +00:00
elad
ced2e2a09a
Remove veriexec_dprintf() calls forgotten in last commit.
2005-06-20 15:32:29 +00:00
elad
0e4dfe1792
- Use more calls to veriexec_report() where possible.
...
- Change #ifdef VERIFIED_EXEC_VERBOSE to another verbose level, 2. Add
sysctl(3) bits.
- Simplify access type conflict handling during load. This depends on
the values of access type defines to be ordered from least to most
'strict'.
2005-06-20 15:06:18 +00:00
peter
a9b411c198
Change all .Xr config 8 to .Xr config 1, following the recent move of
...
config from usr.sbin -> usr.bin.
Reviewed by wiz.
2005-06-20 13:25:23 +00:00
sekiya
da1b13d741
Also fix up interrupt line if interrupt is zero, as well as 255. Fixes
...
interrupt issues on two of my laptops that lack PCIBIOS.
2005-06-20 12:21:36 +00:00
kent
e3c53b72af
- print the controller name if possible
...
- make the max values of mixers AUDIO_MAX_GAIN
- reset the stream in trigger_output()
2005-06-20 11:48:47 +00:00
darcy
67a10100f5
Fix some printf statements to make them more portable. Doesn't completely
...
fix PR kern/30456 but fixes part of it.
2005-06-20 11:37:47 +00:00
sekiya
c354a96fdc
Remove unneeded dependancy on PCIBIOS.
2005-06-20 11:04:46 +00:00
sekiya
d91bd456e7
pci_device_foreach(), pci_device_foreach_min(), pci_bridge_foreach(), and
...
pci_bridge_hook don't actually have any dependancies on PCIBIOS-specific code,
and they can be used to fixup PCI bus numbering in the absence of the BIOS.
To that end, decouple them from PCIBIOS.
2005-06-20 11:04:15 +00:00
sekiya
93ed08ce8d
Don't abort the attach if we are routing interrupts through the ioapic, there
2005-06-20 09:18:36 +00:00
sekiya
54c9009f27
Implement monitor mode. From OpenBSD.
2005-06-20 09:03:44 +00:00
scw
3a572660d3
Use objcopy (as suggested by Richard Earnshaw) to strip ARM mapping symbols
...
from the kernel image, as they interfere with ddb. But only do this if
'makeoptions DEBUG="-g"' was not specified, in case they're needed by gdb.
2005-06-20 08:42:52 +00:00
atatat
df13e3579e
Change the rest of the sysctl subsystem to use const consistently.
...
The __UNCONST macro is now used only where necessary and the RW macros
are gone. Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.
2005-06-20 02:49:18 +00:00
briggs
b0366b2ebd
Basic support for RAID0 and RAID1 for the Adaptec HostRAID format as found
...
on the Intel 6300ESB on-board RAID. Adapted from FreeBSD.
2005-06-20 02:11:57 +00:00
briggs
5c1f94f81d
Match the 6300ESB on-board SATA/RAID controller.
...
Set the ATA RAID flag, if appropriate, in the SATA chip map.
Ensure that the interrupts are enabled in the SATA chip map.
2005-06-20 02:10:18 +00:00
thorpej
2b9a850fd3
Install eeprom.h and idprom.h
2005-06-20 02:01:30 +00:00
briggs
488e4cc85b
Regen.
2005-06-20 00:19:38 +00:00
briggs
b61e39b645
Add Intel 6300ESB SATA RAID Controller.
2005-06-20 00:18:54 +00:00
christos
6f86542bb2
remove duplicate declaration.
2005-06-19 23:46:32 +00:00
thorpej
6a02aeb003
Small clean-ups before an overhaul.
2005-06-19 23:36:47 +00:00
christos
60fcc7a549
move misplaced endif.
2005-06-19 23:10:03 +00:00
christos
e8e0c7f52f
remove duplicate declaration.
2005-06-19 23:09:50 +00:00
chs
2a8328f224
regen
2005-06-19 21:17:17 +00:00
chs
b2d9223653
add some misc cards and merge the two mylex sections.
2005-06-19 21:16:41 +00:00
thorpej
86ec9c7656
Remove some unused definitions.
2005-06-19 20:31:26 +00:00
chs
b36d2dee68
copy the athhal glue from Makefile.i386.
2005-06-19 20:28:14 +00:00
thorpej
7adddd1b69
Move common Sun3/Sun4 EEPROM definitions in to <dev/sun/eeprom.h>
2005-06-19 20:23:48 +00:00
chs
187b985918
add ath stuff.
2005-06-19 20:22:26 +00:00
thorpej
15adcb96b8
Move common Sun ID PROM definitions into <dev/sun/idprom.h>.
2005-06-19 20:00:28 +00:00
bouyer
19abf3be02
The ST3160023A* also need the LBA48 quirk. From Timo Schoeler.
2005-06-19 18:26:40 +00:00
elad
c3caa55d4d
- Avoid pollution of struct vnode. Save the fingerprint evaluation status
...
in the veriexec table entry; the lookups are very cheap now. Suggested
by Chuq.
- Handle non-regular (!VREG) files correctly).
- Remove (no longer needed) FINGERPRINT_NOENTRY.
2005-06-19 18:22:36 +00:00
bouyer
3d0edb52b9
When the PCMCIA socket is powered up, the driver waits for the PCMCIA
...
controller to be ready, but the drive attached to it may not be ready yet.
Add a half a second delay before calling wdcattach(), to let the drive
have its electronic ready to properly respond to the register tests done
in wdcprobe1(). Delay based on experiments done by John Refling with
various devices as part of the audit-trail of kern/25659; complete
the fix for kern/25659.
2005-06-19 18:19:19 +00:00
bouyer
3110d2fd7a
In wdcprobe1(), wait 5s for the drive to deassert ready. In case of e.g.
...
pcmcia devices, the drive may still be doing its power-on reset.
XXX From the specs the delay could be up to 31s here, but we don't want to
wait for 31s if we have a channel with no drives and pull-up resitors on
the bus.
Based on patch submitted in kern/25659 by Steven M. Bellovin, part of fix for
kern/25659.
2005-06-19 18:14:27 +00:00
kent
241f25f6e4
- add capabilities to specify a DAC group or an ADC.
...
- support for 4,6,8 channels playback
2005-06-19 16:32:55 +00:00
kent
8ed87adda9
- add support for headphone-boost mixer controls
...
- fix a bug of creation of output mute
- unmute all controls by azalia_set_mixer()
- if a bidirectional pin is green, orange, gray, or black, set
it as "output" direction by default.
2005-06-19 12:34:36 +00:00
peter
6cfd105f3a
Use 'pattr' consistently in the IFQ_* macros.
2005-06-19 11:34:42 +00:00
augustss
36975917cd
Add a fix to turn on the Hosiden ParaParaParadide controller. From
...
Sergey Svishchev in kern/30554.
2005-06-19 10:29:47 +00:00
augustss
ffab3f7739
Regen.
2005-06-19 10:26:36 +00:00
augustss
95ba7bf87a
Add Hosiden ParaParaParadise. From kern/30554.
2005-06-19 10:25:36 +00:00
kent
ca51d2ecb9
partial support for mixer.
...
Still we have no ways to specify DACs or ADCs.
2005-06-19 07:42:39 +00:00
enami
0c35ace672
Actually, usbd_trim_spaces was not writing to const memory, so revert
...
unnecessary changes. Instead, make the caller code easier to read.
After all, it is enough to suppress warning due to constfy.
2005-06-19 04:01:36 +00:00
thorpej
6d92e51b72
- Do away with the old _SPLRAISE() template macro. Instead, provide an
...
splraise() inline function, and define the various spl routines in terms
of splraise().
- Use ANSI function decls.
2005-06-19 01:54:51 +00:00
thorpej
c5e282784a
Fix some whitespace.
2005-06-19 01:16:01 +00:00
chs
d4b8dc7f15
uncomment hme, add more missing NICs.
2005-06-19 00:23:43 +00:00
martin
40860f4eb5
Do not use -Wreturn-type with gcc 2.95.x
2005-06-18 22:56:02 +00:00
jdc
e5ec393002
Add UK keyboard map.
2005-06-18 20:35:36 +00:00
chs
e34855484a
add missing NICs, uncomment firewire stuff.
2005-06-18 17:34:54 +00:00
chs
0f0104b6a9
alphabetize.
2005-06-18 17:34:18 +00:00
chs
4dd0fe2ab5
add txp. uncomment the firewire stuff.
2005-06-18 16:12:19 +00:00
chs
fc00645356
adapt to const/volatile changes.
2005-06-18 16:10:44 +00:00
kent
77ab74c241
correct some position names.
2005-06-18 11:22:12 +00:00
kent
e8e1a2ca9a
An audio driver for High Definition Audio.
...
The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording
2005-06-18 10:43:47 +00:00
kent
ab125bd85d
A driver for High Definition Audio.
...
The driver is highly experimental at this moment:
- limited support for playback
- no support for mixer controls
- no support for recording
2005-06-18 10:43:46 +00:00
thorpej
9616fa6458
Fix some locking issues:
...
- Make the locking rules for pr_rmpage() sane, and don't modify fields
protected by the pool lock without actually holding it.
- Always defer freeing the pool page to the back-end allocator, to avoid
invoking the pool_allocator with the pool locked (which would violate
the pool_allocator -> pool locking order).
- Fix pool_reclaim() to not violate the pool_cache -> pool locking order
by using a trylock.
Reviewed by Chuq Silvers.
2005-06-18 01:34:03 +00:00
atatat
efb4270746
Comment in new cp_id implementation was wrong since I abandoned
...
rewriting it in favor of some testing and then never got back to it.
It's better now.
2005-06-17 23:53:21 +00:00
elad
97d75abb70
Oops. Don't allow file delete even if it's not monitored if we're in
...
lockdown mode (strict level 3).
2005-06-17 22:39:08 +00:00
elad
ad7b01f7d0
More veriexec changes:
...
- Better organize strict level. Now we have 4 levels:
- Level 0, learning mode: Warnings only about anything that might've
resulted in 'access denied' or similar in a higher strict level.
- Level 1, IDS mode:
- Deny access on fingerprint mismatch.
- Deny modification of veriexec tables.
- Level 2, IPS mode:
- All implications of strict level 1.
- Deny write access to monitored files.
- Prevent removal of monitored files.
- Enforce access type - 'direct', 'indirect', or 'file'.
- Level 3, lockdown mode:
- All implications of strict level 2.
- Prevent creation of new files.
- Deny access to non-monitored files.
- Update sysctl(3) man-page with above. (date bumped too :)
- Remove FINGERPRINT_INDIRECT from possible fp_status values; it's no
longer needed.
- Simplify veriexec_removechk() in light of new strict level policies.
- Eliminate use of 'securelevel'; veriexec now behaves according to
its strict level only.
2005-06-17 17:46:18 +00:00
hannken
e018f80e47
Avoid shadow warnings, const and __UNVOLATILE().
...
Kernel sparc/GENERIC.MP builds again.
2005-06-17 09:13:56 +00:00
jmc
016a928508
Shadowing and const fixes.
2005-06-16 22:45:46 +00:00
jmc
61f16670a4
Fixes for volatile problems
2005-06-16 22:43:36 +00:00
bouyer
cf4b00e2e4
Remove a (wdc == NULL) test. We know wdc is not NULL at this point.
2005-06-16 20:15:04 +00:00
bouyer
69baf4357d
Use pmatch() metacharacters to match both SATA and PATA versions of seagate
...
drives in the quirk table.
2005-06-16 20:03:35 +00:00
bouyer
5494975684
Add quirk for SIS 96x that masquerade as a SIS503. Based on patch sent by
...
Robert Fuller in kern/30431, information found in the linux kernel.
While here, add SIS 965 to the table (from FreeBSD).
2005-06-16 19:30:02 +00:00
jmc
971a01a036
Rename a shadowed variable
2005-06-16 17:04:53 +00:00
elad
a3c81f769c
Since NetBSD operates in securelevel -1 by default, don't rely on the
...
securelevel alone when checking if the veriexec tables can be modified;
also check if the strict level is above 0.
2005-06-16 15:45:48 +00:00
elad
27cb371b94
Don't allow unprivileged users to open the veriexec device.
...
While I'm here, explicit 'int' for 'veriexec_device_usage'.
2005-06-16 15:41:36 +00:00
christos
dfa8191fb3
Add a new sysctl 'cp_id' that returns the array of cpu id values. Requested by
...
me, implemented by atatat.
2005-06-16 14:55:58 +00:00
yamt
91fa31b5d2
uipc_usrreq: plug mbuf leak.
2005-06-16 14:36:42 +00:00
tsutsui
8e9e66997f
Rename iha_pci_probe() -> iha_pci_match() because we don't have to
...
probe PCI devices.
2005-06-16 14:32:09 +00:00
christos
47429afbb8
Return the beginning of the string, not the end.
2005-06-16 12:55:25 +00:00
bouyer
15ce68ccd1
Allow compiling a domain0 kernel with vga but without pckbc, and add
...
console support for USB keyboard. Problem pointed out by Karl Janmar on
port-xen.
2005-06-16 10:58:52 +00:00
martti
ec63076a4b
Added LBA48 quirk for Seagate ST3200822AS. Tested by Teemu Rinta-aho.
2005-06-16 05:47:17 +00:00
he
970b620d42
Adapt to changed signature of cpu_coredump32().
2005-06-16 05:38:43 +00:00
briggs
7f01fdeb84
Rename 'ncpus' to 'sparc_ncpus' to avoid shadow warnings in m.i. code.
...
Also sprinkle an __UNVOLATILE() for sparc.
n.b. sparc64 'cpus' should probably be renamed to 'cpu_info_list' to
match i386 et al.
2005-06-16 04:17:49 +00:00
seb
bc1b24046b
Add missing entries in cache information array for, at least,
...
Pentium M 770, 760, 750, 740 and 730.
Approved by mrg@
2005-06-16 00:04:25 +00:00
bouyer
6b930c6d27
Add support for x86 boot flags:
...
-s boot single user
-a ask root device
XXX -d is ifdef'd out for now, it cause early panic (no console message).
2005-06-15 22:08:08 +00:00
junyoung
ef7e076715
Cosmetic changes.
2005-06-15 19:07:36 +00:00
junyoung
d659374d57
ANSI, KNF, de-__P, and various cosmetic changes.
2005-06-15 19:01:19 +00:00
bouyer
ec4bb683de
Support Intel 82801FBM Serial ATA Controller. From Kurt Schreiner on tech-kern.
2005-06-15 18:01:12 +00:00
bouyer
3cfd2fc4d3
Regen: add Intel 82801FBM Serial ATA Controller.
2005-06-15 17:59:14 +00:00
bouyer
ded1e32c08
Add Intel 82801FBM Serial ATA Controller. From Kurt Schreiner on tech-kern@
2005-06-15 17:58:02 +00:00
elad
e62596b887
Set the veriexec table entry pointer to NULL in getnewvnode().
2005-06-15 16:59:27 +00:00
elad
5b2713d417
Fix sysctl handling for raise-only variables. This affected the veriexec
...
node entirely. Reported by Nino Dehne.
2005-06-15 16:58:31 +00:00
reinoud
c380d87cf0
Cosmetic change giving better feedback on what's going on. It would allways
...
tell the hardware reset timed out when it didn't. Also cleaned up code
comments.
2005-06-15 15:16:23 +00:00
tron
74088f139f
Remove commented out "upa" attachments because NetBSD doesn't have a
...
driver for that anyway. Approved by Martin Husemann.
2005-06-15 12:57:44 +00:00
cube
b5e65ac443
Match two candidates. From Francois Romieu in private mail.
2005-06-15 11:27:39 +00:00
junyoung
3bd71bdfb4
KNF & notably, use u_int rather than unsigned int for now for consistency.
...
This should be reversed eventually...
2005-06-15 08:03:07 +00:00
junyoung
0da67fb4ba
Initial commit of cdboot, a primary boot loader that loads a secondary
...
boot loader directly from CD without performing floppy/hard disk emulation
as described by the El Torito specification.
2005-06-15 06:38:45 +00:00
simonb
13f898cc84
Bump SYMTAB_SPACE.
2005-06-15 05:08:39 +00:00
christos
b329676140
print the actual device name in error message.
2005-06-15 01:52:39 +00:00
lukem
fd8956d5fa
Use an "XXXGCC -Wuninitalized" style that is consistent with that used
...
elsewhere in the tree.
2005-06-15 01:48:20 +00:00
christos
4e330f1fbc
We don't have sigcode if we are not in COMPAT_16.
2005-06-14 22:35:20 +00:00
elad
8863b29522
Sync reality with comments. This makes strict level 1 work as expected.
...
Reported by Nino Dehne.
2005-06-14 21:55:21 +00:00
jmc
6724401235
Cleanup XXGCC in a few places to make it easier to see.
2005-06-14 21:20:30 +00:00
tron
8ff1e4e407
Get rid off the ugly S_SIZE() macro which breaks the build now that
...
bcmp() is a macro, too.
2005-06-14 18:25:16 +00:00
dsl
ad5e78548c
Change to use installboot - now it is being built for hp300.
2005-06-14 17:29:09 +00:00
bouyer
a62b47cd1a
Regen: add SiS 965.
2005-06-14 14:45:15 +00:00
bouyer
5f436e258e
Add SIS 965 bridge. From FreeBSD.
2005-06-14 14:44:26 +00:00
jmc
c85fb0b719
add memcmp. Why doesn't this use the regular libsa pullover?
2005-06-14 01:07:36 +00:00
elad
ab99f231f8
Correctly handle the case of executing a 'FILE' entry.
2005-06-13 22:46:56 +00:00
jmc
803a5ae17e
Fix a ton of const/volatile issues shown with new warning flags
2005-06-13 21:34:16 +00:00
jmc
095fcda9c3
Fix some shadowing of variables
2005-06-13 21:33:15 +00:00
elad
1e323dd70c
Fix potential NULL pointer access.
2005-06-13 21:09:49 +00:00
elad
49d0a3504e
Cosmetic change..
2005-06-13 20:52:13 +00:00
jmc
b75aff9bfb
Fix volatile casts
2005-06-13 20:44:24 +00:00
jmc
43a300640c
Constify
2005-06-13 20:44:11 +00:00
jmc
96fe97a4ff
Fix a variable shadowing
2005-06-13 20:43:16 +00:00
jmc
1786cf4f46
Change signature of uvm_kmapent_map defintiion to __INLINE to match prototype
2005-06-13 20:39:14 +00:00
jmc
168d2d9f35
Rename a shadowed variable
2005-06-13 20:34:16 +00:00
jmc
c3073778d2
Fix unitialized warnings that only crop up on m68k. XXGCC taggedd
2005-06-13 20:33:53 +00:00
jmc
1e47a53b95
Constify return string
2005-06-13 20:32:58 +00:00
elad
cbb4bd85d4
Oops - forgot to remove it in previous commit. Checking the fingerprint
...
status is enough here.
2005-06-13 20:23:15 +00:00
elad
da15a5a10c
More veriexec refactoring.
...
- Use u_char for the fingerprint status.
- Add a pointer to the vnode's veriexec hash table entry in the vnode
struct. This saves a lookup and will also used by planned features.
- When removing a file from the tables, set the vnode fingerprint status
to NOENTRY.
- Add switch to do flag-specific handling in veriexec_verify(). At the
moment this prevents execution of FILE entries in strict level 2, but
it will also be used by planned features.
- Use memset() instead of bzero().
- Various cosmetic changes.
2005-06-13 20:17:54 +00:00
jandberg
dc6e239c32
Constify pointers to string constants.
2005-06-13 19:31:54 +00:00
cube
8a116ca5d3
Provide a header for UKBD_LAYOUT. It makes more sense, and it avoids
...
quoting issues during the build process.
Reported and checked by spz@.
2005-06-13 16:41:44 +00:00
tron
1981d397d6
Also use prom_getether() under NetBSD-sparc(64) if the MAC address
...
retrieved from the PROM starts with ff:ff:ff. The driver now works with
the onboard interface in the Tadpole SPARCle.
2005-06-13 16:37:38 +00:00
tron
7dc178dad7
Regen.
2005-06-13 15:28:04 +00:00
tron
7b43f61d58
Add support for the LinkSys PCMPC200 Cardbus ethernet card.
2005-06-13 15:27:41 +00:00
junyoung
f465530831
Remove bcmp(). Use memcmp() instead.
2005-06-13 12:11:07 +00:00
junyoung
0ddaa77ca6
Oops, missed a semicolon.
2005-06-13 12:06:36 +00:00
junyoung
9bf0710d63
ANSI, De-__P(), and some cosmetic changes including
...
bcmp -> memcmp, bzero -> memset, bcopy -> memcpy.
2005-06-13 12:03:01 +00:00
junyoung
5e872837fc
Cosmetic changes.
2005-06-13 11:34:11 +00:00
junyoung
c3fc1c3df5
- Remove support for gcc < 2.7.x. Nobody is using such an old version
...
these days.
- s/u_int/uint/
- De-__P()
2005-06-13 11:33:02 +00:00
junyoung
7afdc17e75
ANSI, KNF, kill trailing spaces, and cosmetic changes.
2005-06-13 11:27:40 +00:00
junyoung
5b29e9631f
ANSI, KNF, remove trailing spaces, and some other non-functional changes
2005-06-13 11:23:28 +00:00
junyoung
be35d82590
Remove trailing spaces.
2005-06-13 11:13:17 +00:00
nonaka
518d320d8e
Regen.
2005-06-13 07:43:52 +00:00
nonaka
a72ccc32e9
Add PCI ids for HITACHI SH7751{,R} PCI Controller
2005-06-13 07:43:34 +00:00
nonaka
a63cdc696c
Regen.
2005-06-13 07:32:38 +00:00
nonaka
7cf9e12bdb
Add PCI id for "ATI Mobility Radeon 9700".
2005-06-13 07:31:50 +00:00
he
df3cf43683
Change the signature of badaddr() and badbaddr() from taking a caddr_t
...
to taking a volatile void*. This gets rid of a number of casts to make
this compile under -Wcast-qual.
Add some volatiles and consts in other places to make this build under
-Wcast-qual.
Also rename a few variables to make this build under -Wshadow.
Also get rid of duplicated declarations of badaddr() and badbaddr()
in machdep.c, they're already there from <machine/cpu.h>.
2005-06-13 00:34:08 +00:00
he
a67c46ebd2
Add volatile to a cast to make this build with -Wcast-qual.
2005-06-13 00:28:45 +00:00
he
745531d189
Make this compile under -Wshadow by renaming an unused parameter.
2005-06-13 00:18:49 +00:00
he
6db088a2cd
Make this compile by adding __UNCONST() when calling config_found() or
...
similar functions with a text constant as the second argument.
2005-06-13 00:18:11 +00:00
he
5d997939d0
Make this build with -Wcast-qual and -Wshadow by adding one
...
__UNVOLATILE() and adding a number of volatile to variable declarations
and renaming a local variable.
2005-06-13 00:14:52 +00:00
he
88f0cd47de
Make this build with -Wcast-qual by adding a few consts.
2005-06-13 00:12:21 +00:00
he
bc766262e1
Add __UNVOLATILE() to an assignment with a cast before passing pointer
...
to a function.
2005-06-13 00:07:39 +00:00
he
a01d803d49
Change the last arg of ite_sendstr() to const char*, so that this builds
...
under -Wcast-qual. Also rename a local variable to build with -Wshadow.
2005-06-12 23:46:41 +00:00