Commit Graph

226664 Commits

Author SHA1 Message Date
reinoud
69879e5797 Move the WDT register definitions to the C source to unclutter the directory 2014-04-19 15:30:41 +00:00
apb
7f226bea47 Set ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
instead of ac_install_sh="$ac_aux_dir/$ac_t -c"
in all configure scripts in the gcc/dist tree.
This ensures that the install-sh script is always run
under the correct shell.
2014-04-19 13:00:57 +00:00
matt
0d68f66d06 Normal memory is not poolpage memory unless poolpage memory is default memory. 2014-04-19 12:48:42 +00:00
matt
e5f2235165 Add PCI register definitions 2014-04-19 12:48:03 +00:00
matt
5a400bbb3d ldscript for ppc64 kernels 2014-04-19 12:46:04 +00:00
apb
441c2cf2f8 Use $(SHELL) to run move-if-change. 2014-04-19 12:41:31 +00:00
bad
89fef8a2c6 Add support for accelerated AES_CBC in ubsec(4) for BCM5823 and newer.
Update man-page and bump date.
Adjust OpenBSD RCS IDs to reflect roughly the version we are in sync with.
2014-04-19 12:29:24 +00:00
wiz
c07d6dcd59 At least event(3) looks better when passed through tbl(1), so set USETBL. 2014-04-19 08:03:21 +00:00
skrll
e396d66cd0 Deal in 4KB pages for vchiq regardless of ARM page size. 2014-04-19 07:28:18 +00:00
skrll
b34c39e100 Wrap a long line. 2014-04-19 07:17:21 +00:00
skrll
71007d3e1f Comment KNF 2014-04-19 07:10:31 +00:00
tsutsui
e2db4e9107 Note recent hp300 changes for HP9000/425e. 2014-04-19 06:20:51 +00:00
tsutsui
f21b045fdf Add RTC support for HP9000/425e to bootloader too.
Also put several cleanup:
- make local functions and variables static
- use proper variable types
- some KNF

Note it turns out that extreme slowness of netboot on hp300 is
caused by the too slow access of the traditional RTC chip at intio
(i.e. netboot on 425e is so much faster than others). Oh well.
2014-04-19 06:04:58 +00:00
tsutsui
0f84edae2d Add proper RealTime Clock support for HP9000/425e.
As the OpenBSD/hp300 page says 425e doesn't have the traditional
RTC at intio (as it also lacks DCA 16550 serial at intio?),
but after a few hour investigation it turns out that
425e uses mc146818 compatible calendar clock in
the Apollo "frodo" utility chip and the frodo chip on
425e actually has the 32kHz OSC and is actually backed up
by the onboard lithium battery.

Tested on HP425e (with mcclock) and HP362 (with old rtc).
2014-04-19 05:37:54 +00:00
tsutsui
8199d4f410 No need to use annoying HAVE_GCC to handle gcc48 m68k behavior chnages. 2014-04-19 00:55:37 +00:00
matt
20e97df7b4 Move xscale cpu_cpwait back from cpufunc_proto.ht to cpufunc.h 2014-04-19 00:33:24 +00:00
christos
dd5fdb3e67 unbreak gcc4.5 2014-04-19 00:04:12 +00:00
christos
28b2b22058 Include cpufunc_proto.h before locore.h so that we define cpu_cpwait first.
XXX: this is a mess.
2014-04-18 23:50:59 +00:00
bad
7fe4f31ad3 Rewrite the dmamap handling to allocate and cache the dmamaps beforehand.
Calling bus_dmamap_create/destroy is no longer possible in interrupt context.
Move the dmamaps to the end of struct ubsec_q so the rest of the struct
can be cleared with one call to memset().

