Re: [PATCH v3 gnumach] ACPI: Support XSDT (ACPI >= v2.0)

2024-01-31 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le mer. 31 janv. 2024 02:12:26 +, a ecrit: > This enables gnumach to additionally parse the XSDT table > if the revision of ACPI is 2. > > TESTED: Still works on qemu (ACPI v1.0) > TESTED: Works on a x86 board with XSDT (ACPI v2.0) > --- > i386/i386at/acpi_par

Re: [PATCH gnumach] model_dep: Fix serial console with APIC enabled

2024-01-31 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le mer. 31 janv. 2024 10:02:15 +, a ecrit: > Move cninit() further down so that IOAPIC has a chance > to initialize before the com port interrupt is unmasked > in the IOAPIC, fixing a fault and reboot. > --- > i386/i386at/model_dep.c | 10 +- > 1 file c

Re: [PATCH gnumach] Add vm_pages_phys

2024-01-31 Thread Sergey Bugaev
On Wed, Jan 31, 2024 at 2:44 PM Samuel Thibault wrote: > > I see you used kmem_alloc_pageable() over kmem_alloc() that I > > suggested. Why is that? > > Because I have seen it used so in other places, > notably host_ipc_marequest_info, host_slab_info, > host_virtual_physical_table_info Yes, exact

Re: [PATCH gnumach] Add vm_pages_phys

2024-01-31 Thread Samuel Thibault
Sergey Bugaev, le mer. 31 janv. 2024 14:05:18 +0300, a ecrit: > On Tue, Jan 30, 2024 at 9:45 PM Samuel Thibault > wrote: > > > > +kern_return_t vm_pages_phys( > > > > + host_t host, > > > > + vm_map_tmap, > > > > + vm_address_t

Re: [PATCH gnumach] Add vm_pages_phys

2024-01-31 Thread Sergey Bugaev
On Tue, Jan 30, 2024 at 9:45 PM Samuel Thibault wrote: > > > +kern_return_t vm_pages_phys( > > > + host_t host, > > > + vm_map_tmap, > > > + vm_address_taddress, > > > + vm_size_t siz

[PATCH gnumach] model_dep: Fix serial console with APIC enabled

2024-01-31 Thread Damien Zammit
Move cninit() further down so that IOAPIC has a chance to initialize before the com port interrupt is unmasked in the IOAPIC, fixing a fault and reboot. --- i386/i386at/model_dep.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i386/i386at/model_dep.c b/i386/i386at/