[PATCH 0/5] [GSoC - x86_64] Add interrupts and clock driver

2018-08-13 Thread Amaan Cheval
This patch series includes all of my remaining work so far on the x86_64 BSP. It supports: * Static paging support using 1GiB superpages * RTEMS interrupts * A fairly accurate clock driver based on the APIC timer calibrated by the PIT ticker.exe passes reliably on -O0 optimization level, and it s

[PATCH 1/5] bsps/x86_64: Reorganize header files and compile-options

2018-08-13 Thread Amaan Cheval
Updates #2898. --- bsps/x86_64/amd64/config/amd64.cfg| 3 ++ cpukit/score/cpu/x86_64/headers.am| 1 + cpukit/score/cpu/x86_64/include/rtems/asm.h | 10 .../cpu/x86_64/include/rtems/score/cpu.h | 5 +- .../cpu/x86_64/include/rtems/score/cpu_asm.h | 50 +++

[PATCH 2/5] bsps/x86_64: Reduce default RamSize to 1GiB

2018-08-13 Thread Amaan Cheval
Simulators may not always be able to allocate 4GiB easily, and using an artificially lower RAM may cause a broken heap. Updates #2898. --- bsps/x86_64/amd64/start/linkcmds | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsps/x86_64/amd64/start/linkcmds b/bsps/x86_64/amd6

[PATCH 5/5] bsps/x86_64: Add APIC timer based clock driver

2018-08-13 Thread Amaan Cheval
The APIC timer is calibrated by running the i8254 PIT for a fraction of a second (determined by PIT_CALIBRATE_DIVIDER) and counting how many times the APIC counter has ticked. The calibration can be run multiple times (determined by APIC_TIMER_NUM_CALIBRATIONS) and averaged out. Updates #2898. ---

[PATCH 4/5] bsps/x86_64: Add support for RTEMS interrupts

2018-08-13 Thread Amaan Cheval
Updates #2898. --- bsps/x86_64/amd64/interrupts/idt.c| 151 ++ bsps/x86_64/amd64/interrupts/isr_handler.S| 191 ++ bsps/x86_64/amd64/start/bspstart.c| 2 + bsps/x86_64/headers.am| 4 + bsps/x86_64/include/bsp/irq.h

[PATCH 3/5] bsps/x86_64: Add paging support with 1GiB super pages

2018-08-13 Thread Amaan Cheval
Updates #2898. --- bsps/x86_64/amd64/start/bspstart.c| 2 + bsps/x86_64/amd64/start/page.c| 172 ++ bsps/x86_64/headers.am| 5 + bsps/x86_64/include/libcpu/page.h | 68 +++ c/src/lib/libbsp/x86_64/amd64/Makefi

Re: [PATCH 0/5] [GSoC - x86_64] Add interrupts and clock driver

2018-08-13 Thread Joel Sherrill
Unless someone sees a reason to delay merging this, I plan to merge it today. It is new and should have no impact on anything else. Patches to improve style, etc. can be followups. --joel On Mon, Aug 13, 2018 at 6:27 AM, Amaan Cheval wrote: > This patch series includes all of my remaining work

[GSoC - x86_64] Final report

2018-08-13 Thread Amaan Cheval
Hi! I've written my final report up here: https://blog.whatthedude.com/post/gsoc-final/ Let me know if you have any comments! It's been really fun working with all of you, and I look forward to more! Cheers! ___ devel mailing list devel@rtems.org http:

Disable libnetwork on Epiphany?

2018-08-13 Thread Joel Sherrill
Hi When you build with --enable-network on epiphany, it fails. Is it even reasonable to think it should build or be deployable? If not, I would like to force it disabled. Thoughts? --joel ___ devel mailing list devel@rtems.org http://lists.rtems.org/m

Disable old network stack for x86_64

2018-08-13 Thread Joel Sherrill
Hi This is a new port and I don't see any reason to even pretend that the old stack is an option. How do you all feel about forcing libnetworking to disabled on this port? --joel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/lis