Commit Graph

224129 Commits

Author SHA1 Message Date
martin 69dbea1fd5 Add raid disk nodes for the install images 2014-01-24 23:59:12 +00:00
matt bf70954af3 Fix awk programs to use $$ so make doesn't eat each $ 2014-01-24 23:42:31 +00:00
christos 7c188f0050 remove useless flag mangling. It is done already. 2014-01-24 23:20:33 +00:00
christos 7fd72dacf4 need to lock the process. 2014-01-24 22:44:00 +00:00
christos dab0adecf2 It is wishful thinking that vn_readdir will return dirent12 structures. 2014-01-24 22:11:46 +00:00
christos e0277e0438 sigaction until 1.4 had an int sigmask, don't trash the stack. 2014-01-24 22:10:47 +00:00
christos 76f776f138 Fix locking botch, and ...
Yes, we want to be careful because the sizes are different.
2014-01-24 22:10:09 +00:00
christos 115b322731 CID 1164169: integer overflow 2014-01-24 17:30:18 +00:00
christos c5e15b0d42 CID 1163170, 1164171, resource leak
CID 1161172 double free
2014-01-24 17:26:18 +00:00
pgoyette ed85bc8507 As requested by mrg@, since there is still a small window during which
the in-module ref-counting can fail, completely disable auto-unload.
2014-01-24 15:11:09 +00:00
joerg f1ec592d28 Import compiler-rt r200007. Use .size on all assembler functions.
Reimplement ARM division based on Matt Thomas's common version.
2014-01-24 14:52:00 +00:00
martin e735759761 Slightly bump ramdisk size, so the content fits even when compiled with
gcc 4.8 (usually binaries are smaller or same size, this increase is
strange)
2014-01-24 12:19:10 +00:00
bouyer 09a234bd9b Support WSDISPLAYIO_GETCMAP/WSDISPLAYIO_PUTCMAP. Tested on evbmips/loongson 2014-01-24 12:16:10 +00:00
bouyer 7d0aaf03d2 Snapshot of work in progress:
Add support xorg wsfb driver. Tested on evbmips/loongson
2014-01-24 12:11:40 +00:00
manu 32ccd9f248 Add ATAIOCCOMMAND ioctl form COMPAT_NETBSD32
This enables SMART monitoring by a netbsd32 binary.
2014-01-24 10:41:07 +00:00
skrll b8d67b7599 Load the magic into the right register for the comparison in _longjmp 2014-01-24 10:19:18 +00:00
skrll 34f60c5f1d Be consistent about setting fpscr for Runfast. No functional change. 2014-01-24 08:26:39 +00:00
matt ccf6e9600c Deal with writing bswapped com registers at COM_MULT register widths. 2014-01-24 05:14:11 +00:00
matt 9edda5b171 Add a flag so the xputc will bswap registers. 2014-01-24 05:13:06 +00:00
matt 7cf0803d31 Replace copyright with TNF
Clear upper 4 bits of pc-relative offset for uboot_args since .start is
1GB below .text so we can access using the load address, not the KERNEL_BASE
address.
2014-01-24 04:19:10 +00:00
matt 9b011a7309 After loading the pc-relative offset, clear the upper the 4 bits incase
.start starts at a different address than .text (bcm56340).
2014-01-24 04:15:33 +00:00
hkenken 0e133e1d61 use initarm_common() 2014-01-24 02:06:03 +00:00
christos 602665c71e add missing library 2014-01-24 01:10:22 +00:00
christos ebf25783a1 add debuglibs 2014-01-24 01:09:59 +00:00
christos 59c0cfef13 fix typo 2014-01-24 01:09:40 +00:00
christos 49a87ab418 remove bogus comment, we are not working around an assembler issue. 2014-01-24 00:20:54 +00:00
christos 9db3fbf52f Checking _LP64 to determine the size of the built binary is just wrong. We
build n32 by default on mips64 now, we don't handle the compat build which
is n64. This is the same case for sparc64/sparc and amd64/i386 (lint does
not run in compat)
2014-01-24 00:17:33 +00:00
szptvlfn 555f4359cf + szptvlfn. 2014-01-23 22:52:15 +00:00
apb 9c0097bee2 Remove time= keywords from METALOG.sanitised.
The times add unnecessary differences to the DESTDIR trees for MKREPRO
builds, and they are not needed by anything.  (maketars, the chief
consumer of METALOG.sanitised, explicitly ignores the time fields.)

