Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
osv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Verlässliche Systemsoftware
projects
osv
Commits
e1aea0b7
Commit
e1aea0b7
authored
12 years ago
by
Christoph Hellwig
Browse files
Options
Downloads
Patches
Plain Diff
remove duplicate typedefs for u* types
parent
0d0a82b1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch/x64/exceptions.hh
+1
-6
1 addition, 6 deletions
arch/x64/exceptions.hh
elf.hh
+1
-7
1 addition, 7 deletions
elf.hh
mmu.hh
+1
-2
1 addition, 2 deletions
mmu.hh
with
3 additions
and
15 deletions
arch/x64/exceptions.hh
+
1
−
6
View file @
e1aea0b7
...
@@ -3,10 +3,9 @@
...
@@ -3,10 +3,9 @@
#include
<stdint.h>
#include
<stdint.h>
#include
<functional>
#include
<functional>
#include
<types.hh>
struct
exception_frame
{
struct
exception_frame
{
typedef
unsigned
long
ulong
;
typedef
unsigned
short
u16
;
ulong
r15
;
ulong
r15
;
ulong
r14
;
ulong
r14
;
ulong
r13
;
ulong
r13
;
...
@@ -38,10 +37,6 @@ public:
...
@@ -38,10 +37,6 @@ public:
void
unregister_handler
(
unsigned
vector
);
void
unregister_handler
(
unsigned
vector
);
void
invoke_interrupt
(
unsigned
vector
);
void
invoke_interrupt
(
unsigned
vector
);
private:
private:
typedef
uint8_t
u8
;
typedef
uint16_t
u16
;
typedef
uint32_t
u32
;
typedef
uint64_t
u64
;
enum
{
enum
{
type_intr_gate
=
14
,
type_intr_gate
=
14
,
};
};
...
...
This diff is collapsed.
Click to expand it.
elf.hh
+
1
−
7
View file @
e1aea0b7
...
@@ -5,15 +5,9 @@
...
@@ -5,15 +5,9 @@
#include
<vector>
#include
<vector>
#include
<map>
#include
<map>
#include
<memory>
#include
<memory>
#include
<types.hh>
namespace
elf
{
namespace
elf
{
typedef
unsigned
long
u64
;
typedef
unsigned
int
u32
;
typedef
unsigned
short
u16
;
typedef
unsigned
char
u8
;
typedef
unsigned
long
ulong
;
typedef
u64
Elf64_Addr
;
typedef
u64
Elf64_Addr
;
typedef
u64
Elf64_Off
;
typedef
u64
Elf64_Off
;
typedef
u16
Elf64_Half
;
typedef
u16
Elf64_Half
;
...
...
This diff is collapsed.
Click to expand it.
mmu.hh
+
1
−
2
View file @
e1aea0b7
...
@@ -4,10 +4,9 @@
...
@@ -4,10 +4,9 @@
#include
"fs/fs.hh"
#include
"fs/fs.hh"
#include
<stdint.h>
#include
<stdint.h>
#include
<boost/intrusive/set.hpp>
#include
<boost/intrusive/set.hpp>
#include
<types.hh>
namespace
mmu
{
namespace
mmu
{
typedef
unsigned
long
ulong
;
typedef
uint64_t
f_offset
;
typedef
uint64_t
f_offset
;
enum
{
enum
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment