Message ID | 20230319151017.531737-2-bugaevc@gmail.com |
---|---|
State | Committed, archived |
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1B434385084C for <patchwork@sourceware.org>; Sun, 19 Mar 2023 15:11:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B434385084C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679238684; bh=M8hSFKdBo/+nGNkBf/kSELCVlqKEZwymUBpT1y3S6Rg=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=pyp3g3xe+qjPIBvvFTK2Y889ysoyWhWGPua4nAx7IPy0jQRMFaYcAZ9hwIjwrfbA2 ZzONHoverP4zxRfdHqsJQb9fowvgOLX5BEWPe2Y9HW6ze08Cc9xv/VNAIdf7avn7GU GZR+0lBxgYCw/4hqtAcYXAmKUsuYZrclyJ8osngI= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by sourceware.org (Postfix) with ESMTPS id B49FB3858C53 for <libc-alpha@sourceware.org>; Sun, 19 Mar 2023 15:10:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B49FB3858C53 Received: by mail-lj1-x229.google.com with SMTP id e11so1053298lji.8 for <libc-alpha@sourceware.org>; Sun, 19 Mar 2023 08:10:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679238657; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M8hSFKdBo/+nGNkBf/kSELCVlqKEZwymUBpT1y3S6Rg=; b=olGVGbTMF1FwwdYkVaPPuFmV4A9ppStSVdMkGXv69UnWgcXrzsI0FHVEhz0dwQd97j YJh6J7R1+orxoqPSzio2fNo0yJpdGj9xm+MShE6VUDgcD9mu4pcRQQu5Jp2mlq1UV0mu PZ+uajWUC9MsGbbX6Z7smluegK/CD/ETErCgusJemwv0a2tRuJSVi3vVpc6omfpEhkKu oWohbPT0Y5iP7oBE+RsmxTWyD4d1fTvI+4XDAOlZNrD0CEwybOcLjlz6avPUT/gKr4QS aZReyRllXreCCBsO+9DuJVgkasUQH7MBbdgZdSJKLv84okuZkvdLCjXrMtO0sTjEsACI /ryQ== X-Gm-Message-State: AO0yUKU4lTRze1ZkeTDg2TM4rTL6KpkVEgnLjV3r0Mwhtn1+sRNMDQIo /O71DOvHpguPaqxoBvWgrHBjvD2nvO9IKg== X-Google-Smtp-Source: AK7set89VgEA2YF3NjCgZObKPqX7PG1MwWG2yXNfQoFp8niqtO3uTNOXhzYtWKnCwLE7Z3qePnmtPA== X-Received: by 2002:a05:651c:512:b0:293:4b9b:1f6a with SMTP id o18-20020a05651c051200b002934b9b1f6amr6551879ljp.7.1679238656801; Sun, 19 Mar 2023 08:10:56 -0700 (PDT) Received: from surface-pro-6.. ([2a00:1370:818c:4a57:577a:76f4:df43:5e66]) by smtp.gmail.com with ESMTPSA id m19-20020ac24253000000b004e90dee5469sm1274089lfl.157.2023.03.19.08.10.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Mar 2023 08:10:56 -0700 (PDT) To: libc-alpha@sourceware.org, bug-hurd@gnu.org Cc: Samuel Thibault <samuel.thibault@gnu.org>, Sergey Bugaev <bugaevc@gmail.com> Subject: [RFC PATCH gnumach 01/34] Add i386_fsgs_base_state Date: Sun, 19 Mar 2023 18:09:44 +0300 Message-Id: <20230319151017.531737-2-bugaevc@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230319151017.531737-1-bugaevc@gmail.com> References: <20230319151017.531737-1-bugaevc@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Sergey Bugaev via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Sergey Bugaev <bugaevc@gmail.com> Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
The rest of the x86_64-gnu port
|
|
Checks
Context | Check | Description |
---|---|---|
dj/TryBot-apply_patch | fail | Patch failed to apply to master at the time it was sent |
Commit Message
Sergey Bugaev
March 19, 2023, 3:09 p.m. UTC
--- i386/include/mach/i386/thread_status.h | 8 ++++++++ 1 file changed, 8 insertions(+)
Comments
Applied, thanks! Sergey Bugaev, le dim. 19 mars 2023 18:09:44 +0300, a ecrit: > --- > i386/include/mach/i386/thread_status.h | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/i386/include/mach/i386/thread_status.h b/i386/include/mach/i386/thread_status.h > index 3de22ff3..32e40686 100644 > --- a/i386/include/mach/i386/thread_status.h > +++ b/i386/include/mach/i386/thread_status.h > @@ -57,6 +57,7 @@ > #define i386_V86_ASSIST_STATE 4 > #define i386_REGS_SEGS_STATE 5 > #define i386_DEBUG_STATE 6 > +#define i386_FSGS_BASE_STATE 7 > > /* > * This structure is used for both > @@ -179,4 +180,11 @@ struct i386_debug_state { > #define i386_DEBUG_STATE_COUNT \ > (sizeof(struct i386_debug_state)/sizeof(unsigned int)) > > +struct i386_fsgs_base_state { > + unsigned long fs_base; > + unsigned long gs_base; > +}; > +#define i386_FSGS_BASE_STATE_COUNT \ > + (sizeof(struct i386_fsgs_base_state)/sizeof(unsigned int)) > + > #endif /* _MACH_I386_THREAD_STATUS_H_ */ > -- > 2.39.2 >
diff --git a/i386/include/mach/i386/thread_status.h b/i386/include/mach/i386/thread_status.h index 3de22ff3..32e40686 100644 --- a/i386/include/mach/i386/thread_status.h +++ b/i386/include/mach/i386/thread_status.h @@ -57,6 +57,7 @@ #define i386_V86_ASSIST_STATE 4 #define i386_REGS_SEGS_STATE 5 #define i386_DEBUG_STATE 6 +#define i386_FSGS_BASE_STATE 7 /* * This structure is used for both @@ -179,4 +180,11 @@ struct i386_debug_state { #define i386_DEBUG_STATE_COUNT \ (sizeof(struct i386_debug_state)/sizeof(unsigned int)) +struct i386_fsgs_base_state { + unsigned long fs_base; + unsigned long gs_base; +}; +#define i386_FSGS_BASE_STATE_COUNT \ + (sizeof(struct i386_fsgs_base_state)/sizeof(unsigned int)) + #endif /* _MACH_I386_THREAD_STATUS_H_ */