Commit Graph

201940 Commits

Author SHA1 Message Date
pgoyette
eff7c483c3 Rather than requiring the user to know the internal encoding of sensor
types, allow the user to specify the type using the units description.

XXX Numeric specification is still permitted but will be removed soon.
2011-06-19 03:12:31 +00:00
pgoyette
3b3fd97442 Add routine to lookup description tables by description instead of by
type.
2011-06-19 03:09:43 +00:00
rmind
7083a919fc - Fix a silly bug: remove umap from uobj in ubc_release() UBC_UNMAP case.
- Use UBC_WANT_UNMAP() consistently.

ARM (PMAP_CACHE_VIVT case) works again.
2011-06-19 02:42:53 +00:00
tsutsui
086321b729 Use sbin/dmesg rather than via kernfs. 2011-06-19 02:40:38 +00:00
tsutsui
91502ada24 Use src/distrib/utils/x_gzip in all install ramdisks/miniroots for now
since installation file systems might be flooded by -llzma.
2011-06-19 02:36:59 +00:00
tsutsui
b2c28fada2 Use ${DISTRIBDIR}. 2011-06-19 02:28:35 +00:00
tsutsui
607c670f96 Fix indent. 2011-06-19 02:27:41 +00:00
tsutsui
42f3f96fed Remove unnecessary gnu/usr.bin path from SRCDIRS. 2011-06-19 02:25:45 +00:00
christos
b3e9080143 cross reference xz.1 2011-06-19 02:22:36 +00:00
christos
9593a36e94 make this work:
- forgot to account for prelen in the input length
- deal with EOF properly
2011-06-19 02:19:45 +00:00
tsutsui
2b7e6693d0 Fix indent. 2011-06-19 02:19:34 +00:00
christos
5708f444da recognize .xz suffix 2011-06-19 02:19:09 +00:00
tsutsui
efc2552edb Use src/distrib/utils/x_gzip in all install ramdisks/miniroots for now
since installation file systems might be flooded by -llzma.
2011-06-19 02:18:28 +00:00
christos
c21dd86c39 add the lzma library now that is used by gzip 2011-06-19 01:53:36 +00:00
christos
255ae88a08 - remove unused call
- read headers separately
- print error id.
2011-06-19 01:52:28 +00:00
tsutsui
326d8524e2 Add -DNO_PACK_SUPPORT and -DNO_XZ_SUPPORT to CPPFLAGS to omit
extra algorithm not used in installer.

XXX: should we use positive options in usr.bin/gzip/Makefile?
2011-06-19 01:25:35 +00:00
tsutsui
7c8d31ee49 XZ_SUPPORT requires maybe_errx(). 2011-06-19 01:20:19 +00:00
christos
9f641b5c29 document --xz 2011-06-19 00:55:09 +00:00
christos
40b41259f0 Add lzma (.xz) support. Somehow this does not decode after the first read yet. 2011-06-19 00:43:54 +00:00
christos
dbf8eeee06 add --xz 2011-06-18 23:07:04 +00:00
joerg
17f4d79daf Use correct stack register as noticed by christos 2011-06-18 22:19:52 +00:00
joerg
7d48645456 Kill redundant ; 2011-06-18 21:24:51 +00:00
christos
4fc4fe2edf PR/45069: Henning Petersen: Use prototypes from builtins.h . 2011-06-18 21:18:46 +00:00
rmind
e43016c1ed pmap_page_remove: perform TLB shootdown, as it is not caller's responsibility
to perform pmap_update() according to the interface.  Might want to revisit.

Should fix recently reported tmpfs problems.  Thanks to enami@ and hannken@!
2011-06-18 21:18:20 +00:00
matt
dcbb41139e Make a common genassym.cf (powerpc/genassym.cf) and then
only put specific stuff in foo/genassym.cf
2011-06-18 21:17:28 +00:00
rmind
7a15ad245d - Move pre-check from uvm_obj_destroy() to ubc_purge(), keep it abstracted.
- Add comments noting the race between ubc_alloc() and ubc_purge().
2011-06-18 21:14:43 +00:00
rmind
10583b12ce Clean up, sprinkle asserts, consify, use unsigned, use kmem_zalloc instead
of memset, reduce the scope of some variables, improve some comments.

