coreboot-kgpe-d16/src
Ronald G. Minnich 5965cba3dc RISCV: Clean up the common architectural code
This version of coreboot successfully starts a Harvey (Plan 9) kernel as a payload,
entering main() with no supporting assembly code for startup. The Harvey port
is not complete so it just panics but ... it gets started.

We provide a standard payload function that takes a pointer argument
and makes the jump from machine to supervisor mode;
the days of kernels running in machine mode are over.

We do some small tweaks to the virtual memory code. We temporarily
disable two functions that won't work on some targets as register
numbers changed between 1.7 and 1.9. Once lowrisc catches up
we'll reenable them.

We add the PAGETABLES to the memlayout.ld and use _pagetables in the virtual
memory setup code.

We now use the _stack and _estack from memlayout so we know where things are.
As time goes on maybe we can kill all the magic numbers.

Change-Id: I6caadfa9627fa35e31580492be01d4af908d31d9
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: https://review.coreboot.org/17058
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
2016-10-24 20:25:04 +02:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch RISCV: Clean up the common architectural code 2016-10-24 20:25:04 +02:00
commonlib commonlib: move DIV_ROUND macros from nvidia/tegra 2016-09-07 20:52:42 +02:00
console Revert "[WIP] console/Kconfig: Calculate COM port base addresses only on x86" 2016-10-18 18:41:16 +02:00
cpu src/cpu: Fix location for cpu_microcode_blob.bin in COREBOOT CBFS only 2016-10-11 23:36:18 +02:00
device Kconfig: Update default hex values to start with 0x 2016-10-02 19:08:15 +02:00
drivers drivers/i2c/generic: Return correct name for acpi_name 2016-10-24 17:43:35 +02:00
ec ec/lenovo/h8: fix whitespaces/tabs 2016-10-17 22:17:37 +02:00
include RISCV: Clean up the common architectural code 2016-10-24 20:25:04 +02:00
lib soc/intel/apollolake: Implement stage cache to improve resume time 2016-10-07 18:18:14 +02:00
mainboard RISCV: Clean up the common architectural code 2016-10-24 20:25:04 +02:00
northbridge nb/i945/gma.c: use IS_ENABLED instead of #if, #endif 2016-10-19 17:34:49 +02:00
soc marvell/mvmap2315: Compose BOOTBLOCK region 2016-10-21 19:42:23 +02:00
southbridge southbridge/nvidia: Remove commented code 2016-10-11 23:33:23 +02:00
superio winbond/w83627ehg: Remove unnecessary value 2016-10-19 17:31:39 +02:00
vboot vboot: Stop creating backup space in TPM 2016-10-13 18:22:03 +02:00
vendorcode vendorcode/intel/fsp: Update UPD headers for FSP 157_10 2016-10-07 19:13:53 +02:00
Kconfig Kconfig: Update default hex values to start with 0x 2016-10-02 19:08:15 +02:00