x86: add system call functions for 64-bit

Nothing too fancy here, we try as much as possible to
use the same register layout as the C calling convention.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-11-19 18:08:21 -08:00 committed by Anas Nashif
commit c71e66e2a5
3 changed files with 192 additions and 2 deletions

View file

@ -5,7 +5,7 @@
*/
#include <generated_dts_board.h>
#include <arch/cpu.h>
#include <kernel.h>
#include <sys/util.h>
/* Super-primitive 8250/16550 serial output-only driver, 115200 8n1 */