Commit Graph

239026 Commits

Author SHA1 Message Date
christos
cd40e75014 explain how to clear an entry (without reading the source) 2015-11-22 15:53:10 +00:00
maxv
165df8bad6 Remove cpu_vendorname (unused). It is retrieved later in identcpu.c. 2015-11-22 14:06:08 +00:00
maxv
a406542551 KNF a bit, so I don't get scared each time I open a file 2015-11-22 13:41:24 +00:00
jmcneill
a5c784b329 replace inline mc_read/write with MC_READ/WRITE macros, install intr handler with IST_MPSAFE flag 2015-11-22 12:26:11 +00:00
martin
49e022399f Reduce the "MAXDSIZ" limit for bottom-up-VA (i.e. old binaries) processes
to the old limit of 1 GB. Some old binaries can not deal with more.
2015-11-22 11:42:55 +00:00
martin
4d43062345 Use NETBSD32PTR32I() for pointer-to-32bit value conversion, requested
by mrg.
2015-11-22 11:24:08 +00:00
maxv
67b107f811 Clarify:
- add some comments
 - rename some jumps
 - KNF
No functional change.
2015-11-22 10:18:59 +00:00
martin
44d63857d1 Removy now unused {s,f}uword 2015-11-22 10:18:14 +00:00
wiz
4cce8f946f Bump date for previous. 2015-11-22 09:37:33 +00:00
martin
536e060075 remove all MD uses of suword(), replace by copyout() 2015-11-22 09:32:34 +00:00
kamil
b86d7f33dd +libpanel: Z-order for curses windows 2015-11-22 05:12:22 +00:00
kamil
14fc2d7931 +libpanel (Russian version) 2015-11-22 05:10:28 +00:00
kamil
6e002b49ee +libpanel (French version) 2015-11-22 05:06:56 +00:00
kamil
e1f3900163 +libpanel 2015-11-22 05:01:44 +00:00
kamil
1d5ce4bbb4 Add new predefined value for DPADD: LIBPANEL 2015-11-22 04:59:15 +00:00
kamil
43589aae40 Note to update major of libpanel(3) for new major of curses(3) 2015-11-22 04:56:00 +00:00
kamil
15fb689c63 Plug-in libpanel(3): Z-order for curses windows 2015-11-22 04:44:30 +00:00
kamil
51fc1f0d9d Specify path of a local internal header of libpanel 2015-11-22 04:30:33 +00:00
kamil
93a51714f2 Set LIBDPLIBS in libpanel for the required curses dependency 2015-11-22 04:26:14 +00:00
kamil
60586773ca Set the INCSDIR value of panel.h to /usr/include 2015-11-22 04:23:32 +00:00
kamil
71ae6a01f6 Define man page links of the libpanel functions 2015-11-22 04:21:39 +00:00
kamil
596a81a358 Update the list of libpanel man pages 2015-11-22 04:16:22 +00:00
kamil
0fcafa04c2 + aligned_alloc.0 2015-11-22 03:31:00 +00:00
pgoyette
28b908ec33 Fix return-code handling for execve and chdir wrappers.
Fixes PR kern/50309
2015-11-22 01:20:52 +00:00
uebayasi
e1ddff408d A few more. 2015-11-22 01:20:36 +00:00
jmcneill
e2e02058ba enable tegrasoctherm 2015-11-21 22:55:46 +00:00
jmcneill
0af3fdefa2 Add SOC_THERM temperature sensor driver:
# envstat -d tegrasoctherm0
        Current  CritMax  WarnMax  WarnMin  CritMin  Unit
CPU0:    27.500                                      degC
CPU1:    27.500                                      degC
CPU2:    29.500                                      degC
CPU3:    29.000                                      degC
MEM0:    26.500                                      degC
MEM1:    27.000                                      degC
 GPU:    27.000                                      degC
