Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80902
b: refs/heads/master
c: badb1e0
h: refs/heads/master
v: v3
  • Loading branch information
Glauber de Oliveira Costa authored and Rusty Russell committed Jan 30, 2008
1 parent 1182eeb commit 43ff520
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec04b13f67be3c90b38c625f4b8bdfea54c1ff60
refs/heads/master: badb1e04028e3e029ff9447d4aeb162a84ad68c2
10 changes: 10 additions & 0 deletions trunk/drivers/lguest/lg.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ struct lguest_pages
#define CHANGED_GDT_TLS 4 /* Actually a subset of CHANGED_GDT */
#define CHANGED_ALL 3

struct lguest;

struct lg_cpu {
unsigned int id;
struct lguest *lg;
};

/* The private info the thread maintains about the guest. */
struct lguest
{
Expand All @@ -47,6 +54,9 @@ struct lguest
struct lguest_data __user *lguest_data;
struct task_struct *tsk;
struct mm_struct *mm; /* == tsk->mm, but that becomes NULL on exit */
struct lg_cpu cpus[NR_CPUS];
unsigned int nr_cpus;

u32 pfn_limit;
/* This provides the offset to the base of guest-physical
* memory in the Launcher. */
Expand Down

0 comments on commit 43ff520

Please sign in to comment.