Also factor out some duplicated code and update comments.
2014-01-23 21:45:27 +00:00
jklos 72da815343 Removed MAXBSIZE. Cleared with Anders Magnusson and tested myself. 2014-01-23 21:37:09 +00:00
martin cbef27aa7b Compile the armv4 cpufunc file with -mcpu=arm8 instead of arm9, to avoid
an armv4t marked object file which causes failure in the shark objcopy
step when creating the a.out version of the kernel.
2014-01-23 20:58:55 +00:00
matt 0c809df700 For armv7, CPU_CONTROL_UNAL_ENABLE is MBO/SBPO.
Make sure CPU_CONTROL_EX_BEND is set for big endian kernels.
Don't clear bits we aren't setting.
2014-01-23 19:28:47 +00:00
matt 17746e8d39 Add a few small changes so that the CUBIEBOARDs can run big endian. 2014-01-23 19:26:55 +00:00
njoly bd88ba8ba1 Fix inverted pid/lid arguments in do_sched_{get,set}param calls. 2014-01-23 19:18:08 +00:00
skrll 7ca5df3ef3 Fix typo in #define name 2014-01-23 17:44:13 +00:00
msaitoh 4317f499b1 Add comments and KNF. No functional change. 2014-01-23 17:43:28 +00:00
skrll c92b6b82d2 Pass PCU_LOADED to pcu_state_load in the "this CPU already has our PCU
state loaded" of pcu_load.

ok, gimpy@ and rmind@
2014-01-23 17:32:03 +00:00
msaitoh a11dbb6a11 Add entry for Intel Quark X1000 UART. 2014-01-23 17:21:06 +00:00
skrll 3468e012de Fix eraseo from yesterday 2014-01-23 16:35:20 +00:00
wiz 5a90ecf827 New sentence, new line. Sort sections. Remove superfluous Pp.
Add missing .El.
2014-01-23 15:17:59 +00:00
joerg eecb404dbe Mark offtab_bug[x] as dead. 2014-01-23 14:17:05 +00:00
joerg abc73d3e55 Unbreak clang build. Hi xtos. 2014-01-23 14:14:23 +00:00
wiz acfab9e197 Spell out month name. 2014-01-23 14:12:38 +00:00
joerg 4a937800dd Support LLVM build. 2014-01-23 14:06:28 +00:00
joerg 29cb017282 Apply diagnostic overwrite for clang too. 2014-01-23 13:41:58 +00:00
joerg ebb76e629b Force consistent alignemnt of _Unwind_Exception with libgcc_s. 2014-01-23 13:30:38 +00:00
ryoon eb9e4d7489 Add urndis(4), bump date, and copyright year 2014-01-23 13:05:04 +00:00
hkenken 2ce1224c19 use ukbd_cnattach() 2014-01-23 12:23:20 +00:00
martin 4bb25a32b9 PR port-arm/48543: do provide __ffssi2 as strong alias (in case libgcc.a gets
not linked in) for now.
OK: skrll@
2014-01-23 11:45:46 +00:00
manu 4d40320e92 Fix netbsd32 compatibility bug in kevent()
The keo_put_events() callback copies the events from kernel to userland.
It is called for sets of up to 8 events (constant chosen in kevbuf
definitition in kevent1()). The callback is called with pointer to userland
buffer, count of events to copy, and an index parameter which tracks where
we are in userland buffer when called multiple time.

COMPAT_NETBSD32's flavor of keo_put_events() is netbsd32_kevent_put_events().
It did not honour the index parameter, which caused invalid event data to
be returned when userland requested more that 8 events. This caused many
reliability problems, and the obvious startup crash of dovecot log process
when it accessed udata in the nineth event in its buffer, which was NULL.
2014-01-23 10:50:14 +00:00