mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-17 10:19:48 +00:00
seoul: add intel82576vf for 64bit
This commit is contained in:
parent
0654877392
commit
4474e9d6d6
@ -80,9 +80,8 @@ MODEL_INFO(vga, "io_base", "fb_size")
|
|||||||
MODEL_INFO(pmtimer, "io_port")
|
MODEL_INFO(pmtimer, "io_port")
|
||||||
|
|
||||||
MODEL_INFO(pcihostbridge, "bus_num", "bus_count", "io_base", "mem_base")
|
MODEL_INFO(pcihostbridge, "bus_num", "bus_count", "io_base", "mem_base")
|
||||||
#ifndef __x86_64__
|
|
||||||
MODEL_INFO(intel82576vf, "promisc", "mem_mmio", "mem_msix", "txpoll_us", "rx_map")
|
MODEL_INFO(intel82576vf, "promisc", "mem_mmio", "mem_msix", "txpoll_us", "rx_map")
|
||||||
#endif
|
|
||||||
MODEL_INFO(ahci, "mem", "irq", "bdf")
|
MODEL_INFO(ahci, "mem", "irq", "bdf")
|
||||||
MODEL_INFO(drive, "sigma0drive", "controller", "port")
|
MODEL_INFO(drive, "sigma0drive", "controller", "port")
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ void *operator new[](size_t size)
|
|||||||
|
|
||||||
void *operator new[](size_t size, Aligned const alignment)
|
void *operator new[](size_t size, Aligned const alignment)
|
||||||
{
|
{
|
||||||
unsigned int align = alignment.alignment;
|
size_t align = alignment.alignment;
|
||||||
void *res = heap_alloc(size + align);
|
void *res = heap_alloc(size + align);
|
||||||
if (res)
|
if (res)
|
||||||
Genode::memset(res, 0, size + align);
|
Genode::memset(res, 0, size + align);
|
||||||
|
@ -21,7 +21,6 @@ EXECUTOR_SRC_CC += $(notdir $(wildcard $(VANCOUVER_DIR)/executor/*.cc))
|
|||||||
SERVICE_SRC_CC += sink.cc
|
SERVICE_SRC_CC += sink.cc
|
||||||
|
|
||||||
ifneq ($(filter x86_64, $(SPECS)),)
|
ifneq ($(filter x86_64, $(SPECS)),)
|
||||||
FILTER_OUT += model/intel82576vf.cc
|
|
||||||
CC_CXX_OPT += -mcmodel=large
|
CC_CXX_OPT += -mcmodel=large
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -38,6 +37,8 @@ INC_DIR += $(NOVA_INCLUDE_DIR)
|
|||||||
|
|
||||||
CC_WARN += -Wno-parentheses
|
CC_WARN += -Wno-parentheses
|
||||||
CC_CXX_OPT += -std=gnu++11
|
CC_CXX_OPT += -std=gnu++11
|
||||||
|
CC_CXX_OPT += -march=core2
|
||||||
|
CC_CXX_OPT += -mssse3
|
||||||
|
|
||||||
vpath %.cc $(VANCOUVER_DIR)
|
vpath %.cc $(VANCOUVER_DIR)
|
||||||
vpath %.cc $(CONTRIB_DIR)
|
vpath %.cc $(CONTRIB_DIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user