No functional change intended.
2011-06-18 21:13:29 +00:00
rmind
1885100a7e amap_add/amap_unadd: clean up slightly, use unsigned, add asserts. 2011-06-18 20:51:22 +00:00
joerg
658a2a5f07 Switch to SSE code, since our gas supports it now. 2011-06-18 20:49:26 +00:00
matt
b07f072bdb Unconditionally build fixup.c 2011-06-18 20:35:05 +00:00
matt
36d0c0545b Call cpu_fixup_stubs at the end of oea_machdep 2011-06-18 20:34:39 +00:00
rmind
223aec6f50 Add amap_adjref_anons() helper and simplify amap_ref()/amap_unref(). 2011-06-18 20:29:56 +00:00
matt
e1a00dbd5b Add things needed for __HAVE_FAST_SOFTINTRS 2011-06-18 20:28:48 +00:00
joerg
208082f32c Try to initialize retval to something sensible. 2011-06-18 20:05:56 +00:00
joerg
2df16a8d62 input() isn't used 2011-06-18 20:05:28 +00:00
nakayama
eeee005d04 sparc64: Add fast softint(9) support. 2011-06-18 18:54:25 +00:00
nakayama
74bd9793c1 Add fast softint(9) support for sparc64.
Reviewed on port-sparc64.
2011-06-18 18:51:17 +00:00
plunky
b41529f23b remove empty files 2011-06-18 18:43:41 +00:00
joerg
47980a5652 SSE2 registers are only used for float and double arguments, so update
comment to reflect reality. Add some accessor macros for long double
arguments for i386 and x86_64.
2011-06-18 18:16:40 +00:00
tsutsui
6e783dfc8e - misc KNF and style fixes
- use device_t and cfdata_t
No binary change.
2011-06-18 17:47:20 +00:00
matt
b1991f6793 Move PVR definitions to <powerpc/ibm4xx/spr.h>
No need to include <powerpc/cpu.h> in <powerpc/ib4xx/cpu.h>
2011-06-18 17:06:52 +00:00
joerg
1eb45821a7 Include libgcc_s.so symlinks in /usr/lib, so that binaries in /usr
linked against it actually work.
2011-06-18 14:47:36 +00:00
nonaka
11318f3ebb Added some I2C register definition. 2011-06-18 13:52:24 +00:00
matt
4f384b1a8f Constify cputab. 2011-06-18 08:21:20 +00:00
matt
29945337ee Use __builtin_clz instead of our own cntlzw 2011-06-18 08:17:58 +00:00
matt
05b09539a2 struct device * -> device_t
struct cfdata * -> cfdata_t
use device accessors, use device_private.
some softc/device_t splits (macppc needs a bunch more)
aprint*_dev used considerably more
2011-06-18 08:08:27 +00:00
matt
51a2be5067 split device/softc (CFATTACH_DECL_NEW)
struct device * -> device_t
struct cfdata * -> cfdata_t
Use <sys/foo.h> instead of <machine/foo.h> if <sys/foo.h> exists
Explicitly include <powerpc/ibm4xx/cpu.h> when needed.
2011-06-18 06:44:25 +00:00
matt
1fd2c684c9 Use <sys/foo.h> instead of <machine/foo.h> if such a file exists.
Don't assume <sys/cpu.h> includes <powerpc/subarch/cpu*.h>.  Include it
explicitly.
2011-06-18 06:41:41 +00:00
matt
7cba41e9b1 Use FRAME_Rn (like ibm4xx and oea) instead of FRAME_n.
Include psl.h to get PSL_* values instead of getting them from assym.h
2011-06-18 06:37:38 +00:00
matt
96d8734b3b Whitespace cleanup 2011-06-18 06:36:25 +00:00