apb
34bb1ddc72
Add a statuslen argument to get_pr_status(), and use it
...
as the length in a call to strlcpy(). The previous code would
have used the size of a pointer as the length.
2014-03-29 18:54:36 +00:00
apb
a88920f53c
sizeof(pointer) is not a good buffer length to pass to strlcat.
...
Introduce a new variable, clntpathmaxlen, to hold the correct
buffer length, and pass that to strlcat.
The incorrect buffer length would have caused <filename>.<hostname>
lookups to fail.
2014-03-29 18:23:00 +00:00
tsutsui
114c4a90f7
Make sure to acquire proc_lock mutex on calling psignal(9) in EV_WAKEUP().
...
Without this, Xserver could cause panic on the DIAGNOSTIC kernel as x68k:
http://mail-index.netbsd.org/source-changes/2012/08/15/msg036632.html
2014-03-29 16:46:19 +00:00
gson
de089ddb26
Use daemon(3) instead of the experimental daemon2_fork() and
...
daemon2_detach(). Now that newer versions of daemon2_fork() and
daemon2_detach() are used in nfsd, where two-stage daemonization is
actually needed, there is no longer any reason for h_dns_server to
serve as a test case and example of their use.
2014-03-29 16:10:54 +00:00
skrll
6e791cbd37
Trailing whitespace
2014-03-29 15:48:01 +00:00
skrll
c0559412e4
Allow crash(8) to compile this.
2014-03-29 15:47:40 +00:00
matt
611d2a533f
Change KERNEL_EXT_BASE to 0x80000000 and KERNEL_BASE_VIRT correspondingly.
2014-03-29 15:02:00 +00:00
matt
6e241b49ec
support mapping all of memory.
...
Map memory starting at 0x80000000 and leave 1GB until kernel VM
Make kernel VM size 320MB (avoid loading kernel and i/o section into same
tlb index).
2014-03-29 15:00:07 +00:00
matt
acba38a72c
Use armv7 instructions. Add ARM_MMU_EXTENDED support.
2014-03-29 14:53:57 +00:00
matt
d70e9a297a
OMAP5/OMAP4 MP Changes + better OMAP5 support.
2014-03-29 14:47:30 +00:00
jakllsch
edd6a404ba
Obtain and/or use ETHER_ADDR_LEN.
2014-03-29 14:30:16 +00:00
jakllsch
836038fc64
Use ETHER_ADDR_LEN more.
2014-03-29 14:25:10 +00:00
jakllsch
2f39df062c
Obtain and use ETHER_ADDR_LEN where appropriate.
...
Drop unnecessary includes.
XXX libsa ether_sprintf() should maybe be ether_snprintf.
2014-03-29 14:20:14 +00:00
matt
820d40c2f8
remove trailing blank line
2014-03-29 14:13:17 +00:00
matt
1154906a85
enable cortex-a15 for omap5 boards
2014-03-29 14:11:24 +00:00
matt
5658fa86da
Add install config for PANDABOARD
2014-03-29 14:07:51 +00:00
matt
7c35ec50f2
Remove OMAP5432_EVM to OMAP5EVM. Add install kernel.
2014-03-29 14:05:58 +00:00
matt
4f4d60ee67
Define KERNEL_BASES_EQUAL is KERNEL_BASE_VIRT == KERNEL_BASE_PHYS
2014-03-29 14:04:31 +00:00
matt
8ec5ba97dc
adjust arm_cpu_max by 1 to be number of cpus
2014-03-29 14:02:46 +00:00
matt
6740164378
Properly powerup the 2nd CPU. Other MP changes.
2014-03-29 14:00:30 +00:00
gson
da700ef1b2
When daemonizing, delay the parent exit until the daemon is
...
ready to provide service. Fixes one of the race conditions
of PR misc/48282.
2014-03-29 13:50:53 +00:00
mlelstv
86affea727
Mark variables only used in KASSET to appease compiler.
2014-03-29 12:55:11 +00:00
mlelstv
6a72627faa
Appease compiler.
2014-03-29 12:54:27 +00:00
mlelstv
fe0f5b41c6
Use different option (-mcpu=68030) to select target cpu for the assembler.
...
The old option (-m68030) causes it to complain about features used that
are not provided by the target cpu.
2014-03-29 12:52:56 +00:00
mlelstv
ddf5baea92
Test mode is not implemented. Appease compiler.
2014-03-29 12:49:15 +00:00
hkenken
459f2ce05f
Add optical joystick support for NetWalker.
...
+ OJ6SH-T25 (Sharp "Optical TOUCH CRUISER" sensor)
+ 2 Mouse buttons (GPIO)
2014-03-29 12:00:27 +00:00
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