summaryrefslogtreecommitdiffstats
path: root/hw/arm/armv7m.c
Commit message (Expand)AuthorAgeFilesLines
* Replace TARGET_WORDS_BIGENDIANMarc-André Lureau2022-04-061-1/+1
* hw/arm/armv7m: Handle disconnected clock inputsPeter Maydell2022-02-211-4/+22
* hw/armv7m: Fix broken VMStateDescriptionPeter Maydell2022-01-281-2/+2
* hw/arm/armv7m: Create input clocksPeter Maydell2021-09-011-0/+23
* arm: Move system PPB container handling to armv7mPeter Maydell2021-09-011-1/+99
* arm: Move systick device creation from NVIC to ARMv7M objectPeter Maydell2021-09-011-0/+125
* arm: Move M-profile RAS register block into its own devicePeter Maydell2021-09-011-0/+12
* target/arm: Allow board models to specify initial NS VTORPeter Maydell2021-06-031-0/+7
* Do not include exec/address-spaces.h if it's not really necessaryThomas Huth2021-05-021-1/+0Star
* Do not include cpu.h if it's not really necessaryThomas Huth2021-05-021-1/+0Star
* qtest: delete superfluous inclusions of qtest.hChen Qun2021-03-091-1/+0Star
* hw/arm/armv7m: Correct typo in QOM object namePeter Maydell2020-12-101-1/+1
* hw/intc/armv7m_nvic: Make all of system PPB range be RAZWI/BusFaultPeter Maydell2020-12-101-1/+1
* load_elf: Remove unused address variables from callersBALATON Zoltan2020-09-261-3/+1Star
* qom: simplify object_find_property / object_class_find_propertyDaniel P. Berrangé2020-09-221-5/+5
* error: Eliminate error_propagate() with Coccinelle, part 1Markus Armbruster2020-07-101-16/+8Star
* qom: Use returned bool to check for failure, Coccinelle partMarkus Armbruster2020-07-101-12/+8Star
* qom: Put name parameter before value / visitor parameterMarkus Armbruster2020-07-101-13/+11Star
* qdev: Use returned bool to check for qdev_realize() etc. failureMarkus Armbruster2020-07-101-6/+3Star
* hw/arm: Drop useless object_property_set_link() error handlingMarkus Armbruster2020-07-021-5/+2Star
* qdev: Convert bus-less devices to qdev_realize() with CoccinelleMarkus Armbruster2020-06-151-1/+1
* sysbus: Convert qdev_set_parent_bus() use with Coccinelle, part 3Markus Armbruster2020-06-151-3/+3
* sysbus: Convert qdev_set_parent_bus() use with Coccinelle, part 2Markus Armbruster2020-06-151-2/+2
* armv7m: Delete unused "ARM,bitband-memory" devicesMarkus Armbruster2020-06-151-2/+4
* qom: Drop parameter @errp of object_property_add() & friendsMarkus Armbruster2020-05-151-1/+1
* hw/core/loader: Let load_elf() populate a field with CPU-specific flagsAleksandar Markovic2020-01-291-1/+1
* qdev: set properties with device_class_set_props()Marc-André Lureau2020-01-241-2/+2
* Include hw/qdev-properties.h lessMarkus Armbruster2019-08-161-0/+1
* Include sysemu/reset.h a lot lessMarkus Armbruster2019-08-161-0/+1
* hw/arm/armv7m: Forward "vfp" and "dsp" properties to CPUPeter Maydell2019-06-171-0/+18
* Include qemu/module.h where needed, drop it from qemu-common.hMarkus Armbruster2019-06-121-1/+1
* arm: Rename hw/arm/arm.h to hw/arm/boot.hPeter Maydell2019-05-231-1/+1
* elf: Add optional function ptr to load_elf() to parse ELF notesLiam Merwick2019-02-051-1/+2
* armv7m: Pass through start-powered-off CPU propertyPeter Maydell2019-02-011-0/+10
* armv7m: Make cpu object a child of the armv7m containerPeter Maydell2019-02-011-1/+6
* armv7m: Don't assume the NVIC's CPU is CPU 0Peter Maydell2019-02-011-2/+4
* Revert "armv7m: Guard against no -kernel argument"Stefan Hajnoczi2019-01-071-5/+0Star
* nvic: Expose NMI linePeter Maydell2018-08-201-0/+1
* hw/arm: make bitbanded IO optional on ARMv7-MStefan Hajnoczi2018-08-161-18/+21
* hw/arm/armv7: Fix crash when introspecting the "iotkit" deviceThomas Huth2018-07-171-4/+3Star
* arm: Don't crash if user tries to use a Cortex-M CPU without an NVICPeter Maydell2018-06-151-1/+6
* hw/arm/armv7m: Remove unused armv7m_init() functionPeter Maydell2018-06-151-21/+0Star
* armv7m: Forward init-svtor property to CPU objectPeter Maydell2018-03-021-0/+9
* armv7m: Forward idau property to CPU objectPeter Maydell2018-03-021-0/+9
* hw/arm/armv7m: Honour CPU's address space for image loadsPeter Maydell2018-03-021-3/+14
* hw/arm: Replace fprintf(stderr, "*\n" with error_report()Alistair Francis2018-02-061-1/+1
* memory: Get rid of address_space_init_shareableAlexey Kardashevskiy2017-09-221-5/+4Star
* arm: drop intermediate cpu_model -> cpu type parsing and use cpu type directlyIgor Mammedov2017-09-191-35/+5Star
* armv7m: Convert armv7m.memory to DEFINE_PROP_LINKFam Zheng2017-09-071-6/+2Star
* armv7m: Convert bitband.source-memory to DEFINE_PROP_LINKFam Zheng2017-09-071-6/+2Star
quot;, $2); tctl = $2; } } END { if (pc > 0) print (p / pc); else if (cc > 0) print (c / cc); else if (tctl > 0) print (tctl); }' )" fi fi # Bail out if we already sent the shutdown event to server, # or if we're entering/leaving standby, # or if the cron-job hasn't been set up yet. # Do this right before the curl call to minimize odds for a race condition if [ -e "/etc/cron.d/usage_stats" ] \ && ! [ -e "/run/openslx/suspend.mutex" ] \ && ! [ -e "/run/openslx/shutdown.mutex" ]; then curl --retry 3 --retry-connrefused --connect-timeout 3 --max-time 15 --retry-max-time 20 -sS \ --data-urlencode "type=~runstate" --data-urlencode "uuid=$UUID" \ --data-urlencode "used=$USED" \ --data-urlencode "user=$Name" --data-urlencode "tmpsize=$TMP_SIZE" --data-urlencode "tmpfree=$TMP_FREE" \ --data-urlencode "id45size=$ID45_SIZE" --data-urlencode "id45free=$ID45_FREE" \ --data-urlencode "swapsize=$SWAP_SIZE" --data-urlencode "swapfree=$SWAP_FREE" \ --data-urlencode "memsize=$MEM_SIZE" --data-urlencode "memfree=$MEM_FREE" \ "$@" \ "$SLX_REMOTE_LOG" | grep -v 'RESULT=0' fi # Warn user if tmp or swap usage is high; system might crash soon # ..but not if flag to shut up is present [ -e "/run/openslx/no-ram-warning" ] && exit 0 WARN= memfreep=$(( MEM_FREE / (MEM_SIZE / 100) )) swapratio=$(( (SWAP_SIZE - SWAP_FREE) * 100 / MEM_FREE )) if (( SWAP_SIZE > 0 && SWAP_FREE < 500000 && (memfreep < 10 || swapratio > 100) )) || # less than 500MB swap free and (memfree < 10% or more swap usage than free memory) (( SWAP_SIZE == 0 && MEM_FREE < 1200000 )); then # no swap and less than 1.2GB available WARN="$WARN Der Arbeitsspeicher des Computers ist fast voll. The computer is running out of RAM." fi if [ -n "$TMP_FREE" ] && [ "$TMP_FREE" -lt 500000 ]; then WARN="$WARN Es verbleibt wenig temporärer Speicher für die Arbeitsdaten der laufenden VM. Little temporary storage is left for the current VM." fi if [ -n "$WARN" ]; then WARN="$WARN Bitte sichern Sie Ihre Arbeit und starten Sie den PC neu. Please save your work and reboot this machine. Sie können einen bwLehrpool-Admin bitten, eine größere ID-44-Partition einzurichten. You could ask a bwLehrpool administrator to create a larger ID-44 partition." idle-daemon --send "warn $WARN" fi exit 0