Travis Geiselbrecht
5d43aa25eb
[arch][rules] create ARCH_LDFLAGS and clean up all the arch rules files to consistently use ARCH_* vars
2018-11-30 22:00:45 -08:00
Travis Geiselbrecht
ee672a5471
[arch][x86] flatten x86-64 and x86 into a single tree of code
...
Major refactor of x86 code into a single arch.
Also bump both 32 and 64 bit to running the kernel at a 'high' address.
2016-02-29 12:42:45 -08:00
Zhu, Bing
b6647f5bef
[arch][x86][fpu]Change naming convention for FPU flag
...
To align with lk/arm flag naming convention, FPU flag
ENABLE_FPU is changed to X86_WITH_FPU
Signed-off-by: Zhu, Bing <bing.zhu@intel.com >
2015-11-09 22:14:11 +08:00
Travis Geiselbrecht
2c52edce0b
[app][tests] set ENABLE_FPU in arch/x86 targets, enable floating point tests
2015-10-27 13:19:07 -07:00
yu-cheng yu
0400a04945
[arch][x86] This is floating point support for intel x86 and x86-64.
...
Change-Id: Id0b0e2b69c1d27832eb656935e944c04681b324a
2015-10-27 13:04:45 -07:00
Travis Geiselbrecht
3b2d7a268b
[make] remove the need for a module to manually add $(LOCAL_DIR)/include to the global include path
...
Pretty much every module in the system was already doing it, so do it
automatically.
2015-10-19 19:07:16 -07:00
Travis Geiselbrecht
713e138de9
[arch][x86] clean up the way memory size is detected and the vm initialized
...
Also fix a few warnings in arch/x86
2015-10-11 14:09:55 -07:00
Shreyas Nagaraj
57a08b7f65
[arch] [x86] - changes to MMU for x86, x86-64 and x86-PAE
...
fixing bugs in page table mgmt and overall MMU code clean-up
Signed-off by: Shreyas Nagaraj <shreyas.nagaraj@intel.com >
2015-07-01 00:36:12 -04:00
Sergio Rodriguez
7a36b2d59d
rebasing x86 paging support to master
2015-06-11 13:54:00 -07:00
Sergio Rodriguez
8b78376b6b
adding paging support for x86
2015-06-11 12:05:12 -07:00
Travis Geiselbrecht
45d56cc2e1
[arch][x86] get x86 building and working again after SMP changes
...
-Add UP spinlock routines and irq save/restore
-fix platform/pc drivers to use spinlocks instead of critical_section
2015-03-10 16:43:55 -07:00
Travis Geiselbrecht
5ec27b2b01
[arch][x86] change the logic for figuring out the default TOOLCHAIN_PREFIX
...
Recent changes to makefile caused TOOLCHAIN_PREFIX to always be set to
something, so change the behavior here to match what arm does.
2014-08-10 20:04:38 -07:00
Travis Geiselbrecht
f21ad5d749
[make] miscellaneous make system tweaks
...
-Have arch set the default optimization level. Most will use
O2, but arm-m sets to Os.
-Make the link time garbage collection be optional. Only set
for arm-m.
2014-03-22 21:03:03 -07:00
Travis Geiselbrecht
28bc7f4b6d
[arch] factor some common parts of linker scripts into a separate file
...
INCLUDE the parts of the linker script that are specific to lk into
each of the arch's scripts.
2013-06-20 21:03:56 -07:00
Travis Geiselbrecht
e002c58b59
[make] rename INCLUDES -> GLOBAL_INCLUDES
...
To be more consistent, rename make variable INCLUDES to GLOBAL_INCLUDES.
Also remove the need to put -I in front of each field, the make system
will do that for you.
To fix your module makefiles:
-Change INCLUDES -> GLOBAL_INCLUDES
-Remove -I prefix
2013-06-07 22:26:06 -07:00
Corey Tabaka
0c7109b838
[arch][x86] Fix arch to use new module conventions.
2012-10-05 23:51:28 -07:00
Travis Geiselbrecht
97cfd0bfa4
[make] update all of the rules.mk to use the new module system
2012-08-31 15:52:24 -07:00
Travis Geiselbrecht
4b7fd32e65
[make] remove the BOOTOBJS variable, ordering is handled via a special linker section
2012-01-24 15:42:44 -08:00
Corey Tabaka
6a5b7a0420
Added check for compiler support of -fno-stack-protector and changed toolchain prefix to i386-elf- for x86 port.
2009-04-24 11:14:38 -07:00
Corey Tabaka
d4427fa54c
Initial x86 port
2009-04-24 11:14:38 -07:00