[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Mach branch, master, updated. v1.8-210-ga76bc93
From: |
Samuel Thibault |
Subject: |
[SCM] GNU Mach branch, master, updated. v1.8-210-ga76bc93 |
Date: |
Sat, 19 Sep 2020 15:56:57 -0400 (EDT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".
The branch, master has been updated
via a76bc939142f61e615fcc39fc940961e39a26207 (commit)
via b26973c8018b99bcf8fb071eb2aedc634039eea1 (commit)
via 8c412290d2b3137bb88d4d259058b8761c2e5392 (commit)
via 8bfb2df9ed2bcbf84e5b21f3a637e0deef4237be (commit)
via f6efefb9241d46be7af3985408bc1b7246f6eef1 (commit)
from c049c786c6642702840787eee06296985bab6b91 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a76bc939142f61e615fcc39fc940961e39a26207
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sat Sep 19 21:51:22 2020 +0200
smp: Add --enable-ncpus option and fix build
* configfrag.ac (--enable-ncpus): Add option to set $mach_ncpus.
* i386/i386/cpu_number.h (CPU_NUMBER, cpu_number): New macros, set to 0 for
now.
* i386/i386/db_interface.c (cpu_interrupt_to_db): New function.
* i386/i386/db_interface.h (cpu_interrupt_to_db): New declaration.
* i386/i386/mp_desc.c (int_stack_base): New array.
(intel_startCPU): New function.
* i386/i386at/model_dep.c: Include <i386/smp.h>
(int_stack_top, int_stack_base): Turn into arrays
(i386at_init): Update accesses accordingly.
* i386/i386at/model_dep.h (int_stack_top, int_stack_base, ON_INT_STACK):
Likewise.
* i386/intel/pmap.c (cpus_active, cpus_idle, cpu_update_needed): Add
variables.
* i386/intel/pmap.h (cpus_active, cpus_idle, cpu_update_needed): Mark
extern.
* kern/cpu_number.h: Include <machine/cpu_number.h>
* linux/dev/arch/i386/kernel/irq.c (local_bh_count, local_irq_count):
Hardcode to the address of intr_count. We will not use the Linux code in
SMP mode anyway.
commit b26973c8018b99bcf8fb071eb2aedc634039eea1
Author: Almudena Garcia <liberamenso10000@gmail.com>
Date: Thu Aug 13 15:30:35 2020 +0200
model_dep.c: Add smp_init call
if NCPUS > 1, call to smp_init to start the search and enumeration of the
cpus
*i386/i386/model_dep.c (machine_init): add smp_init() call
commit 8c412290d2b3137bb88d4d259058b8761c2e5392
Author: Almudena Garcia <liberamenso10000@gmail.com>
Date: Thu Aug 13 15:23:13 2020 +0200
smp: Add generic smp pseudoclass
This pseudoclass generalize the initialization and access of SMP data,
allowing expands it to other architectures. In x86, the functions calls to
apic functions.
*kern/smp.c: Source file. Implements a interface to load the SMP functions
for the current architecture.
*kern/smp.h: Header file. Add declaration for smp_data structure.
*i386/i386/smp.c: Source file. Implements a set of functions to manage the
SMP actions in i386
*i386/i386/smp.h: Header file. Add declarations for SMP functions in i386.
commit 8bfb2df9ed2bcbf84e5b21f3a637e0deef4237be
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sat Sep 19 21:16:55 2020 +0200
acpi parser: Fix build warnings
commit f6efefb9241d46be7af3985408bc1b7246f6eef1
Author: Almudena Garcia <liberamenso10000@gmail.com>
Date: Thu Aug 13 15:11:33 2020 +0200
smp: Add APIC finder and parser
To find the processors, It's necessary to find the APIC (MADT) table
This table is found inside ACPI tables.
This set of functions find the MADT table, and parse it to find the APIC
structures
and register it in the kernel.
*acpi_parse_apic.h: ACPI structures and function prototypes.
*acpi_parse_apic.c: ACPI/APIC function definitions.
-----------------------------------------------------------------------
Summary of changes:
Makefrag.am | 2 +
configfrag.ac | 5 +-
i386/Makefrag.am | 4 +
i386/i386/cpu_number.h | 4 +
i386/i386/db_interface.c | 4 +
i386/i386/db_interface.h | 2 +
i386/i386/mp_desc.c | 5 +
i386/i386/smp.c | 53 ++++
i386/i386/smp.h | 21 ++
i386/i386at/acpi_parse_apic.c | 541 +++++++++++++++++++++++++++++++++++++++
i386/i386at/acpi_parse_apic.h | 163 ++++++++++++
i386/i386at/model_dep.c | 17 +-
i386/i386at/model_dep.h | 4 +-
i386/intel/pmap.c | 5 +
i386/intel/pmap.h | 6 +-
kern/cpu_number.h | 2 +
kern/smp.c | 49 ++++
kern/smp.h | 24 ++
linux/dev/arch/i386/kernel/irq.c | 3 +
19 files changed, 904 insertions(+), 10 deletions(-)
create mode 100644 i386/i386/smp.c
create mode 100644 i386/i386/smp.h
create mode 100644 i386/i386at/acpi_parse_apic.c
create mode 100644 i386/i386at/acpi_parse_apic.h
create mode 100644 kern/smp.c
create mode 100644 kern/smp.h
hooks/post-receive
--
GNU Mach
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Mach branch, master, updated. v1.8-210-ga76bc93,
Samuel Thibault <=