Commit Graph

177333 Commits

Author SHA1 Message Date
lukem 293645aa72 sign-compare fixes 2009-01-25 14:25:27 +00:00
lukem 114b3fb343 sign-compare fix 2009-01-25 14:22:52 +00:00
lukem 4a566726c2 sign-compare fix for amd64 2009-01-25 14:18:21 +00:00
lukem 1742612d3c sign-compare fix for amd64 2009-01-25 14:07:18 +00:00
lukem d4bbf23d28 sign-compare fixes 2009-01-25 14:06:00 +00:00
lukem 540d0089bd sign-compare fix 2009-01-25 13:40:05 +00:00
veego 1ac066df3f Print size_t values using %zu printf format, not %ld
Thanks to Havard (and Matt Thomas) for pointing that out.
2009-01-25 13:38:17 +00:00
he 80506ca579 As Matt Thomas points out, %zu, not %zd, is the correct format
for size_t, since it's unsigned.
2009-01-25 13:31:58 +00:00
yamt f4fa6bbef9 bump VMEM_HASHSIZE_MAX from 8192 to 65536. 2009-01-25 13:08:56 +00:00
martin 2d73fb8ebd On SMP kernels, if -1 is passed as boot arg, only use the boot cpu.
This is mostly intended as a debugging tool.
2009-01-25 10:37:15 +00:00
lukem 525b9d1b49 sign-compare fixes 2009-01-25 10:13:18 +00:00
cyber 23dc01f7e9 Properly handle empty data nodes (such as generated by Apple's
plist editor). They are in the form of <data></data>, whereas the
original code path only checked for empty being <data/>.

This causes an assert to be triggered when trying to access the node's
content.

Patch reviewed by thorpej.
2009-01-25 06:59:35 +00:00
rmind 5a84a46b8c mutex_vector_enter: few predictions. 2009-01-25 04:45:14 +00:00
nisimura 0ec9d4427f Some fixes and a bit consistency.
- naming practice of reverse endian PCI register access macros.
- kse.c, errors in P1SR access and P1CR4 definition.
- nvt.c, redundant device ID check.
2009-01-25 03:39:28 +00:00
christos d2ebfa6451 PR/40471: Pierre Pronchery: ASUS CUR-DLS board found on HP NetServer E800 box
has broken ACPI BIOS. Disable it.
2009-01-25 02:26:30 +00:00
agc ccc9f1a9af Make this compile after the last lint corrections 2009-01-25 01:49:20 +00:00
christos f7636e0eb3 fix casts. 2009-01-25 01:22:42 +00:00
dsl b294f6c2a3 Fix sense of MAKE_NATICE test. 2009-01-24 23:19:50 +00:00
dsl 4802ea584f Add #ifndef MAKE_NATIVE around __RCSID 2009-01-24 23:07:48 +00:00
rmind 66063c53a6 Set l_psid to PS_NONE for lwp0 (consistency change). 2009-01-24 22:42:32 +00:00
abs 7896e124da Move ATARITT and FALCON to the main list of kernels 2009-01-24 22:33:39 +00:00
rmind 6d73ddd355 Revert path of modules back to "/stand". 2009-01-24 22:14:44 +00:00
christos 3048e3cf13 add glue to compile all the files we use from libc here. 2009-01-24 22:11:45 +00:00
abs 1f13a9d79a - Sync atari sysinst install kernel list with reality:
- BOOT reanamed to SMALL030
  - ATARITT and FALCON were missing
