[PATCH 0/2] [GSoC - x86_64] Minimal BSP patch

2018-07-09 Thread Amaan Cheval
This patchset is also available on Github as a pull-request for anyone who would rather review it there (personally that's what I'd prefer): https://github.com/AmaanC/rtems-gsoc18/pull/2 For posterity, my concerns (also listed in the PR description) are: - The use of '-mcmodel=large' in 'amd64

[PATCH 2/2] x86_64/console: Add NS16550 polled console driver

2018-07-09 Thread Amaan Cheval
This addition allows us to successfully run the sample hello.exe test. Updates #2898. --- bsps/x86_64/amd64/console/console.c| 123 + c/src/lib/libbsp/x86_64/amd64/Makefile.am | 2 + .../score/cpu/x86_64/include/rtems/score/cpuimpl.h | 14 +++ .../s

[PATCH 1/2] bsp/x86_64: Minimal bootable BSP

2018-07-09 Thread Amaan Cheval
Current state: - Basic context initialization and switching code. - Stubbed console (empty functions). - Mostly functional linker script (may need tweaks if we ever want to move away from the large code model (see: CPU_CFLAGS). - Fully functional boot, by using FreeBSD's bootloader to