PLLX:    28.000                                      degC
2015-11-21 22:55:32 +00:00
jmcneill
e7f77e44de Apply initial fuse offset in tegra_fuse_read instead of in each reg def 2015-11-21 22:52:31 +00:00
jakllsch
77011a5640 Add error interrupt handler to for Tegra MC. 2015-11-21 16:50:29 +00:00
jakllsch
81bc32ac74 Add a bunch of hopefully-useful Tegra MC register bits. 2015-11-21 16:48:33 +00:00
martin
0d8f679638 Fix an off by one in the bit definition for RX store and forward mode.
Pointed out by ganbold.
While there add a few other bits of the same register.
2015-11-21 16:04:11 +00:00
christos
e9836e5e7e fix format 2015-11-21 15:22:17 +00:00
christos
301b67f323 WARNS=6 2015-11-21 15:01:43 +00:00
christos
2ea5bc272a PR/50454: Timo Buhrmester: Fix wrong allocation for wall(1) -g
Modernize.
2015-11-21 14:59:51 +00:00
maxv
a84a9bb93c Remove the amd64 implementation of fuword and suword. They are not used in
the MI+amd64 code - Christos replaced them yesterday by copy*.

They are both buggy:
 - suword does not properly check the userspace limit: 64 bits are copied,
   but the max address checked is VM_MAXUSER_ADDRESS-4, which means that 4
   bytes may overflow. Reported by Ed Schouten.
 - fuword is supposed to be symmetrical with suword. But it uses 32bit
   registers, so it stores 32bit values! Spotted by Chuck (chs@).
2015-11-21 12:34:48 +00:00
jmcneill
fd21f708a1 Try to reboot with the PMIC if available, falling back to PMC.
When the PMIC watchdog is armed and we reboot via PMC, the watchdog stays
armed on the next boot (and we end up being reset mid-boot the second time).
By rebooting with PMIC, we can ensure that the watchdog is not armed after
reset.
2015-11-21 12:22:25 +00:00
jmcneill
b1573d55e6 expose pmic reset functionality 2015-11-21 12:19:47 +00:00
pgoyette
b094e9b9cd Add the filemon(4) device. 2015-11-21 12:11:56 +00:00
jmcneill
b2b0f53c9f Add FUSE driver, use it to determine maximum CPU frequency for the board.
Retire CPUFREQ_BOOT option and always use highest available CPU frequency.
2015-11-21 12:09:39 +00:00
tsutsui
4c7d10a0b1 Disable UIThrStubs.c, which is unnecessary on NetBSD.
This fixes xterm startup failure on NetBSD/m68k 7.0.
See PR/50386 for details.

Should be pulled up to netbsd-7 and netbsd-7-0.
2015-11-21 11:15:31 +00:00
jmcneill
853a0aa0c8 add sysmon_wdog dependency to as3722pmic 2015-11-21 10:57:32 +00:00
jmcneill
6d134f2ab4 add watchdog support 2015-11-21 10:56:40 +00:00
mlelstv
92be9a2428 Provide additional flags to control alternate functions
and interrupts.
2015-11-21 09:06:03 +00:00
wiz
a539bee556 Add missing word. 2015-11-21 09:02:31 +00:00
wiz
234f27c5ee Fix some typos. Use more markup. 2015-11-21 09:01:35 +00:00
pgoyette
eb9db23cbe If a second call to the SET_FD ioctl occurs, release the reference we
hold on the earlier outout file.
2015-11-21 07:45:30 +00:00
mlelstv
f59d56db18 Add drivers to access the clock manager and pulse width modulator. 2015-11-21 07:41:29 +00:00
pgoyette
eab5fcbc7e The correct default return value from a module's xxx_modcmd() routine
is ENOTTY, not EOPNOTSUPP!  The former will allow the module to be
auto-unloaded, while the latter will prevent it.

Note that manual unloading of the filemon module is unaffected, as
that is controlled by actual usage of the module.
2015-11-21 03:34:28 +00:00
jmcneill
e79a56c90e Add watchdog timer support. 2015-11-21 00:54:57 +00:00
pgoyette
4023d6c003 Fix typo in sample program 2015-11-21 00:50:15 +00:00