Commit Graph

227155 Commits

Author SHA1 Message Date
msaitoh
9cf6f0064c Print the range of I/O, non-prefechable memory and prefechable memory. 2014-05-12 23:01:40 +00:00
uebayasi
5c6158b275 Comments. 2014-05-12 22:50:03 +00:00
christos
990290ead6 kill extra ) 2014-05-12 18:46:27 +00:00
jakllsch
b10becb14f revert previous; the 128 bytes is for the AMD64 redzone 2014-05-12 17:27:23 +00:00
christos
9fa500ed16 restore defaulting to the 'a' partition for booting with root on raid as
it was before, and explain why we do things this way.
2014-05-12 15:53:01 +00:00
christos
e1a6c348ed CID 1011266: Unchecked returns 2014-05-12 15:34:23 +00:00
christos
639c8a82b3 CID 978337: Fix resource leak 2014-05-12 15:33:12 +00:00
christos
03a5ccb524 CID 975238: Unchecked returns 2014-05-12 15:31:07 +00:00
christos
1e811e3015 CID 745411: Fix memory leak 2014-05-12 15:27:36 +00:00
christos
53c5be254e CID 745439: Fix memory leak 2014-05-12 15:25:49 +00:00
christos
c3e31f67e9 CID 745319: Checking the wrong variable for NULL. 2014-05-12 15:21:46 +00:00
christos
23e7e0b50d CID 745290: check return of fcntl 2014-05-12 15:20:41 +00:00
uebayasi
c260945c48 Don't reserve space (128) on signal stack for unknown reasons; the actual
space for struct sigframe_siginfo (+ alignment) is allocated just below.

Confirmed by the following tests:

	tests/lib/libc/gen/t_siginfo
	tests/lib/libc/sys/t_sigtimedwait
	tests/lib/libc/sys/t_sigaction
	tests/lib/libc/sys/t_sigqueue
2014-05-12 13:49:24 +00:00
joerg
cf336e5404 Match lapic conditionals from the primary CPU. 2014-05-12 11:56:02 +00:00
joerg
619e1e14cb buf is only used in the ioapic case. 2014-05-12 11:55:39 +00:00
msaitoh
4360fe3dc7 Use macro. 2014-05-12 11:51:35 +00:00
joerg
6837797dba acpi_md_findoverride is only used when NIOAPIC > 0, so don't provide it
otherwise.
2014-05-12 11:51:34 +00:00
msaitoh
569ea4de99 Fix newline problem which was added in previous commit. 2014-05-12 11:27:31 +00:00
uebayasi
9e475fde06 stmt;; -> stmt; 2014-05-12 09:01:34 +00:00
martin
256a2596c6 Belatedly adapt to changes in the code. 2014-05-12 08:47:49 +00:00
christos
b01c54e6f1 kill unused array split 2014-05-12 02:26:19 +00:00
wiz
8c54f70a11 Add An to authors. Wording. 2014-05-11 09:01:42 +00:00
skrll
21e6642529 Deal with incompatible cache aliases. Specifically,
- always flush an ephemeral page on unmap
- track unmanaged mappings (mappings entered via pmap_kenter_pa) for
  aliases where required and handle appropriately (via pmap_enter_pv)

Hopefully this (finally) addresses the instability reported in the
following PRs:

PR/44900 - R5000/Rm5200 mips ports are broken
PR/46890 - upcoming NetBSD 6.0 release is very unstable / unusable on cobalt qube 2
PR/48628 - cobalt and hpcmips ports are dead
2014-05-11 07:53:28 +00:00
joerg
2f1b7695c4 Support DWARFish unwind for ARM. 2014-05-11 02:07:35 +00:00
joerg
c8a1f8aef9 Provide a non-EHABI version of the mcount glue. 2014-05-11 02:02:14 +00:00
christos
58ced3d761 Add a history function that takes a FILE pointer; needed for Capsicum.
From Eitan Adler
2014-05-11 01:05:17 +00:00
reinoud
7e3e102eb9 Get the Odroid-U3 USB hub working! It now attaches and /lists all its children
like mouse etc.
2014-05-10 22:24:32 +00:00
reinoud
d1893a9057 Fix typo 2014-05-10 21:46:15 +00:00
reinoud
1de3e2a8fe The Odroids USB hub and Ethernet init are not to be done at the SoC level. 2014-05-10 21:10:27 +00:00
reinoud
195d57c9e9 No use in duplicating the frequency settings of mct and gtmr at two different
places.
2014-05-10 20:38:15 +00:00
reinoud
9f69e282d7 Implement evbarm_device_register_post_config() hook for odroid and its
decendents. This allows post attach actions on every level of the machine
support.
2014-05-10 20:24:06 +00:00
reinoud
0fbcec9162 Define and implement device_register_post_config() hook analog to the
device_register() hook.

