tsutsui
3cf69f27e2
Add "live-image" and "install-image" target support to build.sh.
...
"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
msdosfs or partitioning MD label structures) support this target.
"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.
For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html
No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.
Closes PR toolchain/45153 and PR misc/45155.
2012-01-22 03:53:29 +00:00
rmind
5d8ea36772
fileassoc_file_delete: pre-check whether fileassoc was used and thus avoid
...
acquiring kernel-lock, which damages sys_unlink() performance.
2012-01-22 03:48:51 +00:00
rmind
0adcb88bc3
tmpfs_access: simplify, no need to separate the logic.
2012-01-22 03:13:19 +00:00
rmind
c1591c4ef3
Add CTASSERT_SIGNED() and CTASSERT_UNSIGNED().
2012-01-22 02:57:36 +00:00
rmind
f1f4283156
Replace pcq(9) with the implementation from ad@ and minor changes by me.
...
PR/40516, PR/45631.
2012-01-22 02:55:47 +00:00
rkujawa
f1763b1c49
Fix double i2cbus dependency for voyager
2012-01-21 23:54:57 +00:00
rkujawa
c9a5627692
Change dependency iic to i2cbus for fb drivers. OK macallan.
2012-01-21 23:46:49 +00:00
christos
66776cea39
remove dup target.
2012-01-21 22:31:15 +00:00
reinoud
1ea95bd622
Complete rewrite of the signal and spl framework for NetBSD/usermode
...
Signals are now moved from the sigaltstack ASAP and stacked on a replacement
stack for each processes.
Preemption now works though could be enhanced a bit more
2012-01-21 22:09:56 +00:00
reinoud
b74ba047d8
Add extra kasserts to make sure we dont derive paramters from zero ucp's
2012-01-21 22:05:06 +00:00
matt
330bf23a3a
For cpu_uarea, need uvm.h instead of uvm_extern.h
2012-01-21 21:50:24 +00:00
matt
878569aa0b
cpu_uarea_free returns bool, not void
2012-01-21 21:49:50 +00:00
njoly
b13c2c5b2a
Kill duplicate SHF_MASKOS/SHF_MASKPROC defines.
2012-01-21 21:44:03 +00:00
tsutsui
b199c46fe5
Give higher priority to faster local memory on uvm_page_physload().
...
Tested by Y.Sugahara on his 060turbo with 128MB local memory and
this improved even simple benchmark. Ok'ed by isaki@.
2012-01-21 20:19:55 +00:00
tsutsui
fdc3c331af
Always redefine DEV_BSIZE=512.
...
All references of DEV_BSIZE in tools are to manipulate target
(i.e. NetBSD's) file images (in installboot(8) and makefs(8) etc.) and
no host's DEV_BSIZE is required for the moment. Closes PR toolchain/42574.
2012-01-21 20:05:27 +00:00
christos
236ed3e463
remove error(1) line.
2012-01-21 19:56:46 +00:00
christos
ab450fcb83
make the previous patch compile.
2012-01-21 19:49:56 +00:00
nonaka
2388feef61
fix my license notice.
2012-01-21 19:44:28 +00:00
christos
e36a3ef194
PR/10367: Second part.
...
Restore lost fix:
http://mail-index.netbsd.org/source-changes/2001/09/09/0043.html
Fix a test condition for EOF.
2012-01-21 19:35:02 +00:00
christos
2a21cd4999
PR/10367:
...
Restore lost fix:
http://mail-index.netbsd.org/source-changes/2001/09/09/0042.html
Define ENTIRE_LINE to be -1 instead of 0 since we may want to copy 0 characters.
(and use ENTIRE_LINE instead of 0 where appropriate)
This fixes a bug in the dw command with for example:
<cursor>
a b c
~
~
if you hit dw there, only the empty line would be killed but both the empty
line and the subsequent one would be pasted when asked for with P for example.
2012-01-21 19:32:37 +00:00
christos
f5b6285b2a
undo previous, it is wrong.
2012-01-21 19:29:41 +00:00
reinoud
efe1d0c784
Add the complement to sigemptyset(), sigfillset()!
2012-01-21 19:17:33 +00:00
nonaka
7e1e52be21
fix my license notice.
2012-01-21 18:56:51 +00:00
jakllsch
eaff446d08
Correct some typos in comments, as was done in wdc.c 1.266.
2012-01-21 18:33:17 +00:00
jmcneill
13b0b03b15
initialize fan sensor state to ENVSYS_SINVALID, should fix:
...
asus0 at acpi0 (ATKD, ASUS010-16843008)
sme_update_sensor_dictionary: can not update sensor state 0 unknown
asus0: couldn't register with envsys
2012-01-21 18:13:56 +00:00
christos
9e2c491108
PR/10367: Mason Loring Bliss: fix delete word near end of file. Patch
...
from tnozaki.
2012-01-21 17:12:56 +00:00
chs
caaf3a9421
fix UVM_MAP_CLIP_* to only clip if the clip address is within the entry
...
(which would only not be true if the clip address is at one of the boundaries
of the entry). fixes PR 44788.
2012-01-21 16:51:38 +00:00
chs
f1a14a20aa
src/sys/dev/ic/mpu.c
...
fix assertions after audiomp.
2012-01-21 16:49:26 +00:00
chs
e8223ac8ab
allocate uareas contiguously and access them via the direct map.
2012-01-21 16:48:56 +00:00
chs
461609b5cd
disable the entry for Marvell E1149 for now since this driver doesn't work
...
with some instances of this hardware (in particular, the ones on the
motherboard of an HP XW9400 workstation, which is supposedly a Tyan S2915).
ukphy works fine for this.
2012-01-21 16:48:08 +00:00
christos
df65f3e2c9
Siginfo support from Daniel Loffgren
2012-01-21 16:38:41 +00:00
jakllsch
65ab8f813e
Silence "large integer implicitly truncated to unsigned type" warning on LP64.
2012-01-21 16:12:57 +00:00
jakllsch
ac76eeffdd
Add module glue. (Better late than never.)
2012-01-21 15:50:13 +00:00
tnozaki
dc7498df23
libintl crash when *.mo file lacks header section(old gettext format).
...
reported by jun@ -san, tested by tsutsui@ -san. thanks!
2012-01-21 13:35:49 +00:00
skrll
59437e1e60
Regen.
2012-01-21 12:53:04 +00:00
skrll
4f31939942
Add a bunch of Standard Microsystems devices.
...
From OpenBSD.
2012-01-21 12:50:28 +00:00
isaki
2d602d5f8b
Remove my (isaki@) acknowledgement.
2012-01-21 04:43:54 +00:00
isaki
e9bd047a2f
Switch mine to 2-clause license.
2012-01-21 03:01:03 +00:00
isaki
43fa5f922b
Clean up pow(4) (which I had removed in Nov 2011).
2012-01-21 02:52:50 +00:00
jmcneill
ebc0f994b4
reduce stack usage of stbi_gif_load_from_memory when STBI_SMALL_STACK is
...
defined
2012-01-20 23:13:47 +00:00
christos
c300185bd0
Merge the two Makefiles that were mostly copies of each others.
...
The reason to do this was to add support for cleaning up the config.cache
files when the build environment (as determined by uname -srm) changes.
2012-01-20 23:01:05 +00:00
jakllsch
c53184c92c
Ensure psshfs_node_read() completely reads all data before return.
...
Fixes file corruption in psshfs exposed with kernel MAXPHYS at 128KiB.
2012-01-20 22:07:58 +00:00
hannken
9a05b44bd8
Revert revision 1.4 and change LAPIC_LEVEL_ASSERT / _MASK back to 0x4000.
...
According to "Intel 64 and IA-32 Architectures Software Developer's Manual"
Vol. 3, May 2011, Order Number: 325384-039US, Section 10.6.1:
LEVEL_ASSERT is bit #14 , bit #13 is reserved.
With this change NetBSD now boots multiple processors under CentOS 6.2/kvm.
2012-01-20 18:47:04 +00:00
matt
eb7c56bacb
Remove output emulation.
2012-01-20 18:25:30 +00:00
joerg
0f5f511fae
Remove code for CITRUS!=yes.
2012-01-20 16:31:29 +00:00
tsutsui
6df52306d4
Invoke a shell script via ${HOST_SH} rather than assuming exec bits.
2012-01-20 15:06:47 +00:00
nonaka
9587ee6530
Kernel load address can be changed now.
2012-01-20 15:00:27 +00:00
joerg
e8bec33be1
Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressions
...
again. This was changed in sys/socket.h r1.51 to work around fallout
from the IPv6 aux data migration. It broke the historic ABI on some
platforms. This commit restores compatibility for netbsd32 code on such
platforms and provides a template for future changes to the CMSG_*
alignment. Revert PCC/Clang workarounds in postfix and tmux.
2012-01-20 14:08:04 +00:00
skrll
135f4f3872
Whitespace
2012-01-20 06:51:19 +00:00
skrll
e3b6e9cf05
Add a comment.
2012-01-20 06:50:00 +00:00