1/** 2 * \file hw.h 3 * \brief 4 */ 5 6/* 7 * Copyright (c) 2016, ETH Zurich. 8 * All rights reserved. 9 * 10 * This file is distributed under the terms in the attached LICENSE file. 11 * If you do not find this file, copies can be found by writing to: 12 * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group. 13 */ 14 15#ifndef INCLUDE_ARCH_X86_HW_RECORDS_ARCH_H_ 16#define INCLUDE_ARCH_X86_HW_RECORDS_ARCH_H_ 17 18#include <hw_records.h> 19 20#define HW_PROCESSOR_X86_FIELDS "{ " HW_PROCESSOR_GENERIC_FIELDS ", " \ 21 "processor_id: %d, " \ 22 "apic_id: %d }" 23 24#define HW_PROCESSOR_X86_RECORD_FORMAT "hw.processor.%d " HW_PROCESSOR_X86_FIELDS 25 26 27 28#define HW_PROCESSOR_X86_REGEX "r'hw\\.processor\\.[0-9]+' { " \ 29 "processor_id: _, " \ 30 "apic_id: _, " \ 31 "enabled: 1, " \ 32 "barrelfish_id: _, " \ 33 "type: _ }" 34 35 36 37#endif /* INCLUDE_ARCH_X86_HW_RECORDS_ARCH_H_ */ 38