Commit Graph

118881 Commits

Author SHA1 Message Date
matt aa9225a891 Enable ARM_HAS_VBAR since the arm1176 has a VBAR register. 2013-06-22 15:50:17 +00:00
uebayasi a5c3b84db4 Use END() markers, etc. Pure ELF .symtab (size) changes. 2013-06-22 15:13:55 +00:00
kiyohara b43b39e4fd Calculate correct response from keyboard. Some machines responds ugly scan
code.
2013-06-22 13:53:30 +00:00
kiyohara a1068cf114 Series 5 avoids access into I/O space. I don't know this reason... 2013-06-22 13:36:16 +00:00
kiyohara cf4bed2213 Fix bus_space_{read,write}_region_2.
Remove bus_space_{read,write}_2.  ARM7 can't read/write half word access.
2013-06-22 13:32:54 +00:00
uebayasi f5da20f152 A few END() markers. 2013-06-22 13:09:07 +00:00
uebayasi cd0ee31666 Use END()/IDTVEC_END() to set ELF symbol size. Set some type info too. 2013-06-22 08:48:48 +00:00
uebayasi 7e04682e69 Define IDTVEC_END(), from i386/asm.h. 2013-06-22 07:31:36 +00:00
uebayasi ded13333fe Use END() to set ELF symbol size. Set some type info too. 2013-06-22 06:57:30 +00:00
uebayasi 5cbca21c58 Use END() to set ELF symbol size. Set local data type/size too. 2013-06-22 06:23:28 +00:00
uebayasi 368c73c552 Use END() to set ELF symbol size. Set local string type/size too. 2013-06-22 05:56:32 +00:00
matt e33c0c5662 Make sure dynamically allocated channel_queue struct are zero-filled. 2013-06-22 05:41:25 +00:00
matt 4aebfa28e6 When allocating the channel queue, make sure the return memory is zeroed. 2013-06-22 05:37:06 +00:00
uebayasi 93d35b4dc9 Use END() to set ELF symbol size. 2013-06-22 05:20:57 +00:00
uebayasi ffd5ab7c8e Use END() to set ELF symbol size. 2013-06-22 02:33:44 +00:00
matt 40509c5b49 Fix inverted logic for mapping exception vector. 2013-06-22 00:44:17 +00:00
matt 19f06ff237 File VBAR option 2013-06-22 00:35:31 +00:00
nakayama cd7b58e068 Avoid data_access_error trap panic when reading unused PCI
configuration space.

This method is described in UltraSPARC IIi User's Manual "16.2.1
Probing PCI during boot using deferred errors", and refer to the
implementation of OpenBSD.
2013-06-21 20:09:58 +00:00
matt 47a6ce0396 Add back {,u}modsi3 for libkern since if we are building standalone tools
we might be using the old ABI and might need them.
2013-06-21 05:06:24 +00:00
msaitoh 9a269949b1 Call brgpy specific autonego function in MII_TICK. Before this commit,
only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK calls MI
mii_phy_auto(). That was not intended.
2013-06-21 04:25:51 +00:00
uebayasi f1913dfefe Add END(y) as i386/asm.h does. 2013-06-21 02:47:06 +00:00
christos c38ef3a40f Add the ARM processor-specific sections:
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044e/IHI0044E_aaelf.pdf
2013-06-21 01:40:24 +00:00
christos 816452912b Initialize the rnd softint explicitly via a function late in main. Avoids
LOCKDEBUG panic since softint_establish() was called via wdcintr -> wddone
from an interrupt context and tried to acquire a non-spin mutex.
2013-06-20 23:21:41 +00:00
kiyohara b7205e502d Fix fault when 0 byte copy. 2013-06-20 15:30:00 +00:00
roy 3643d6b4fe Move the detaching and making tentative addresses out if in6_if_up
and into in6_if_link_up.

This fixes a possible panic where link is up but not the interface.
Note that a better solution would be to listen to the routing socket
in the kernel, but I don't know how to do that.

Reachable Router tests for IFF_UP as well.
2013-06-20 13:56:29 +00:00
kiyohara 350be3ed9f Add DE and FR keymap. 2013-06-20 13:42:02 +00:00
kiyohara 5ce0e79251 Support boothowto. 2013-06-20 13:40:09 +00:00
kiyohara 1cdab4cbb8 Support boot argument for kernel. 2013-06-20 13:36:48 +00:00
matt 7213984b98 modsi3/umodsi3 are only needed !EABI arm 2013-06-20 07:29:50 +00:00
matt 404129e876 more OMAP5 workarounds.
u-boot doesn't initialize the generic timer on the omap5430 evm properly.
so check to see if it's OK, and if not, initialize omap5 registers properly.
Pass the timer freq via properties to the armgtmr since we can't write the
cnt_frq cp15 register (which can be written in secure mode).
2013-06-20 05:39:19 +00:00
matt 8264309027 Pass the offset from CBAR/PERIPHBASE in mpcore_attach_args.
Modify the list of devices to include the offset(s) from PERIPHBASE.
2013-06-20 05:30:21 +00:00
matt 9f36a71d04 Set caching bits on the TTBR for ARMv7
Make sure TTCR is 0
2013-06-20 05:29:01 +00:00
matt 3f23a94515 More defintions for the OMAP5. 2013-06-20 05:27:31 +00:00
matt 222a05d71f Add support for the Cortex-A15 Neon/VFP unit 2013-06-20 05:24:46 +00:00
dholland 64912b9b11 blkoff() -> mfs_blkoff()
XXX: this shouldn't be using "mfs" for its symbols as we also have
XXX: sys/ufs/mfs.
2013-06-19 18:18:12 +00:00
dholland dab2b35444 blkoff() -> cd9660_blkoff()
blksize() -> cd9660_blksize()
2013-06-19 18:16:53 +00:00
dholland 4671554398 blkoff() -> filecore_blkoff()
blksize() -> filecore_blksize()
2013-06-19 18:16:10 +00:00
dholland bc706cd48f blkoff -> chfs_blkoff
blksize -> chfs_blksize
2013-06-19 18:15:35 +00:00
dholland de893df3a9 blkoff() -> ffs_blkoff() stragglers 2013-06-19 18:02:21 +00:00
dholland f1333577b5 Rename ambiguous macros:
MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE
   NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR
   INOPB -> FFS_INOPB, LFS_INOPB
   INOPF -> FFS_INOPF, LFS_INOPF
   blksize -> ffs_blksize, ext2_blksize, or lfs_blksize
   sblksize -> ffs_blksize

These are not the only ambiguously defined filesystem macros, of
course, there's a pile more. I may not have found all the ambiguous
definitions of blksize(), too, as there are a lot of other things
called 'blksize' in the system.
2013-06-19 17:51:25 +00:00
msaitoh 6e84bd64a6 Use ihphy(4) for I21[78]. 2013-06-19 15:30:25 +00:00
msaitoh 9d67fb768e Fix a bug that wrong semaphore is used in wm_gmii_hv_{read,write}reg. 2013-06-19 10:53:24 +00:00
msaitoh fce172c5e6 Add ECC support for the packet buffer. Only 82571 and I21[78] support ECC. 2013-06-19 10:38:51 +00:00
msaitoh f96c92e089 Fix some bugs on I21[78] to make those devices stable. 2013-06-19 10:27:08 +00:00
macallan 94cfee8919 add store-with-clamp instructions 2013-06-19 00:41:16 +00:00
matt deac5f4fa6 Add OMAP5 reset code. 2013-06-18 23:40:38 +00:00
matt cfb22ade04 Add OMAP5_PRM_RSTCTRL definition 2013-06-18 23:39:44 +00:00
matt 76e7e7475e Add AHCI OMAP5 address 2013-06-18 22:41:03 +00:00
christos cfb6f1d55b xorg's pixman-arm-neon-asm-bilinear.S wants to include this file, so make
it safe for the assembler, by eliding the only c declaration in it.
2013-06-18 20:17:19 +00:00
christos 855bb66ef7 Prefix most of the cpp macros with lfs_ and LFS_ to avoid conflicts with ffs.
This was done so that boot blocks that want to compile both FFS and LFS in
the same file work.
2013-06-18 18:18:57 +00:00