Already found on sparc64 and librump. Tested compilation and running of
machines with and without the hook defined.
2014-05-10 20:12:16 +00:00
reinoud
0c655d2ae4 Add the missing ETC0, ETC6, ETC7, ETC8 `gpio' registers. They are special in
that they can't be set/unset nor configured. The only changeable parameters
are the pullups PUD and the DRV driving strength. They however fit the same
structure as the rest of the GPIOs and are used as such.
2014-05-10 19:31:00 +00:00
martin
9ce5f7726e Add a test case for PR kern/48787. 2014-05-10 14:15:25 +00:00
martin
b31205ebbb PR kern/48787: inode calculation from ISO9660 block offset might get
truncated to 32bit - force the whole expression to be evaluated as ino_t.
Patch from Thomas Schmitt, with minor modifications (and reworded comment).
2014-05-10 14:11:58 +00:00
reinoud
b0897aba81 refactor pin setting in odroid_device_register() to remove an indent
preventing potentional lots of line breaks due to the 80 char line limit.
2014-05-10 11:03:45 +00:00
reinoud
7035555b28 Change int->void
sorry about the noise
2014-05-10 10:47:17 +00:00
reinoud
cccf9bf285 Add exynos_gpio_pindata_ctl() analog to _pindata__read() and _pindata_write() 2014-05-10 10:46:25 +00:00
martin
062900c4c2 PR bin/48798: fix format for ino_t.
Slightly modifed variant of the patch provided by Thomas Schmitt.
2014-05-10 09:39:18 +00:00
christos
6f8fc9d1fc make this compile. 2014-05-09 23:26:36 +00:00
reinoud
dbbcc58682 Implement heartbeat LED using the new gpio subsystem 2014-05-09 22:21:46 +00:00
reinoud
18a9db9abf Rename blinkled to heartbeat since that is its function 2014-05-09 22:20:41 +00:00
reinoud
679cfa633a The mct runs at F_IN / XUSBXTI of 24 Mhz 2014-05-09 22:19:22 +00:00
reinoud
53eff1d429 Both Exynos4 and Exynos5 have a 24 Mhz external crystal that gets pumped up to
the required frequencies by PLL circuits.

USB freq. seems to be tied directly to this freq.
2014-05-09 22:16:56 +00:00
reinoud
bea9e0590d Rename led0 to led1 to be consistent with the linux distro 2014-05-09 22:02:10 +00:00
reinoud
5ad8bd1845 Implement gpio framework for the Samsung Exynos series.
Note that only the Exynos4 gpio registers are defined now and provision is
taken to allow for seamlessness adding of Exynos5 values.
2014-05-09 21:49:43 +00:00
jakllsch
aaace33d0e Enable AUDIO_PROP_MMAP in hdafg(4).
Addresses PR#48792 and PR#35961.
2014-05-09 20:10:49 +00:00
reinoud
1e00c92183 Use the constant for default interrupt provided by autoconf 2014-05-09 19:51:43 +00:00
reinoud
dbe8db6e99 Add GPIO register definitions
Also add the frequency for the USB system; its also used for various other
clocksources
2014-05-09 19:47:09 +00:00
reinoud
c2ff204e1a The EXYNOS4_I2C0_OFFSET is actually reffered to as additional GPIO space. 2014-05-09 19:44:06 +00:00