Commit Graph

219494 Commits

Author SHA1 Message Date
martin
6caac9d0e7 Rearrange to make lint deal with it (to unbreak the build).
Someone please (1) fix lint and then (2) back this out ;-)
2013-06-30 10:07:43 +00:00
matt
1729cd5b7e For O32, don't save $gp on the stack, save $s0 instead and just keep $gp
in $s0.
2013-06-30 08:00:34 +00:00
matt
138bf8b9ef When opening a ttys files, try path.<machine> first. This helps
machine archs which have multiple ttys files (arm, mips, powerpc, m68k, sh3)
2013-06-30 07:50:54 +00:00
rmind
f304ff8667 Welcome to NetBSD 6.99.23: pfil(9) changes. 2013-06-30 00:00:53 +00:00
christos
3a4a09ca06 one copy of the name is enough, and free it. 2013-06-29 23:06:29 +00:00
christos
18c826e11c declare the variables that getnfsargs need in getnfsargs so that they can
easily be used from other programs.
2013-06-29 22:56:26 +00:00
christos
da960e0858 Use the protocol we mounted the filesystem with instead of always udp.
(untested, but should fail back to udp).
2013-06-29 22:53:04 +00:00
rmind
f04a92b1d6 - Rewrite parts of pfil(9): use array to store hooks and thus be more cache
friendly (there are only few hooks in the system).  Make the structures
  opaque and the interface more strict.
- Remove PFIL_HOOKS option by making pfil(9) mandatory.
2013-06-29 21:06:57 +00:00
matt
1d832de058 am335x_cpu_clk is now am335x_sys_clk and am335x_cpu_clk and they are now
in <arm/omap>.
2013-06-29 20:44:52 +00:00
matt
3110b17134 Move am335x_sys_clk() and am335x_cpu_clk() here. 2013-06-29 20:43:33 +00:00
reinoud
052045ad4c Small rewording of the examples section. 2013-06-29 20:41:47 +00:00
matt
e3a4186fcc Add code to allow changing the cpu frequency.
XXX the sysctl_createv fails for "current" with ENOENT.
2013-06-29 20:21:41 +00:00
matt
7e2219404b Add a prcm_bootstrap(bus_space_handle_t) so that early bootstrap code can use
prcm_read_4 and prcm_write_4.
2013-06-29 20:20:17 +00:00
matt
1abd5b053f Make the softc static. Add a prcm_bootstrap(bus_space_handle_t) so that
early bootstrap code can use prcm_read_4 and prcm_write_4.
2013-06-29 20:19:54 +00:00
rmind
795c936845 sy_invoke: cache the predicate value and simplify the logic (also, fix the
tab/space mess while here).
2013-06-29 16:50:51 +00:00
rmind
7ae1c4ed1b libkern: add murmurhash module. 2013-06-29 16:02:01 +00:00
christos
865e3e8f40 PR/47973: Justin Cormack: build uses <sys/signal.h> not in POSIX 2013-06-29 15:19:32 +00:00
jdf
ddd897e067 Added entries: BIOS, DP, DVI, HDMI
Changed entries: BIOS, CGA, DDWG, DP, DVI, EGA, HDCP, HDMI, MCGA, MDA, OQL,
                 RAID, RDF, SMBIOS, SVGA, VESA, VGA, XGA

Patch supplied by Bug Hunting.
2013-06-29 12:22:48 +00:00
wiz
0504958a89 Improve wording. 2013-06-29 08:14:31 +00:00
mlelstv
9adb142f7d Change to home directory only after setting the full user context
to avoid issues with NFS or other user-mapped mounts that don't
give root the privilege to chdir there.
2013-06-29 05:08:35 +00:00
yamt
006f500d6a add "maxthread" tunable to login.conf to adjust RLIMIT_NTHR.
PR/47626
ok'ed by christos
2013-06-29 04:52:55 +00:00
matt
75db6d9605 Add sysctl 2013-06-28 22:13:56 +00:00
he
626b3edbd1 Bump the INSTALL ramdisk by 100k so that the contents fits again.
Approved by nonaka@
2013-06-28 19:24:28 +00:00
christos
8e33b891d8 prevent re-entry race and crash 2013-06-28 17:36:18 +00:00
christos
7807c80061 Prevent buffer overflows; reported by Maxime Villard 2013-06-28 17:20:15 +00:00
matt
d2b8f70ecf Make this compile again. 2013-06-28 17:13:34 +00:00
matt
ee9af514b0 Remove duplicate define of LFS_MAXNAMLEN 2013-06-28 16:14:06 +00:00
christos
b4e74c76f9 fix wrong variable check, remove casts
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:48:02 +00:00
christos
c22fbb82f6 remove useless initialization, KNF
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:46:37 +00:00
matt
741c872fa1 Use ANSI C string concatenation 2013-06-28 15:44:27 +00:00
matt
93e2a02e4a Use a multiple of 256 for the size. 2013-06-28 15:38:56 +00:00
christos
348fd11f73 remove useless initialization
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:34:21 +00:00
christos
9a402121dd delete useless initialization
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:33:40 +00:00
christos
ed4feda3aa don't store random values in retval
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:32:20 +00:00
htodd
e6214e0872 Bump MEMORY_DISK_ROOT_SIZE to fix build. 2013-06-28 15:32:07 +00:00
htodd
7cea4ceb0f Bump imagesize to fix build. 2013-06-28 15:31:26 +00:00
christos
dfa91fc437 this could have never worked. Cleanup bogus code.
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:26:57 +00:00
joerg
9e69720425 Fix violations of the sequence point rule. 2013-06-28 15:04:35 +00:00
christos
b9bf0e6c5d prevent memory leak on error
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 14:49:14 +00:00
christos
d4897af65e avoid undefined behavior
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 14:48:17 +00:00
christos
8acb1eb6b2 Fix the non-thunderbolt case. XXX: Is that right even?
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 14:46:44 +00:00
christos
92ee2313b4 fix uninitialized pointer. This could have never worked.
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 14:44:15 +00:00
christos
8d515abca4 undefined behavior, buffer overflow
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 14:42:31 +00:00
jakllsch
9e60c83703 Print the ioapic version using unambiguous base.
From Felix Deichmann.
2013-06-28 14:31:49 +00:00
reinoud
cb0bc59d6c Add the rumpfs_udf to the LDADD variable 2013-06-28 13:04:06 +00:00
mrg
64daf2467d re-run mknative-gcc. pickups fixes for ENABLE_SHARED (which
might want to be pulled up to netbsd-6?), removes the
entirely wrong -I/usr/include/libelf from various include flags
and fixes for when NEWCONFIGDIR != NETBSDSRCDIR.

i should fix PR 47955 but i haven't setup a system to test.
2013-06-28 12:45:01 +00:00
wiz
a87a4e005d Prefer Aq to \*[Lt] etc. 2013-06-28 10:13:18 +00:00
mrg
9b70ac591a pass both NEWCONFIGDIR and NETBSDSRCDIR to mknative-gcc. 2013-06-28 08:30:10 +00:00
roy
aaccc84c03 If we die and there are no timers, just exit. 2013-06-28 07:59:32 +00:00
msaitoh
6c7aa7e063 The default of hpcarm's MACHINE_ARCH is arm. 2013-06-28 06:17:37 +00:00