Commit Graph

226029 Commits

Author SHA1 Message Date
apb
7b4ce92677 procfs_getcpuinfstr's len argument contains the buffer size on entry,
and the number of bytes used on return.  Use the actual buffer size in a
snprintf call, instead of sizeof(*buf), which is always 1.
2014-03-29 11:34:13 +00:00
skrll
3cebbec2c7 Simplify 2014-03-29 09:36:18 +00:00
maxv
687880ac6a Style 2014-03-29 09:31:11 +00:00
skrll
45c2650cd7 Sprinkle #ifdef _KERNEL{,_OPT} 2014-03-29 09:27:57 +00:00
ozaki-r
f351285ac5 Replace sprintf with snprintf 2014-03-29 05:07:25 +00:00
ozaki-r
9296282025 Fix typos 2014-03-29 05:03:43 +00:00
zafer
b79dc9575c Fix an issue with 11g beacon frames.
From FreeBSD Rev. 226465
Makes 11g wep, wpa2 and hostap work again.
2014-03-29 00:59:05 +00:00
riastradh
0fb1b53a4b Don't leak KVA by forgetting to call uvm_km_free...oops!
From rmind@.
2014-03-28 23:22:27 +00:00
riastradh
d727e05d80 Remove needless splvm/splx calls.
From rmind@, who explained that the pmap(9) man page is wrong.
2014-03-28 23:19:41 +00:00
matt
794a9be7ca Mark interrupt as MPSAFE. 2014-03-28 21:57:22 +00:00
matt
fa0e082493 ARM_MMU_EXTENDED support. 2014-03-28 21:56:45 +00:00
matt
47494f6774 Add ARM_MMU_EXTENDED support. 2014-03-28 21:56:02 +00:00
matt
a9d8178c41 Make ddb_registers per-cpu. All switching of CPUs (xxx doesn't work yet). 2014-03-28 21:54:12 +00:00
matt
c7572f9fd4 ARM_MMU_EXTENDED support. 2014-03-28 21:52:53 +00:00
matt
3571520b18 Change arm_cpu_mbox to volatile 2014-03-28 21:51:59 +00:00
matt
a7b613d41a Add tlb routines for pmap_tlb.c 2014-03-28 21:51:21 +00:00
matt
27943e59d2 Add ARM_MMU_EXTENDED support 2014-03-28 21:50:40 +00:00
matt
94d9f6fee5 Initialize cache way_size and sets 2014-03-28 21:49:22 +00:00
matt
79d29d4609 Use cpsie/cpsid if possible.
change cache_type to uint8_t
more ARM_MMU_EXTENDED support (ASID)
2014-03-28 21:47:48 +00:00
matt
b7b36a86a8 Make ddb_regs, undefined & vfp evcnt's per cpu. 2014-03-28 21:44:59 +00:00
matt
73b182726d Move undefined evcnt's to cpu_info. 2014-03-28 21:44:35 +00:00
matt
ac5d706a49 Make sure the pmap is activated before returning to userland. 2014-03-28 21:43:49 +00:00
matt
2b3dd61a71 arm_cpu_max = num of cpus 2014-03-28 21:43:01 +00:00
matt
b5ce4e7f1e Add gtmr_bootdelay. rename clockhandler to gtmr_intr 2014-03-28 21:41:46 +00:00
matt
2424f9781d Use dmb/dsb 2014-03-28 21:40:53 +00:00
matt
d6e299a97b Various MP changes. 2014-03-28 21:39:09 +00:00
skrll
39ac7250f3 Ensure SBZ register is zero 2014-03-28 21:32:41 +00:00
apb
292aec205d When the third arg to fwrite() is a size in bytes, then the second arg
should be 1.  sizeof(*mbuf) happens to equal 1, but it's better not
to rely on that.
2014-03-28 18:27:14 +00:00
apb
fa823f4eed temp is a pointer, and tempmax, not sizeof(temp), is the length of
the buffer that it points to.  Adjust a strlcat() call to suit.
2014-03-28 17:53:47 +00:00
apb
27e71a78a5 If you are going to use memcpy instead of struct assignment, then at
least use sizeof(the correct variable).  The use of memcmp to test
two pointers for equality, one line earlier, is also weird but may be
correct.
2014-03-28 17:49:11 +00:00
wiz
59200c73fc Remove trailing whitespace. Merge EINVAL entries. 2014-03-28 15:35:55 +00:00
degroote
b45684b49b Document a bit CLOCK_VIRTUAL and CLOCK_PROF 2014-03-28 15:03:41 +00:00
christos
92acc2a82f fold line 2014-03-28 15:02:34 +00:00
christos
9a902bb860 use err 2014-03-28 15:00:53 +00:00
ozaki-r
044269e319 Fix; cts[0] => cts 2014-03-28 13:35:13 +00:00
ozaki-r
046f996cf0 Use snprintf instead of sprintf 2014-03-28 13:26:24 +00:00
ozaki-r
6ac95d35b1 Fix unused variable 'mp' 2014-03-28 11:55:09 +00:00
hkenken
3dbfb37284 Fix printf formating in DPRINTF. 2014-03-28 11:52:51 +00:00
ozaki-r
8405b449bb Use snprintf instead of sprintf 2014-03-28 11:49:40 +00:00
apb
a572e5336e +ICN:Incheon, South Korea
Also fix spelling of Incheon in the entry for JCN
2014-03-28 10:16:28 +00:00
hsuenaga
99b1ffd423 Added myself, hsuenaga 2014-03-28 08:24:06 +00:00
apb
59df49b517 Add placeholder for osnet. 2014-03-28 08:15:48 +00:00
pettai
4754343be0 Fix lost merges 2014-03-28 07:01:49 +00:00
htodd
e4ef43c25c Fix build. 2014-03-28 04:09:19 +00:00
ozaki-r
b7c3845c47 Complete migrating to snprintf_blkptr 2014-03-28 03:46:56 +00:00
ozaki-r
c5002aae34 Fix migrating to snprintf_blkptr 2014-03-28 03:18:24 +00:00
ozaki-r
2821606826 Add missing 4th argument of ddt_object_name 2014-03-28 03:11:00 +00:00
ozaki-r
4e2e658100 Fix some snprintf 2014-03-28 02:58:36 +00:00
ozaki-r
bc3ce11eda Add missing 3rd argument of nicenum 2014-03-28 02:50:18 +00:00
christos
e85af085ed Deal with snprintf more gracefully. 2014-03-28 02:16:47 +00:00