equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
270 virtual address handler_table_begin() const = 0; |
270 virtual address handler_table_begin() const = 0; |
271 virtual address handler_table_end() const = 0; |
271 virtual address handler_table_end() const = 0; |
272 bool handler_table_contains(address addr) const { return handler_table_begin() <= addr && addr < handler_table_end(); } |
272 bool handler_table_contains(address addr) const { return handler_table_begin() <= addr && addr < handler_table_end(); } |
273 int handler_table_size() const { return handler_table_end() - handler_table_begin(); } |
273 int handler_table_size() const { return handler_table_end() - handler_table_begin(); } |
274 |
274 |
|
275 virtual address exception_begin() const = 0; |
|
276 |
275 virtual address nul_chk_table_begin() const = 0; |
277 virtual address nul_chk_table_begin() const = 0; |
276 virtual address nul_chk_table_end() const = 0; |
278 virtual address nul_chk_table_end() const = 0; |
277 bool nul_chk_table_contains(address addr) const { return nul_chk_table_begin() <= addr && addr < nul_chk_table_end(); } |
279 bool nul_chk_table_contains(address addr) const { return nul_chk_table_begin() <= addr && addr < nul_chk_table_end(); } |
278 int nul_chk_table_size() const { return nul_chk_table_end() - nul_chk_table_begin(); } |
280 int nul_chk_table_size() const { return nul_chk_table_end() - nul_chk_table_begin(); } |
279 |
281 |