Home | History | Annotate | Download | only in hpcarm
History log of /src/sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c
RevisionDateAuthorComments
 1.33  12-Oct-2023  skrll Fix non-DIAGNOSTIC builds
 1.32  03-Aug-2023  mrg ignore "-Warray-bounds" for various low level platform code that knows
how something is setup but technically is undefined behaviour. the
most common here is "extern int end;" and then using offsets of "&end"
that are outside the bounds of this 4-byte integer.

these uses are almost certainly all OK in reality.

found by GCC 12.
 1.31  20-Apr-2023  skrll Provide a shared pmap_devmap implementation and convert all pmap_devmap
arrays to use DEVMAP_ENTRY{,_END}
 1.30  17-Aug-2021  andvar branches: 1.30.4;
fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.
 1.29  18-Apr-2020  skrll PMAP_DEBUG has been deleted on arm
 1.28  18-Apr-2020  skrll Trailing whitespace
 1.27  16-Jul-2019  skrll branches: 1.27.8;
Consistently use vaddr_t as initarm and friends return type.

Makes no difference to binaries except for aarch64 where it's required
 1.26  16-Jul-2019  skrll KNF
 1.25  28-Oct-2018  skrll Fix a commit
 1.24  06-Nov-2017  christos branches: 1.24.2; 1.24.4;
Cleanup and clarify the ELFSIZE mess:

We now have 2 variables automatically set in elf_machdep.h:

ARCH_ELFSIZE: the size for userland binaries
KERN_ELFSIZE: the size for the kernel binaries

DB_ELFSIZE has been deleted and KERN_ELFSIZE should have always the
same values DB_ELFSIZE used to have.

In sys/exec_elf.h, if ELFSIZE is not set, it is set to KERN_ELFSIZE
for the kernel and ARCH_ELFSIZE for userland. These defaults should
eliminate the need for most manual ELFSIZE setting.
 1.23  22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.22  13-Sep-2014  matt branches: 1.22.2; 1.22.4;
Use paddr_t for msgbufphys
 1.21  11-Mar-2014  ozaki-r Remove unused variable found by gcc 4.8
 1.20  26-Aug-2013  matt Include <arm/locore.h>
 1.19  22-Sep-2012  matt branches: 1.19.2;
Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead
but add a second argument to it to indicate whether the TLB/caches need to be
flushed. Default cortex to pmap_needs_fixup = 1. But check the MMFR3 field
to see if the fixed can be skipped.
Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 1)
or enabeld (bit = 0).

With these changes, the A9 MMU can use traverse caches to do MMU tablewalks
Also, make sure all memory has the shareable bit for the A9.
 1.18  16-Aug-2012  matt branches: 1.18.2;
Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
<arm32/machdep.h>
Move the extern for cpu_reset_address to the same file.
Add cpu_reset_address_paddr.
Kill cpu_reset_v4_MMU_disable.
if cpu_reset_address is NULL, then the MMU will be disabled.
 1.17  03-Aug-2012  matt include <arm/arm32/machdep.h>
 1.16  29-Jul-2012  matt Fix more -fno-common fallout.
Move more variables to common locations.
 1.15  31-Mar-2012  nonaka Add support kloader(4) for PXA2X0.
 1.14  05-Mar-2012  nonaka increase kernel VM space.
fixed problem can't boot on WS011SH (probably other 128MB RAM model too).
 1.13  19-Jul-2011  dyoung branches: 1.13.2; 1.13.6; 1.13.8;
Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark hpcarm/bus.h obsolete.
 1.12  30-Jun-2011  wiz dependant -> dependent
 1.11  23-Jun-2011  nonaka Delete unused define.
 1.10  21-Jun-2011  kiyohara Split pxa2x0_hpc/wzero3.
 1.9  14-Jun-2011  kiyohara Remove not effective call for pxa2x0_*_bootstrap().
 1.8  26-Jun-2010  tsutsui branches: 1.8.2; 1.8.8;
If options RTC_OFFSET is not specified use bootinfo->timezone passed
by hpcboot.exe as well as other hpc* ports. Noticed by uwe@.
Also comment out options RTC_OFFSET=0 lines and note about this
in kernel config files. Tested on WS003SH.