- Update release notes to kernel list and also clarify Milan kernels
2009-01-24 21:20:22 +00:00
christos 1449463f65 try to fix the mess of headers:
- including each other
- calling non types _t
- doing forward enum declarations
- trailing , in enum
- some lint annotations
2009-01-24 19:55:33 +00:00
christos eb0c1ab347 small cleanups:
1. lint annotations
2. some size_t
3. remove silly breaks
2009-01-24 19:42:20 +00:00
bouyer e89f64026e Properly check the return value of HYPERVISOR_memory_op(): it returns
the number of successfull operations, so a return value of 0 is also
a failure.
2009-01-24 19:03:12 +00:00
he 0dc03e2d81 Follow up the rename of BOOT to SMALL030, and the removal of BOOTX. 2009-01-24 18:15:16 +00:00
plunky 8d16a25319 The "Service Availability" value in the SDP record should be a number
from 0-255 indicating how much availability the service has, rather
than the "Load Factor (0-7)" as used in the "Class of Device" setting.
2009-01-24 17:29:28 +00:00
bouyer eaacdf9387 Note Xorg support for alpha 2009-01-24 17:26:58 +00:00
bouyer 7e113f2eda Add support for X11FLAVOUR=xorg to NetBSD/alpha. Tested on PWS500
(ev56, handled as non-BWX by Xorg) and XP1000 (ev6, BWX). Also
tested by Rafael Ruiz on a AlphaStation 255 (thanks !).
non-PCI adapters are not supported; someone should make these work
as a wsfb device.
2009-01-24 17:24:52 +00:00
cegger 3334d8c83e add bwi(4) 2009-01-24 15:49:14 +00:00
skrll 51241d8bac Mention -c. Hi Matt. 2009-01-24 15:00:55 +00:00
dsl 97347d2cbb Fixes to includes of make_malloc.h to that it actually builds when
USE_EMALLOC is undefined.
Fixes earlier fixes :-)
2009-01-24 14:43:28 +00:00
haad 7c83fa3718 Add dm driver to ALL kernel. 2009-01-24 14:19:04 +00:00
cegger e7239fcd13 add age(4) and atphy(4).
Requested by cube@
2009-01-24 14:11:07 +00:00
tsutsui 52275243c5 WARNS=1 2009-01-24 13:58:21 +00:00
he e724c6a64d Add an entry for the recently added ./kernel directory tree. 2009-01-24 13:53:56 +00:00
tsutsui 4f5defc8b9 Remove the \n and tab from the __COPYRIGHT() strings to appease asm warnings. 2009-01-24 13:43:21 +00:00
cegger 9fde1a673e buildfixes for OSX:
- include <sys/types> for size_t
- progname is undeclared
- include <string.h> for string functions like strlen()
- include <errno.h> for errno
2009-01-24 13:06:16 +00:00
wiz 6942778bea Sort sections. Fix typo (last line). 2009-01-24 13:02:33 +00:00
wiz 0aec71a9f5 Fix typo. 2009-01-24 13:00:03 +00:00
cegger e6227c556c buildfix: remove RCSID. It conflicts with the definition in the .c files. 2009-01-24 12:59:51 +00:00
he 6568aa2748 No, our openssl _encrypt routines do not take a *size_t as the 6th
argument, they take an *int, and those are not necessarily compatible.
Papering that over with a cast just gets us a warning that
de-referencing a type-punned pointer will break strict-aliasing
rules, which is turned into an error by our WARNS setting.

Instead, change the "num" field in _opt_crypt_t from size_t to int, and
get rid of the now-redundant casts.
2009-01-24 12:51:11 +00:00
he 5d08264428 Define IPL_SOFTSERIAL and provide a makeiplcookie() implementation,
so that kern/subr_pool.c can build again.

OK'ed by martin@
2009-01-24 12:34:04 +00:00
he 99bb07565a Print size_t values using %zd printf format, not %d. 2009-01-24 12:07:44 +00:00
dsl 4fb693c12c Move the bmake_malloc() functions into their own .c and .h files.
Include instead of make.h in a few places.
2009-01-24 11:59:39 +00:00
dsl 5d04927c08 Correct the definition of the :? modifier - in particular the modifier
applies to the variable name, not its value!
Remove the set of examples that were recently added that failed to
explain why some worked and some didn't.
Add a not to the compatability section about the change in .for loop
substitution post 5.0.
Add a BUGS section.
XXX the BUGS section needs more entries :-)
2009-01-24 11:56:41 +00:00
dsl a1e84ff783 Don't cast 'time_t' to 'void *' and back it will lose precision. 2009-01-24 10:59:09 +00:00
wiz f8ab4d2651 New sentence, new line. 2009-01-24 10:45:44 +00:00