Commit Graph

169943 Commits

Author SHA1 Message Date
wiz b766901d20 Bump date; punctuation improvements. 2008-05-13 09:33:36 +00:00
wiz d9ba6548dc cvs-1.11.23 out. 2008-05-13 09:31:19 +00:00
wiz 3f812bdc84 Bump date for previous. 2008-05-13 09:31:06 +00:00
yamt c27d8958e0 sys_ptrace: fix a locking botch. PR/38649 from Martin Husemann. 2008-05-13 09:16:11 +00:00
simonb 2fd5130380 mnt_data is a pointer, set it to NULL not 0 when we're finished with it. 2008-05-13 08:31:12 +00:00
simonb 03a48736d2 Use the correct malloc type when free()ing the ptyfs mount structure.
Fixes the "free 2: inuse 0, probable double free" panic when using ptyfs
and KMEMSTATS.
2008-05-13 05:36:43 +00:00
ad d3b40a28c7 - lapic_map: if we have an APIC MSR, ignore the supplied address and ask the
hardware where it is mapped. At least one ACPI implementation seems to lie
  about the physical address of the lapic.

- lapic_initclocks: be paranoid and issue an EOI.
2008-05-12 23:46:01 +00:00
dyoung 3361a66d0a Per discussion at
<http://mail-index.netbsd.org/tech-net/2008/04/08/msg000371.html>,
let us add, delete, and activate link-layer addresses with ifconfig:

# ifconfig sip0 link 02:00:00:00:00:01                   [add address]
# ifconfig sip0 link 02:00:00:00:00:02                   [add address]
# ifconfig sip0 link 02:00:00:00:00:02 active            [activate address]
# ifconfig sip0 link 02:00:00:00:00:01 delete            [remove address]
2008-05-12 22:06:13 +00:00
dyoung af8202a3c2 Apply the right copyright notice. 2008-05-12 22:01:32 +00:00
dyoung 85a29f7ecc Fix link-layer address parsing. Add debug statements.
Cosmetic: fix copyright whitespace.
2008-05-12 21:54:51 +00:00
dyoung 8c56a7ef60 Cosmetic: fix copyright whitespace. 2008-05-12 21:53:32 +00:00
dyoung cd86d94cd8 We cannot create an AF_LINK socket. If AF_LINK is requested, create
an AF_INET socket, instead.
2008-05-12 21:52:29 +00:00
jnemeth c93b478e9f add support for drvctl properties 2008-05-12 21:39:56 +00:00
dyoung 47bfdf8c0e Make prototype and definition of in_alias() agree: it's static. 2008-05-12 20:59:13 +00:00
dyoung b312223d4e Retire in6_addreq and in6_ridreq, which we do not use in the
commit_address() regime.
2008-05-12 20:58:16 +00:00
martin 3e3aaf429b Remove quirks for fixed or removed parts of the tree.
Add C++/C99 comments.
2008-05-12 20:24:42 +00:00
ad ce85d1b2a3 Some defs to describe the IA32_APIC_BASE MSR. 2008-05-12 18:36:20 +00:00
he 80dcfefbc7 Bump SYMTAB_SPACE so that it fits again. 2008-05-12 18:28:20 +00:00
martin 79eec0c146 Follow FreeBSD's rev 1.18 (by imp):
Replace (name) with Henric Vestergaard Draboel since it was clear that
this was just cut N paste and '(name)' doesn't make any sense.
2008-05-12 17:46:08 +00:00
tsutsui 6f98953d90 Remove one more dup line. I should have a cup of coffee before hasty commit..
XXX maybe it's better to sort by cai_desc to sync with the Intel docs.
2008-05-12 16:41:15 +00:00
dyoung 3f2ce08bf8 Initialize IPv6 addresses and ifreqs with more rigor. Fixes this
bug reported by Matthias Scheler,