As a bonus we get a 25% increase in throughput encrypting 8K blocks.
2014-04-18 22:25:58 +00:00
mlelstv
5d7b5c8e23 more unused variables. 2014-04-18 22:02:44 +00:00
christos
9b2bca8f70 add more places where attribute is valid. 2014-04-18 21:54:52 +00:00
christos
719ac47d5d provide a poor man's fmemopen() 2014-04-18 21:53:44 +00:00
mlelstv
a5784f964e include VGA kernel options 2014-04-18 21:45:22 +00:00
mlelstv
b41aa45759 handle unused variables 2014-04-18 21:44:43 +00:00
martin
dcdbdffa7e Explicitly clear p_md.md_flags for newer binaries. Fixes PR port-hppa/48755.
OK: skrll
2014-04-18 18:32:00 +00:00
matt
0bbe3a2196 ARMv6+ platforms no longer have strict alignment requirements. 2014-04-18 15:45:46 +00:00
christos
972d2857dd more conservative length check. 2014-04-18 15:00:37 +00:00
reinoud
cde9d04d20 Fix attachment of wdt to also use the bus_space_handle
While here, move the registers outside the global register file to a separate
wdt_reg.h file.
2014-04-18 14:32:49 +00:00
reinoud
d22dde71f6 Fix interrupt enable/disable and clearning bits
what was i thinking...
2014-04-18 14:18:33 +00:00
reinoud
37a2323bcc Oops, i forgot to commit this patch on the `teaching sscom to use attach with
bus_space_handle_t'
2014-04-18 14:17:11 +00:00
maxv
dc8c3423b2 'error' is not set on failure. This is a true bug: everything is freed
and unlocked while zero is returned. Since there's no error, execve_runproc()
will get called and will try to use those freed things.

PS: This bug was here before uebayasi@'s changes
2014-04-18 11:44:31 +00:00
reinoud
e96cab5d05 Second handle to bus_space_read_* is the bus_space_handle, not a repeat of the
bus_space_tag
2014-04-18 11:37:17 +00:00
uebayasi
a969a4cf8a calcargs: Correct the size of "argc" in the stack size calculation.
(The old code has worked because it is compensated by wrong size calculation
of "auxinfo" (multiplied by sizeof(void *)).)
2014-04-18 06:59:32 +00:00
matt
76cc6ae7a6 Use KERNEL_BASE_VOFFSET. s/bbs/bss
Move temp_l1_table to last 16KB before 128mb after kernel_base.
2014-04-18 06:53:13 +00:00
martin
71c0010c51 Fix PR kern/48550 by aligning the single instance of scsipi_read_cd_cap_data
that we found misaligned in the wild so far properly for the ahcisata
driver. Also point at PR kern/48754 for the real issue.
2014-04-18 06:23:32 +00:00
maxv
4a1b3781e1 Memory leak (only triggerable from root).
ok christos@
2014-04-18 05:22:13 +00:00
christos
f1ed7fe14d remove attribute keyword 2014-04-18 02:41:32 +00:00
christos
04a020c93e handle constant attribute 2014-04-18 02:41:17 +00:00
christos
903821805f lint has __alignof__ too. 2014-04-18 02:28:06 +00:00
christos
0d1cbc6a00 don't include fmemopen in tools builds. Since tools does not define
_NETBSD_SOURCE, we don't get the fmemopen prototype
2014-04-18 02:17:14 +00:00
christos
c8b1f28fd2 Never return the attribute keywords if we are not in attribute. 2014-04-18 01:39:57 +00:00
christos
1f0ca5f12c builtins only for NetBSD since fmemopen is not portable. 2014-04-18 01:18:54 +00:00
christos
31ce3096fd Add some builtins 2014-04-18 01:15:07 +00:00
christos
4730dabc79 Add -g (gnu) so lint recognizes __attribute__ 2014-04-18 00:37:46 +00:00
christos
687432e7a3 Handle the rest of gcc __attribute__ s. 2014-04-18 00:23:46 +00:00
christos
59bbfbb11d only fill memory with junk if BLKDEBUG 2014-04-18 00:21:14 +00:00
christos
a46cc2f317 handle LDOUBLE 2014-04-18 00:20:37 +00:00
pgoyette
282ceca326 Reference the correct test file name...
Hello again, xtos!
2014-04-17 23:15:27 +00:00
christos
20ba703761 make outname print where it came from in case of error 2014-04-17 18:52:03 +00:00
christos
a20e9a10c9 add new lint tests 2014-04-17 18:37:07 +00:00