XXX: dup code among pxa2x0_hpc_machdep.c and sa11x0_hpc_machdep.c
 1.7  13-May-2010  nonaka branches: 1.7.2;
Added touchpad driver for WS003SH.
 1.6  09-May-2010  nonaka Added touchpad driver for WS007SH.
 1.5  29-Apr-2010  nonaka branches: 1.5.2;
fix indent.
 1.4  29-Apr-2010  nonaka use platid_match().
 1.3  29-Apr-2010  nonaka WS003SH is normally reseted.
 1.2  24-Apr-2010  nonaka The capacity of RAM is decided according to the model.
 1.1  17-Apr-2010  nonaka Added Sharp W-ZERO3 series support.
 1.5.2.3  17-Aug-2010  uebayasi Sync with HEAD.
 1.5.2.2  30-Apr-2010  uebayasi Sync with HEAD.
 1.5.2.1  29-Apr-2010  uebayasi file pxa2x0_hpc_machdep.c was added on branch uebayasi-xip on 2010-04-30 14:39:25 +0000
 1.7.2.3  03-Jul-2010  rmind sync with head
 1.7.2.2  30-May-2010  rmind sync with head
 1.7.2.1  13-May-2010  rmind file pxa2x0_hpc_machdep.c was added on branch rmind-uvmplock on 2010-05-30 05:16:51 +0000
 1.8.8.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.8.2.2  11-Aug-2010  yamt sync with head.
 1.8.2.1  26-Jun-2010  yamt file pxa2x0_hpc_machdep.c was added on branch yamt-nfs-mp on 2010-08-11 22:52:06 +0000
 1.13.8.1  08-Mar-2012  riz Pull up following revision(s) (requested by nonaka in ticket #94):
sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c: revision 1.14
increase kernel VM space.
fixed problem can't boot on WS011SH (probably other 128MB RAM model too).
 1.13.6.2  05-Apr-2012  mrg sync to latest -current.
 1.13.6.1  06-Mar-2012  mrg sync to -current
 1.13.2.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13.2.2  30-Oct-2012  yamt sync with head
 1.13.2.1  17-Apr-2012  yamt sync with head
 1.18.2.3  03-Dec-2017  jdolecek update from HEAD
 1.18.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.18.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.19.2.2  18-May-2014  rmind sync with head
 1.19.2.1  28-Aug-2013  rmind sync with head
 1.22.4.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.22.2.1  05-Feb-2017  skrll Sync with HEAD
 1.24.4.3  21-Apr-2020  martin Sync with HEAD
 1.24.4.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.24.4.1  10-Jun-2019  christos Sync with HEAD
 1.24.2.1  26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.27.8.1  20-Apr-2020  bouyer Sync with HEAD
 1.30.4.1  14-Oct-2023  martin Pull up following revision(s) (requested by skrll in ticket #411):

sys/arch/evbarm/nslu2/nslu2_machdep.c: revision 1.41
sys/arch/evbarm/gumstix/gumstix_machdep.c: revision 1.75
sys/arch/evbarm/iq80321/iq80321_machdep.c: revision 1.66
sys/arch/iyonix/iyonix/iyonix_machdep.c: revision 1.34
sys/arch/zaurus/zaurus/machdep.c: revision 1.52
sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c: revision 1.41
sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c: revision 1.33
sys/arch/evbarm/iq80310/iq80310_machdep.c: revision 1.96
sys/arch/evbarm/adi_brh/brh_machdep.c: revision 1.53
sys/arch/arm/include/arm32/pmap.h: revision 1.177
sys/arch/evbarm/viper/viper_machdep.c: revision 1.34
sys/arch/evbarm/iyonix/iyonix_machdep.c: revision 1.5
sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c: revision 1.30
sys/arch/evbarm/hdl_g/hdlg_machdep.c: revision 1.35
sys/arch/arm/arm32/pmap.c: revision 1.440
sys/arch/evbarm/lubbock/lubbock_machdep.c: revision 1.45
sys/arch/evbarm/ixdp425/ixdp425_machdep.c: revision 1.47

Fix non-DIAGNOSTIC builds

RSS XML Feed