# ifconfig sip0 inet6 fdb4:542d:dc11:ec20::1
ifconfig: SIOCAIFADDR_IN6: Invalid argument
# ifconfig sip0 inet6 fdb4:542d:dc11:ec20::1 prefixlen 64
2008-05-12 15:35:50 +00:00
ad a1ba1eadd5 - Make cpu_number() return MI index, otherwise the pmap cannot work on
systems with lapic IDs > X86_MAXPROCS.
- Kill cpu_info[] array and use MI cpu_lookup_byindex().
2008-05-12 14:41:07 +00:00
ad 02ce2ed48b Don't crash if more than 32 cpus. Hopefully the boot processor will be
within the first 32 attached.
2008-05-12 14:29:06 +00:00
ad a9ee17c54d Use cpu_index(), not ci_cpuid. 2008-05-12 14:28:22 +00:00
ad 453d5d4dc1 - Complain if unable to reset the lapic ID.
- Minor clean up.
2008-05-12 14:19:33 +00:00
ad fb00930331 Clarify output of 'id' column. 2008-05-12 14:16:04 +00:00
ad 094788ba6d cpu_hatch: hack around problem with multiple CPUs spinning in i8254_delay. 2008-05-12 11:58:10 +00:00
nisimura ba7dbc0c82 CAL cache alignment band-aid for BMR register. 2008-05-12 11:56:15 +00:00
mlelstv 17740d28a4 add support for booting a kernel by tftp. Syntax is similar
to other systems, e.g.: boot net tftp:netbsd
2008-05-12 11:16:31 +00:00
nisimura 21ef04a5a6 sprincle volatile attribute for struct desc on memory to ease the
target HW dependency on cache characteristic and load-store
serialization, and GCC compile time optimization strength.
2008-05-12 09:58:36 +00:00
tron 4f712549a9 Fix SSP kernel builds. 2008-05-12 09:41:02 +00:00
nisimura 3352c438fc Assign copyright notices. 2008-05-12 09:29:56 +00:00
he 263486a6b0 Bump image size from 1924k to 2000k to compensate for recent bloat. 2008-05-12 09:00:30 +00:00
simonb ce7bd7383b Only need to add some of the new cache descriptors once(!). 2008-05-12 03:58:47 +00:00
dyoung 0f6386183c setifipdst() is gone, so delete the prototype. #include nothing
(XXX).
2008-05-12 00:40:40 +00:00
dyoung 4279a83897 Add code for parsing link-layer addresses of the form xx:xx:...:xx. 2008-05-12 00:39:18 +00:00
dyoung 4dd5ca7947 Add kernel support for adding/removing link-layer addresses using
SIOCALIFADDR AND SIOCDLIFADDR, respectively.  Corresponding
ifconfig(8) changes are coming soon.
2008-05-11 23:48:07 +00:00
he d565d6ce16 Bump SYMTAB_SPACE so it fits again. 2008-05-11 23:34:40 +00:00
dyoung d3c42f50ae Start to adapt the AppleTalk module to use commit_address(). 2008-05-11 23:28:40 +00:00
dyoung ed29145620 Get rid of sec2str() altogether. 2008-05-11 23:27:32 +00:00
dyoung 50a22265be Don't export in_alias(). Pass in_alias() a more useful template.
Misc. cosmetic changes.  Delete dead code.  Treat the address
preference as int16_t, since that is its real type.
2008-05-11 23:25:46 +00:00
cegger 79c3bfd61b remove one indent level. No functional change. 2008-05-11 23:05:45 +00:00
yamt bf5accf9f6 tprof_backend_estimate_freq: ci_tsc_freq -> ci_data.cpu_cc_freq 2008-05-11 22:51:02 +00:00
dyoung 42c94b7768 In in6_alias(), instead of repeating the memset()/estrlcpy()/sockaddr_in6
assignment-dance, copy creq to ifr6 before each ioctl().
2008-05-11 22:30:07 +00:00
ad 31c3804afc - Decouple the APIC ID from cpu_info[].
- Probe TSC frequency on each AP when hatching.
2008-05-11 22:26:59 +00:00
dyoung 16f748ab9d Delete unused array sin6tab[]. Delete unnecessary casts. 2008-05-11 22:18:20 +00:00
ad 0dc71691a0 Fix the qemu (?) problem. 2008-05-11 22:18:08 +00:00
ad bf21e0a741 Noisy printf. 2008-05-11 22:16:45 +00:00
dyoung 3df1d7792b Delete dead code in sec2str(). 2008-05-11 22:16:29 +00:00
dyoung 8ae5a779c6 Retire some code that in6_commit_address() replaces. 2008-05-11 22:12:04 +00:00