Deleted Added
full compact
btxv86.h (39441) btxv86.h (39895)
1/*
2 * Copyright (c) 1998 Robert Nordier
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms are freely
6 * permitted provided that the above copyright notice and this
7 * paragraph and the following disclaimer are duplicated in all
8 * such forms.
9 *
10 * This software is provided "AS IS" and without any express or
11 * implied warranties, including, without limitation, the implied
12 * warranties of merchantability and fitness for a particular
13 * purpose.
14 */
15
16/*
1/*
2 * Copyright (c) 1998 Robert Nordier
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms are freely
6 * permitted provided that the above copyright notice and this
7 * paragraph and the following disclaimer are duplicated in all
8 * such forms.
9 *
10 * This software is provided "AS IS" and without any express or
11 * implied warranties, including, without limitation, the implied
12 * warranties of merchantability and fitness for a particular
13 * purpose.
14 */
15
16/*
17 * $Id: btxv86.h,v 1.1 1998/09/14 10:37:00 rnordier Exp $
17 * $Id: btxv86.h,v 1.2 1998/09/17 23:52:05 msmith Exp $
18 */
19
20#ifndef _BTXV86_H_
21#define _BTXV86_H_
22
23#include <sys/types.h>
24
25#define V86_ADDR 0x10000 /* Segment:offset address */

--- 26 unchanged lines hidden (view full) ---

52extern u_int32_t __base;
53extern u_int32_t __args;
54
55#define PTOV(pa) (caddr_t)((pa) - __base)
56#define VTOP(va) (vm_offset_t)((va) + __base)
57#define VTOPSEG(va) (u_int16_t)(VTOP(va) >> 4)
58#define VTOPOFF(va) (u_int16_t)(VTOP(va) & 0xf)
59
18 */
19
20#ifndef _BTXV86_H_
21#define _BTXV86_H_
22
23#include <sys/types.h>
24
25#define V86_ADDR 0x10000 /* Segment:offset address */

--- 26 unchanged lines hidden (view full) ---

52extern u_int32_t __base;
53extern u_int32_t __args;
54
55#define PTOV(pa) (caddr_t)((pa) - __base)
56#define VTOP(va) (vm_offset_t)((va) + __base)
57#define VTOPSEG(va) (u_int16_t)(VTOP(va) >> 4)
58#define VTOPOFF(va) (u_int16_t)(VTOP(va) & 0xf)
59
60void __exit(int);
60void __exit(int) __attribute__((__noreturn__));
61void __exec(caddr_t, ...);
62
63#endif /* !_BTXV86_H_ */
61void __exec(caddr_t, ...);
62
63#endif /* !_BTXV86_H_ */