Expose saved_vbr directly.

This commit is contained in:
thorpej 2024-01-13 20:10:36 +00:00
parent 334205b3b6
commit 91b192d65c
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vectors.h,v 1.2 2024/01/13 18:42:11 thorpej Exp $ */
/* $NetBSD: vectors.h,v 1.3 2024/01/13 20:10:36 thorpej Exp $ */
/*-
* Copyright (c) 2024 The NetBSD Foundation, Inc.
@ -125,6 +125,7 @@
#ifdef _KERNEL
extern void *vectab[NVECTORS];
extern void **saved_vbr;
void vec_init(void);
void vec_reset(void);

View File

@ -1,4 +1,4 @@
/* $NetBSD: vectors.c,v 1.2 2024/01/13 18:42:11 thorpej Exp $ */
/* $NetBSD: vectors.c,v 1.3 2024/01/13 20:10:36 thorpej Exp $ */
/*-
* Copyright (c) 2024 The NetBSD Foundation, Inc.
@ -516,7 +516,7 @@ void *vectab[NVECTORS] = {
[VECI_USRVEC_START+191] = badtrap,
};
static void **saved_vbr;
void **saved_vbr;
/*
* vec_init --